{"openapi":"3.1.0","info":{"title":"Google Maps US Places and Reviews Data (x402 & MCP)","version":"0.1.0","description":"US Google Maps business listings, addresses, phone numbers, websites, coordinates, ratings and optional reviews, one row per entity.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2, charged strictly for delivered rows) and 'exact' (EIP-3009). Empty/0-row (404), invalid input (422), timeout (504), and upstream failures (502) are never charged.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://x402.opendata.best"}],"paths":{"/s/google-maps-scraper/v1/search":{"post":{"operationId":"google_maps_scraper_search","summary":"Google Maps US Places and Reviews Data: Search US Google Maps places and optional reviews","description":"Search US businesses and places on Google Maps with addresses, phone numbers, coordinates, ratings and optional reviews. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["google-maps-scraper","Mapping"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"searchQuery":{"type":"string","description":"One Google Maps search in the United States, such as coffee in Chicago. An empty input runs that example with a limit of 3 rows; normal charges apply.","minLength":1,"maxLength":500},"maxResults":{"type":"integer","description":"Maximum combined place and review rows for this search. Default 70; larger requests are collected in parts of 70, subject to your maximum run cost. Free-plan users are limited to 200 rows per run and 10 runs of this Actor.","default":10,"minimum":1,"maximum":20},"includeReviews":{"type":"boolean","description":"Collect reviews as separate rows, requested newest first. Off by default; each review is billed at the same price as a place and counts toward maxResults.","default":false},"maxReviewsPerPlace":{"type":"integer","description":"Maximum reviews for each place when includeReviews is true. Zero means up to 500 available reviews per place; all reviews still share the maxResults limit with places.","default":0,"minimum":0,"maximum":5000},"language":{"type":"string","description":"Google language code, such as en, es, es-419 or zh-TW. It does not change the US market or guarantee translated review text.","default":"en","minLength":2,"maxLength":8,"pattern":"^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,4})?$"},"country":{"type":"string","description":"Supported market: United States only. Leave this set to US.","default":"US","enum":["US"]},"gridBbox":{"type":"string","description":"Optional US rectangle as min_lat,min_lng,max_lat,max_lng. Searches up to 100 cells and returns only places inside the rectangle; use a category without a city in searchQuery.","default":"","pattern":"^\\s*$|^\\s*-?\\d+(\\.\\d+)?\\s*,\\s*-?\\d+(\\.\\d+)?\\s*,\\s*-?\\d+(\\.\\d+)?\\s*,\\s*-?\\d+(\\.\\d+)?\\s*$"},"gridCellSizeKm":{"type":"number","description":"Requested grid cell size in kilometers, used only with gridBbox. It increases automatically if needed to keep the rectangle within 100 cells.","default":1.0,"minimum":0.1,"maximum":10.0}},"additionalProperties":false},"example":{"searchQuery":"coffee in Chicago","maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_google_maps_scraper"},"example":{"jobId":"job_google-m_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","name":"example_name","category":"example_category","address":"example_address","phone":"example_phone"}],"meta":{"site":"google-maps-scraper","endpoint":"search","maxResults":10,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/google-maps-scraper/v1/health":{"get":{"operationId":"google_maps_scraper_health","summary":"Google Maps US Places and Reviews Data: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["google-maps-scraper","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}},"Row_google_maps_scraper":{"type":"object","properties":{"rowType":{"type":["string","number","boolean","object","array","null"]},"id":{"type":["string","number","boolean","object","array","null"]},"name":{"type":["string","null"],"title":"Name"},"category":{"type":["string","null"],"title":"Category"},"address":{"type":["string","null"],"title":"Address"},"phone":{"type":["string","null"],"title":"Phone"},"phones":{"type":["string","null"],"title":"Phones"},"website":{"type":["string","null"],"format":"uri","title":"Website"},"org":{"type":["object","null"]},"addressParts":{"type":["object","null"]},"web":{"type":["object","null"]},"rating":{"type":["number","null"],"title":"Rating"},"review_count":{"type":["number","null"],"title":"Reviews"},"price_level":{"type":["string","null"],"title":"Price"},"has_phone":{"type":["boolean","null"],"title":"Has Phone"},"has_website":{"type":["boolean","null"],"title":"Has Website"},"is_contactable":{"type":["boolean","null"],"title":"Contactable"},"needs_enrichment":{"type":["boolean","null"],"title":"Needs Enrichment"},"rating_bucket":{"type":["string","null"],"title":"Rating Bucket"},"is_low_rating":{"type":["boolean","null"],"title":"Low Rating"},"has_recent_reviews":{"type":["boolean","null"],"title":"Recent Reviews"},"review_count_scraped":{"type":["number","null"],"title":"Reviews Scraped"},"latitude":{"type":["number","null"],"title":"Latitude"},"longitude":{"type":["number","null"],"title":"Longitude"}},"additionalProperties":true},"Response_google_maps_scraper":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_google_maps_scraper"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}},"x-discovery":{"ownershipProofs":["0xdb7c562a3ef6f9f29da4672abdab1489e82e910a91b863e3c22b905df6522b7223798a84245e0452cab689483b6cbb7cd8c13141319df982b213dea31ee7e4311c"]}}