Call it
curl https://api.peume.com/v1/call/google-local-finder-results-for-a-keyword-live \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"keyword": "local nail services",
"location_code": 2840,
"language_code": "en",
"min_rating": 4.5,
"time_filter": "monday"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-local-finder-results-for-a-keyword-live", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"keyword": "local nail services",
"location_code": 2840,
"language_code": "en",
"min_rating": 4.5,
"time_filter": "monday"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-local-finder-results-for-a-keyword-live",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"keyword": "local nail services",
"location_code": 2840,
"language_code": "en",
"min_rating": 4.5,
"time_filter": "monday"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-local-finder-results-for-a-keyword-live.
Parameters
keywordstring<p><em>keyword</em><p><strong>required field</strong><p>you can specify <strong>up to 700 characters</strong> in the <code>keyword</code> field<p>all %## will be decoded (plus character ‘+’ will be decoded to a space character)<p>if you need to use the “%” character for your <code>keyword</code>, pl
Example: local nail services
location_codeintegersearch engine location code. Required field if you don't specify location_coordinate; 2840 = United States. Use location_code or location_coordinate; Live Local Finder rejects location_name with 40501 Invalid Field even though vendor docs list it.
Example: 2840
language_codestring<p><em>search engine language code</em><p><strong>required field if you don't specify</strong> <code>language_name</code><p><strong>if you use this field, you don't need to specify <code>language_name</code></strong><p>you can receive the list of available languages of the search engine with their <
Example: en
depthinteger<p><em>parsing depth</em><p>optional field<p>number of results in SERP<p>default value for <code>desktop</code>: <code>20</code><p>max value for <code>desktop</code>: <code>100</code></p><br><p>default value for <code>mobile</code>: <code>10</code><p>max value for <code>mobile</code>: <code>100</cod
devicestring<p><em>device type</em><p>optional field<p>return results for a specific device type<p>can take the values:<code>desktop</code>, <code>mobile</code><p>default value: <code>desktop</code></p>
language_namestring<p><em>full name of search engine language</em><p><strong>required field if you don't specify</strong> <code>language_code</code><p><strong>if you use this field, you don't need to specify <code>language_code</code></strong><p>you can receive the list of available languages of the search engine with
osstring<p><em>device operating system</em><p>optional field<p>if you specify <code>desktop</code> in the <code>device</code> field, choose from the following values: <code>windows</code>, <code>macos</code><p>default value: <code>windows</code><p>if you specify <code>mobile</code> in the <code>device</code
tagstring<p><em>user-defined task identifier</em><p>optional field<p><em>the character limit is 255</em><p>you can use this parameter to identify the task and match it with the result<p>you will find the specified <code>tag</code> value in the <code>data</code> object of the response</p>
priorityinteger<p><em>task priority</em><p>optional field<p>can take the following values:<p>1 – normal execution priority (set by default)<p>2 – high execution priority</p><br>You will be additionally charged for the tasks with high execution priority.<p>The cost can be calculated on the <a title="Pricing" href="
location_coordinatestringGPS coordinates of a location. Required field if you don't specify location_code. Use location_code or location_coordinate; Live Local Finder rejects location_name with 40501 Invalid Field even though vendor docs list it.
min_ratingnumber<p><em>filter results by minimum rating</em><p>optional field<p>possible values for <code>desktop</code>: <code>3.5</code>, <code>4</code>, <code>4.5</code>;<p>possible values for <code>mobile</code>: <code>2</code>, <code>2.5</code>, <code>3</code>, <code>3.5</code>, <code>4</code>, <code>4.5</code
Example: 4.5
time_filterstring<p><em>filter results by open hours</em><p>optional field<p>using this field, you can filter places in the results by the time a place is open for visitors<p>note that Google may also provide results that do not match this filter<p>possible values: <code>"open_now"</code>, <code>"24_hours"</code>, <
Example: monday
Other ways to do it
Same job, other sources, cheapest first.
