Call it
curl https://api.peume.com/v1/call/google-find-service-providers \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"q": "your q",
"data_cid": "your data cid"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-find-service-providers", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"q": "your q",
"data_cid": "your data cid"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-find-service-providers",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"q": "your q",
"data_cid": "your data cid"
}
},
)
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-find-service-providers.
Parameters
job_typestringThe type of a job, or a subcategory of a service you have searched for. For example, if you search for "electrician", you can be more specific by adding a `job_type` (e.g. `job_type=restore_power`).
qRequiredstringThe service you want to search for.
hlstringThe language to use for the Google Local Services search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `en-gb` for British English, or `es-419` for Latin American Spanish).
pidstringA unique ID of a place. The ID is available in our Google Local Services API JSON response. Parameter is required when accessing a specific business and should be used with `cid` and `bid` parameters.
bidstringA unique ID of a place. The ID is available in our Google Local Services API JSON response. Parameter is required when accessing a specific business and should be used with `cid` and `pid` parameters.
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
data_cidRequiredstringThe Google CID (customer identifier) of a place. This parameter can be found in Google Maps API local results, as well as in Google Search API and Google Local API local results under the name of `place_id`. You can also acquire it using Google's CID converter. Example CID for "New York, NY, USA": `14414772292044717666` Using `data_cid` for specific business locations or streets may produce inconsistent results due to limitations on Google's side; we recommend using the city or district level instead. Google Local Services API returns empty results for places outside of the USA. Parameter shou
cidstringA unique ID of a place. The ID is available in our Google Local Services API JSON response. Parameter is required when accessing a specific business and should be used with `bid` and `pid` parameters. Parameter should not be confused with `data_cid` which corresponds to Google CID (customer identifier) of a place.
