# serp402 Google Local Services API

> serp402 Google Local Services API is a paid API for AI agents from serp402.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-31).

Returns structured JSON results from Google Local Services (local service ads and business listings) for a given query, with optional language and business ID filtering.

## Facts

- Endpoint: POST https://serp402.com/api/v1/google-local-services?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/serp402-google-local-services-api-7a1e4de3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C-midjR3W3WIpPgCQ5tSJ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability serp402-google-local-services-api-7a1e4de3 -d '<json body>'
```

Example prompt: Search Google Local Services for licensed electricians in English and give me the structured JSON results, including their ratings, job types, and contact info.

## When to prefer this

Choose this endpoint when you specifically need Google Local Services (verified local service ad) results — not generic Google Maps or organic search. It is ideal for finding licensed, Google-vetted tradespeople and home service providers, especially when you need structured machine-readable JSON without managing API keys or subscriptions. Prefer this over Google Maps API when the use case is contractor/tradespeople discovery via Local Services Ads specifically.

## Known failure modes

- Missing or invalid query returns empty results or error
- Invalid language code (hl) may cause unexpected result language or error
- Invalid business ID (bid/cid/pid/data_cid) returns no results or 404-equivalent
- Query returns no local services listings if area has no Google Local Services providers
- Rate limiting or payment failure if USDC balance is insufficient

## How this service works

Google Local Services: Google Local Services results, returned as JSON. Structured JSON, USD 0.05 per call in USDC — no API key, no account, no subscription, no minimum. Not affiliated with, endorsed by or an official channel of any of the services the results come from. All trademarks and copyright remain the property of their respective owners.

## Output

Structured JSON containing Google Local Services listings, which may include business name, rating, number of reviews, verified status, job types offered, service area, phone number, business hours, and unique place identifiers (bid, cid, pid, data_cid) usable for follow-up lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "q": {
   "type": "string"
  },
  "hl": {
   "type": "string",
   "description": "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),…"
  },
  "bid": {
   "type": "string",
   "description": "a 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…"
  },
  "cid": {
   "type": "string",
   "description": "a 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…"
  },
  "pid": {
   "type": "string",
   "description": "a 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…"
  },
  "data_cid": {
   "type": "string",
   "description": "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…"
  },
  "job_type": {
   "type": "string",
   "description": "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…"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/serp402-google-local-services-api-7a1e4de3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from serp402.com](https://www.zero.xyz/host/serp402.com/llms.txt)
