Google Local Services API
Search Google Local Services sponsored providers or select a provider profile using its cid/bid/pid tuple. Supports named locations and geographic city or district CIDs.
Make a request
Use your existing PrismCrawl API key and credit balance. A completed request consumes one credit, including recognized empty or unavailable results and source changes found during a valid continuation. Validation and operational errors remain uncharged. Each completed continuation request is billed separately.
curl 'https://api.prismcrawl.com/v1/google/local/services' \
--request POST \
--header 'content-type: application/json' \
--header 'x-api-key: <PRISMCRAWL_API_KEY>' \
--data '{
"query": "plumber Austin"
}'Supported parameters
| Parameter | Usage |
|---|---|
queryRequired | Text to search for on the selected service. |
country | Two-letter country or storefront code, such as us or gb. |
language | Provider-supported language code, such as en. |
limit | Maximum number of items to return. The provider may return fewer. |
location | Location to search around, such as Austin, TX. |
data_cid | Geographic city or district CID as a nonzero unsigned 64-bit decimal string. Cannot be combined with location. |
job_type | Native service selection for the query category, for example restore_power for electricians. Unavailable selections return 400. |
cid | Provider CID returned in results. Supply cid, bid and pid together to retrieve that provider profile; query selects its service category. |
bid | Provider BID returned in results. Supply cid, bid and pid together to retrieve that provider profile; query selects its service category. |
pid | Provider PID returned in results. Supply cid, bid and pid together to retrieve that provider profile; query selects its service category. |
device | Device presentation for the source request. desktop, mobile, tablet |
html | Return the encoded original response rather than parsed JSON. |
zero_trace | Do not archive source or parsed response artifacts. |
Structured results
Read items from data.content.results. The response also includes the search metadata, pagination state, and any extracted SERP features. Optional fields appear when supplied by the provider.
addressbidcategorycidcoordinatesdescriptionhoursidimagelatitudelocationlongitudenameopening_hoursphonephotospidpositionpricerankratingrating_maxrating_sourcereview_countreviewsservice_areasservicessnippetsponsoredtextthumbnailtitletypeurlwebsiteSDKs and guides
The official SDKs cover this endpoint with typed parameters, automatic retries, and pagination helpers.
- Python SDK:
pip install prismcrawl - Node.js SDK:
npm install prismcrawl