APIDataEnrichment

Google Maps

Retrieve maps with the Google API. Input fields and response shapes depend on the selected implementation. Use it to enrich records in a research workflow. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.

Selected price
$0.0013 / callPublished pricing
Sellers / APIs
3 / 14
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

Google Maps

Prepare your request, then continue with your agent.

Selected price

$0.0013 / call

Provider
API
Pricing
Connect your agent
On this page

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
coordinates* object
Latitude of the map centre in decimal degrees.
Longitude of the map centre in decimal degrees.
The exact map centre to search around. Use maps.search instead if you only have a place name.
What you would type in the Google Maps search bar (e.g. coffee shop).
Optional parameters (14)
Optional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost.
Optional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost.
Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.
Optional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost.
Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.
Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.
Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.
Opaque cursor from a previous response's nextCursor. Pass it back to get the next page of places.
ignoreSources array
Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.
Two-letter language code for the results (e.g. en).
Accepted but does not change the page: every call returns one full Google Maps viewport of about 20 places, never trimmed, so nextCursor continues exactly where this response ended. Price is flat per request.
Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
source array
Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
Google Maps viewport zoom. Lower covers a wider area, higher focuses more tightly around the coordinates.

Sample response

{
  "costUsd": 0.0013,
  "hint": "large_result: this response is ~18 KB. To keep future runs from flooding your context, re-run with `fields` (keep only the keys you need), `max_items` (cap rows), `summary=true` (outline only), or `jq` for arbitrary reshaping (e.g. `jq=.data.markdown[:2000]`) — these trim the response only, never the charge.",
  "items": 20,
  "openany_cost": 1300,
  "output": {
    "data": {
      "items": [
        {
          "address": "3908 Avenue B, Austin, TX 78751",
          "categories": [
            "Coffee shop",
            "Coffee stand"
          ],
          "category": "Coffee shop",
          "cid": "2982629209513831130",
          "city": "Austin",
          "countryCode": "US",
          "domain": "terriblelovecoffee.com",
          "image": "https://lh3.googleusercontent.com/grass-cs/AABkmLc01H6xLTYgvyn_MqHnNMLLA5o8aimBUPAEg14PfBQjQruhUNg_vvUclMqEq3A0kPs7pxhUJ7EylBVmTPKMtCPe4HGD8ypu2R39JQJNhm1kOAFAs4tC-f8sz_WcoXYKXOdQGaQ=w408-h544-k-no",
          "latitude": 30.3045132,
          "longitude": -97.735632,
          "name": "Terrible Love Coffee",
          "neighborhood": "Hyde Park",
          "phone": "",
          "placeId": "ChIJP8p2kJC1RIYR2qrGoXZtZCk",
          "postalCode": "78751",
          "rank": 1,
          "rating": 4.9,
          "reviewCount": 435,
          "state": "Texas",
          "street": "3908 Avenue B",
          "url": "https://www.google.com/maps/search/?api=1&query=coffee+shop&query_place_id=ChIJP8p2kJC1RIYR2qrGoXZtZCk",
          "website": "http://terriblelovecoffee.com/"
        },
        {
          "address": "4715 S Lamar Blvd #102, Sunset Valley, TX 78745",
          "categories": [
            "Coffee shop",
            "Beer hall"
          ],
          "category": "Coffee shop",
          "cid": "6135172139715582269",
          "city": "Sunset Valley",
          "countryCode": "US",
          "description": "Relaxed cafe & bar featuring coffee drinks, craft beers, pastries & light bites in modern digs.",
          "domain": "stouthauscoffee.com",
          "image": "https://lh3.googleusercontent.com/grass-cs/AABkmLc-5mi5Fc4SFSoS_tdVL0v3XtxKr1L5PJlWgyL5iRLGVPLnwOBF_C8dJ908yHuW4VAYD7muJJZaRSOt2XoB-hBZj6eCWQROANZx50Fibs1Q3qZ1qIq5VGgyRsPKjhBeY3B6XzTa=w408-h306-k-no",
          "latitude": 30.2325888,
          "longitude": -97.81133299999999,
          "name": "Stouthaus Coffee - Sunset Valley",
          "neighborhood": "Meadowview At Sunset Valley",
          "phone": "+1-202-555-0100",
          "placeId": "ChIJkUX0vBZLW4YRPdmeN46CJFU",
          "postalCode": "78745",
          "rank": 2,
          "rating": 4.6,
          "reviewCount": 786,
          "state": "Texas",
          "street": "4715 S Lamar Blvd #102",
          "url": "https://www.google.com/maps/search/?api=1&query=coffee+shop&query_place_id=ChIJkUX0vBZLW4YRPdmeN46CJFU",
          "website": "http://www.stouthauscoffee.com/"
        }
      ],
      "nextCursor": "cur_xrM00ZFkXlAB3FQVTSUGtQ"
    },
    "found": true
  },
  "provider": "AnyAPI",
  "replayed": false,
  "resultId": "<RESULT_ID>",
  "source": {
    "artworkKey": "chameleon",
    "id": "anonymous-chameleon-ee237f60",
    "kind": "anonymous",
    "name": "Chameleon"
  }
}

Response result

Response structure

Inferred from examples
  • costUsdnumber
  • hintstring
  • itemsinteger
  • openany_costinteger
  • outputobject
    • dataobject
      • itemsobject[]
        • addressstring
        • categoriesstring[]
        • categorystring
        • cidstring
        • citystring
        • countryCodestring
        • domainstring
        • imagestring
        • latitudenumber
        • longitudenumber
        • namestring
        • neighborhoodstring
        • phonestring
        • placeIdstring
        • postalCodestring
        • rankinteger
        • ratingnumber
        • reviewCountinteger
        • statestring
        • streetstring
        • urlstring
        • websitestring
        • descriptionstring
      • nextCursorstring
    • foundboolean
  • providerstring
  • replayedboolean
  • resultIdstring
  • sourceobject
    • artworkKeystring
    • idstring
    • kindstring
    • namestring

Sellers

SellerPricingRequests · 30dPerformanceAccess
Google Maps Contacts · POST · View API reference
$0.00325 / call—Select to load statistics
—successP50—
Google Maps Reviews · POST · View API reference
$0.0035 / call—Select to load statistics
—successP50—
Current
Google Maps Nearby Search · POST · View API reference
$0.0013 / call—
—successP50—
Google Maps Place Lookup · POST · View API reference
$0.00175 / call—Select to load statistics
—successP50—
Google Maps Search · POST · View API reference
$0.00175 / call—Select to load statistics
—successP50—
Google Contributor Reviews · POST · View API reference
$0.00015 / call—Select to load statistics
—successP50—
Google Maps Posts · POST · View API reference
$0.00015 / call—Select to load statistics
—successP50—
Google Maps Popular Times · POST · View API reference
$0.00015 / call—Select to load statistics
—successP50—
Google Maps Reviews · POST · View API reference
$0.00015 / call—Select to load statistics
—successP50—
Google Maps · POST · View API reference
$0.00015 / call—Select to load statistics
—successP50—
Google Maps Photo Metadata · POST · View API reference
$0.00015 / call—Select to load statistics
—successP50—
Serper Reviews · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Serper Maps · POST · View API reference
$0.003 / call—Select to load statistics
—successP50—
Serper Places · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Loading...
Selected pricing · anyapiUSD / call
Unit price
$0.0013

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 7. Price update time: not supplied.

calls

Total $0.13

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/anyapi/v1/run/maps.search_nearby
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api.openany.si/v1/agent-apis/anyapi/v1/run/maps.search_nearby?max_cost_usd=0.0013' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "coordinates": {
    "latitude": 30.2672,
    "longitude": -97.7431
  },
  "limit": 1,
  "query": "coffee shop"
}'

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
fieldsURL query parametersquerystringNoOptional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost.
max_itemsURL query parametersqueryintegerNoOptional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost.

minimum: 0

summaryURL query parametersquerybooleanNoOptional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.
jqURL query parametersquerystringNoOptional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost.
max_cost_usdURL query parametersquerystringNoOptional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.
Idempotency-KeyRequest headersheadersstringNoOptional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.

minLength: 1 · maxLength: 255

allowFallbacksJSON request bodybodybooleanNoOptional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.
coordinatesJSON request bodybodyobjectYesThe exact map centre to search around. Use maps.search instead if you only have a place name.

additionalProperties: false

Nested fields and variants
body.coordinates.latitude number · Required

Parent object: body.coordinates

Latitude of the map centre in decimal degrees.

minimum: -90 · maximum: 90

body.coordinates.longitude number · Required

Parent object: body.coordinates

Longitude of the map centre in decimal degrees.

minimum: -180 · maximum: 180

cursorJSON request bodybodystring | nullNoOpaque cursor from a previous response's nextCursor. Pass it back to get the next page of places.
ignoreSourcesJSON request bodybodyarrayNoOptional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.
Nested fields and variants

body.ignoreSources[] · Array item · string

languageJSON request bodybodystringNoTwo-letter language code for the results (e.g. en).
limitJSON request bodybodyintegerNoAccepted but does not change the page: every call returns one full Google Maps viewport of about 20 places, never trimmed, so nextCursor continues exactly where this response ended. Price is flat per request.

minimum: 1 · maximum: 20

preferLatencyUnderMsJSON request bodybodyintegerNoOptional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.

minimum: 1

queryJSON request bodybodystringYesWhat you would type in the Google Maps search bar (e.g. coffee shop).

minLength: 1

sourceJSON request bodybodyarrayNoOptional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
Nested fields and variants

body.source[] · Array item · string

zoomJSON request bodybodynumberNoGoogle Maps viewport zoom. Lower covers a wider area, higher focuses more tightly around the coordinates.

minimum: 3 · maximum: 21

Required markers inside a nested object or variant apply when that object or variant is used.

Sample response

Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.

Recorded example (sanitized, abridged; 2026-11-18)
{
  "costUsd": 0.0013,
  "hint": "large_result: this response is ~18 KB. To keep future runs from flooding your context, re-run with `fields` (keep only the keys you need), `max_items` (cap rows), `summary=true` (outline only), or `jq` for arbitrary reshaping (e.g. `jq=.data.markdown[:2000]`) — these trim the response only, never the charge.",
  "items": 20,
  "openany_cost": 1300,
  "output": {
    "data": {
      "items": [
        {
          "address": "3908 Avenue B, Austin, TX 78751",
          "categories": [
            "Coffee shop",
            "Coffee stand"
          ],
          "category": "Coffee shop",
          "cid": "2982629209513831130",
          "city": "Austin",
          "countryCode": "US",
          "domain": "terriblelovecoffee.com",
          "image": "https://lh3.googleusercontent.com/grass-cs/AABkmLc01H6xLTYgvyn_MqHnNMLLA5o8aimBUPAEg14PfBQjQruhUNg_vvUclMqEq3A0kPs7pxhUJ7EylBVmTPKMtCPe4HGD8ypu2R39JQJNhm1kOAFAs4tC-f8sz_WcoXYKXOdQGaQ=w408-h544-k-no",
          "latitude": 30.3045132,
          "longitude": -97.735632,
          "name": "Terrible Love Coffee",
          "neighborhood": "Hyde Park",
          "phone": "",
          "placeId": "ChIJP8p2kJC1RIYR2qrGoXZtZCk",
          "postalCode": "78751",
          "rank": 1,
          "rating": 4.9,
          "reviewCount": 435,
          "state": "Texas",
          "street": "3908 Avenue B",
          "url": "https://www.google.com/maps/search/?api=1&query=coffee+shop&query_place_id=ChIJP8p2kJC1RIYR2qrGoXZtZCk",
          "website": "http://terriblelovecoffee.com/"
        },
        {
          "address": "4715 S Lamar Blvd #102, Sunset Valley, TX 78745",
          "categories": [
            "Coffee shop",
            "Beer hall"
          ],
          "category": "Coffee shop",
          "cid": "6135172139715582269",
          "city": "Sunset Valley",
          "countryCode": "US",
          "description": "Relaxed cafe & bar featuring coffee drinks, craft beers, pastries & light bites in modern digs.",
          "domain": "stouthauscoffee.com",
          "image": "https://lh3.googleusercontent.com/grass-cs/AABkmLc-5mi5Fc4SFSoS_tdVL0v3XtxKr1L5PJlWgyL5iRLGVPLnwOBF_C8dJ908yHuW4VAYD7muJJZaRSOt2XoB-hBZj6eCWQROANZx50Fibs1Q3qZ1qIq5VGgyRsPKjhBeY3B6XzTa=w408-h306-k-no",
          "latitude": 30.2325888,
          "longitude": -97.81133299999999,
          "name": "Stouthaus Coffee - Sunset Valley",
          "neighborhood": "Meadowview At Sunset Valley",
          "phone": "+1-202-555-0100",
          "placeId": "ChIJkUX0vBZLW4YRPdmeN46CJFU",
          "postalCode": "78745",
          "rank": 2,
          "rating": 4.6,
          "reviewCount": 786,
          "state": "Texas",
          "street": "4715 S Lamar Blvd #102",
          "url": "https://www.google.com/maps/search/?api=1&query=coffee+shop&query_place_id=ChIJkUX0vBZLW4YRPdmeN46CJFU",
          "website": "http://www.stouthauscoffee.com/"
        }
      ],
      "nextCursor": "cur_xrM00ZFkXlAB3FQVTSUGtQ"
    },
    "found": true
  },
  "provider": "AnyAPI",
  "replayed": false,
  "resultId": "<RESULT_ID>",
  "source": {
    "artworkKey": "chameleon",
    "id": "anonymous-chameleon-ee237f60",
    "kind": "anonymous",
    "name": "Chameleon"
  }
}

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# Google Maps

Retrieve maps with the Google API. Input fields and response shapes depend on the selected implementation. Use it to enrich records in a research workflow. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
anyapi · Google Maps Contacts: https://openany.si/markets/apis/capabilities/google-maps?offering=398aadb5-41a0-4160-9cb8-b2fb01111c35 · $0.00325 / call
anyapi · Google Maps Reviews: https://openany.si/markets/apis/capabilities/google-maps?offering=817f5ee8-77e4-4591-b467-e3129c59af67 · $0.0035 / call
anyapi · Google Maps Nearby Search: https://openany.si/markets/apis/capabilities/google-maps?offering=a17a3810-e6db-4e16-bece-9004443dc113 · $0.0013 / call
anyapi · Google Maps Place Lookup: https://openany.si/markets/apis/capabilities/google-maps?offering=ceee8602-721a-45ae-a584-a2425ca46911 · $0.00175 / call
anyapi · Google Maps Search: https://openany.si/markets/apis/capabilities/google-maps?offering=de886d24-af79-4c0d-b9d3-51cf65a5a3be · $0.00175 / call
litescrape · Google Contributor Reviews: https://openany.si/markets/apis/capabilities/google-maps?offering=02edd1d0-a1ca-4c13-9356-c6f321a7f5f7 · $0.00015 / call
litescrape · Google Maps Posts: https://openany.si/markets/apis/capabilities/google-maps?offering=35cf8c95-8a15-4fdf-8a72-c56027aa66ff · $0.00015 / call
litescrape · Google Maps Popular Times: https://openany.si/markets/apis/capabilities/google-maps?offering=7329f016-2931-4dd4-b00e-ce0916b64db2 · $0.00015 / call
litescrape · Google Maps Reviews: https://openany.si/markets/apis/capabilities/google-maps?offering=8d5cd2ae-3af6-4045-afaf-331c42e0132c · $0.00015 / call
litescrape · Google Maps: https://openany.si/markets/apis/capabilities/google-maps?offering=e3a51ba1-1fd6-4f16-b41f-3d5188f28098 · $0.00015 / call
litescrape · Google Maps Photo Metadata: https://openany.si/markets/apis/capabilities/google-maps?offering=f6115836-b95d-47e6-a625-b04b7f56b2c0 · $0.00015 / call
serper · Serper Reviews: https://openany.si/markets/apis/capabilities/google-maps?offering=07983be6-0346-4c86-840a-9253dbb3d3f2 · $0.001 / call
serper · Serper Maps: https://openany.si/markets/apis/capabilities/google-maps?offering=33af9d62-b4b9-4c48-9d68-162fce987e63 · $0.003 / call
serper · Serper Places: https://openany.si/markets/apis/capabilities/google-maps?offering=a837c5ff-1997-45cf-95f2-31848c29e731 · $0.001 / call

## Selected API contract
Documentation: https://openany.si/apis/a17a3810-e6db-4e16-bece-9004443dc113
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/anyapi/v1/run/maps.search_nearby
Price: $0.0013 / call
Provider: anyapi
Contract revision: 7
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Prepared request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/anyapi/v1/run/maps.search_nearby?max_cost_usd=0.0013' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "coordinates": {
    "latitude": 30.2672,
    "longitude": -97.7431
  },
  "limit": 1,
  "query": "coffee shop"
}'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "Google Maps Nearby Search",
  "endpoint": "https://api.openany.si/v1/agent-apis/anyapi/v1/run/maps.search_nearby",
  "method": "POST",
  "content_type": "application/json",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "Optional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost.",
      "location": "query",
      "name": "fields",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "Optional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost.",
      "location": "query",
      "minimum": "0",
      "name": "max_items",
      "nullable": false,
      "required": false,
      "type": "integer"
    },
    {
      "description": "Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.",
      "location": "query",
      "name": "summary",
      "nullable": false,
      "required": false,
      "type": "boolean"
    },
    {
      "description": "Optional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost.",
      "location": "query",
      "name": "jq",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.",
      "location": "query",
      "name": "max_cost_usd",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.",
      "location": "header",
      "max_length": 255,
      "min_length": 1,
      "name": "Idempotency-Key",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.",
      "location": "body",
      "name": "allowFallbacks",
      "nullable": false,
      "pointer": "/allowFallbacks",
      "required": false,
      "type": "boolean"
    },
    {
      "description": "The exact map centre to search around. Use maps.search instead if you only have a place name.",
      "json_schema": {
        "additionalProperties": false,
        "description": "The exact map centre to search around. Use maps.search instead if you only have a place name.",
        "properties": {
          "latitude": {
            "description": "Latitude of the map centre in decimal degrees.",
            "maximum": 90,
            "minimum": -90,
            "type": "number"
          },
          "longitude": {
            "description": "Longitude of the map centre in decimal degrees.",
            "maximum": 180,
            "minimum": -180,
            "type": "number"
          }
        },
        "required": [
          "latitude",
          "longitude"
        ],
        "type": "object"
      },
      "location": "body",
      "name": "coordinates",
      "nullable": false,
      "pointer": "/coordinates",
      "required": true,
      "type": "object"
    },
    {
      "description": "Opaque cursor from a previous response's nextCursor. Pass it back to get the next page of places.",
      "location": "body",
      "name": "cursor",
      "nullable": true,
      "pointer": "/cursor",
      "required": false,
      "type": "string"
    },
    {
      "description": "Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.",
      "item_type": "string",
      "location": "body",
      "name": "ignoreSources",
      "nullable": false,
      "pointer": "/ignoreSources",
      "required": false,
      "type": "array"
    },
    {
      "description": "Two-letter language code for the results (e.g. en).",
      "location": "body",
      "name": "language",
      "nullable": false,
      "pointer": "/language",
      "required": false,
      "type": "string"
    },
    {
      "description": "Accepted but does not change the page: every call returns one full Google Maps viewport of about 20 places, never trimmed, so nextCursor continues exactly where this response ended. Price is flat per request.",
      "location": "body",
      "maximum": "20",
      "minimum": "1",
      "name": "limit",
      "nullable": false,
      "pointer": "/limit",
      "required": false,
      "type": "integer"
    },
    {
      "description": "Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.",
      "location": "body",
      "minimum": "1",
      "name": "preferLatencyUnderMs",
      "nullable": false,
      "pointer": "/preferLatencyUnderMs",
      "required": false,
      "type": "integer"
    },
    {
      "description": "What you would type in the Google Maps search bar (e.g. coffee shop).",
      "location": "body",
      "min_length": 1,
      "name": "query",
      "nullable": false,
      "pointer": "/query",
      "required": true,
      "type": "string"
    },
    {
      "description": "Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.",
      "item_type": "string",
      "location": "body",
      "name": "source",
      "nullable": false,
      "pointer": "/source",
      "required": false,
      "type": "array"
    },
    {
      "description": "Google Maps viewport zoom. Lower covers a wider area, higher focuses more tightly around the coordinates.",
      "location": "body",
      "maximum": "21",
      "minimum": "3",
      "name": "zoom",
      "nullable": false,
      "pointer": "/zoom",
      "required": false,
      "type": "number"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "fixed",
    "priceMicroUsd": "1300",
    "rounding": null,
    "unit": "call",
    "unitQuantity": null
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Recorded example (sanitized, abridged; 2026-11-18)",
      "request": {
        "body": {
          "coordinates": {
            "latitude": 30.2672,
            "longitude": -97.7431
          },
          "limit": 1,
          "query": "coffee shop"
        },
        "headers": {},
        "path": {},
        "query": {
          "max_cost_usd": "0.0013"
        }
      },
      "response_body": {
        "costUsd": 0.0013,
        "hint": "large_result: this response is ~18 KB. To keep future runs from flooding your context, re-run with `fields` (keep only the keys you need), `max_items` (cap rows), `summary=true` (outline only), or `jq` for arbitrary reshaping (e.g. `jq=.data.markdown[:2000]`) — these trim the response only, never the charge.",
        "items": 20,
        "openany_cost": 1300,
        "output": {
          "data": {
            "items": [
              {
                "address": "3908 Avenue B, Austin, TX 78751",
                "categories": [
                  "Coffee shop",
                  "Coffee stand"
                ],
                "category": "Coffee shop",
                "cid": "2982629209513831130",
                "city": "Austin",
                "countryCode": "US",
                "domain": "terriblelovecoffee.com",
                "image": "https://lh3.googleusercontent.com/grass-cs/AABkmLc01H6xLTYgvyn_MqHnNMLLA5o8aimBUPAEg14PfBQjQruhUNg_vvUclMqEq3A0kPs7pxhUJ7EylBVmTPKMtCPe4HGD8ypu2R39JQJNhm1kOAFAs4tC-f8sz_WcoXYKXOdQGaQ=w408-h544-k-no",
                "latitude": 30.3045132,
                "longitude": -97.735632,
                "name": "Terrible Love Coffee",
                "neighborhood": "Hyde Park",
                "phone": "",
                "placeId": "ChIJP8p2kJC1RIYR2qrGoXZtZCk",
                "postalCode": "78751",
                "rank": 1,
                "rating": 4.9,
                "reviewCount": 435,
                "state": "Texas",
                "street": "3908 Avenue B",
                "url": "https://www.google.com/maps/search/?api=1&query=coffee+shop&query_place_id=ChIJP8p2kJC1RIYR2qrGoXZtZCk",
                "website": "http://terriblelovecoffee.com/"
              },
              {
                "address": "4715 S Lamar Blvd #102, Sunset Valley, TX 78745",
                "categories": [
                  "Coffee shop",
                  "Beer hall"
                ],
                "category": "Coffee shop",
                "cid": "6135172139715582269",
                "city": "Sunset Valley",
                "countryCode": "US",
                "description": "Relaxed cafe & bar featuring coffee drinks, craft beers, pastries & light bites in modern digs.",
                "domain": "stouthauscoffee.com",
                "image": "https://lh3.googleusercontent.com/grass-cs/AABkmLc-5mi5Fc4SFSoS_tdVL0v3XtxKr1L5PJlWgyL5iRLGVPLnwOBF_C8dJ908yHuW4VAYD7muJJZaRSOt2XoB-hBZj6eCWQROANZx50Fibs1Q3qZ1qIq5VGgyRsPKjhBeY3B6XzTa=w408-h306-k-no",
                "latitude": 30.2325888,
                "longitude": -97.81133299999999,
                "name": "Stouthaus Coffee - Sunset Valley",
                "neighborhood": "Meadowview At Sunset Valley",
                "phone": "+1-202-555-0100",
                "placeId": "ChIJkUX0vBZLW4YRPdmeN46CJFU",
                "postalCode": "78745",
                "rank": 2,
                "rating": 4.6,
                "reviewCount": 786,
                "state": "Texas",
                "street": "4715 S Lamar Blvd #102",
                "url": "https://www.google.com/maps/search/?api=1&query=coffee+shop&query_place_id=ChIJkUX0vBZLW4YRPdmeN46CJFU",
                "website": "http://www.stouthauscoffee.com/"
              }
            ],
            "nextCursor": "cur_xrM00ZFkXlAB3FQVTSUGtQ"
          },
          "found": true
        },
        "provider": "AnyAPI",
        "replayed": false,
        "resultId": "<RESULT_ID>",
        "source": {
          "artworkKey": "chameleon",
          "id": "anonymous-chameleon-ee237f60",
          "kind": "anonymous",
          "name": "Chameleon"
        }
      }
    }
  ]
}
```

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Recorded example (sanitized, abridged; 2026-11-18)

Published documentation example. Verify the actual response after an approved call.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 16

    Review these request fields before running. Keep the published provider and request method unchanged.

    fields
    Optional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost.
    max_items
    Optional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost.
    summary
    Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.
    jq
    Optional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost.
    max_cost_usd
    Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.
    Idempotency-Key
    Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.
    allowFallbacks
    Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.
    coordinates
    The exact map centre to search around. Use maps.search instead if you only have a place name.
    cursor
    Opaque cursor from a previous response's nextCursor. Pass it back to get the next page of places.
    ignoreSources
    Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.
    language
    Two-letter language code for the results (e.g. en).
    limit
    Accepted but does not change the page: every call returns one full Google Maps viewport of about 20 places, never trimmed, so nextCursor continues exactly where this response ended. Price is flat per request.
    preferLatencyUnderMs
    Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
    query
    What you would type in the Google Maps search bar (e.g. coffee shop).
    source
    Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
    zoom
    Google Maps viewport zoom. Lower covers a wider area, higher focuses more tightly around the coordinates.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/anyapi/v1/run/maps.search_nearby?max_cost_usd=0.0013' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "coordinates": {
        "latitude": 30.2672,
        "longitude": -97.7431
      },
      "limit": 1,
      "query": "coffee shop"
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "costUsd": 0.0013,
      "hint": "large_result: this response is ~18 KB. To keep future runs from flooding your context, re-run with `fields` (keep only the keys you need), `max_items` (cap rows), `summary=true` (outline only), or `jq` for arbitrary reshaping (e.g. `jq=.data.markdown[:2000]`) — these trim the response only, never the charge.",
      "items": 20,
      "openany_cost": 1300,
      "output": {
        "data": {
          "items": [
            {
              "address": "3908 Avenue B, Austin, TX 78751",
              "categories": [
                "Coffee shop",
                "Coffee stand"
              ],
              "category": "Coffee shop",
              "cid": "2982629209513831130",
              "city": "Austin",
              "countryCode": "US",
              "domain": "terriblelovecoffee.com",
              "image": "https://lh3.googleusercontent.com/grass-cs/AABkmLc01H6xLTYgvyn_MqHnNMLLA5o8aimBUPAEg14PfBQjQruhUNg_vvUclMqEq3A0kPs7pxhUJ7EylBVmTPKMtCPe4HGD8ypu2R39JQJNhm1kOAFAs4tC-f8sz_WcoXYKXOdQGaQ=w408-h544-k-no",
              "latitude": 30.3045132,
              "longitude": -97.735632,
              "name": "Terrible Love Coffee",
              "neighborhood": "Hyde Park",
              "phone": "",
              "placeId": "ChIJP8p2kJC1RIYR2qrGoXZtZCk",
              "postalCode": "78751",
              "rank": 1,
              "rating": 4.9,
              "reviewCount": 435,
              "state": "Texas",
              "street": "3908 Avenue B",
              "url": "https://www.google.com/maps/search/?api=1&query=coffee+shop&query_place_id=ChIJP8p2kJC1RIYR2qrGoXZtZCk",
              "website": "http://terriblelovecoffee.com/"
            },
            {
              "address": "4715 S Lamar Blvd #102, Sunset Valley, TX 78745",
              "categories": [
                "Coffee shop",
                "Beer hall"
              ],
              "category": "Coffee shop",
              "cid": "6135172139715582269",
              "city": "Sunset Valley",
              "countryCode": "US",
              "description": "Relaxed cafe & bar featuring coffee drinks, craft beers, pastries & light bites in modern digs.",
              "domain": "stouthauscoffee.com",
              "image": "https://lh3.googleusercontent.com/grass-cs/AABkmLc-5mi5Fc4SFSoS_tdVL0v3XtxKr1L5PJlWgyL5iRLGVPLnwOBF_C8dJ908yHuW4VAYD7muJJZaRSOt2XoB-hBZj6eCWQROANZx50Fibs1Q3qZ1qIq5VGgyRsPKjhBeY3B6XzTa=w408-h306-k-no",
              "latitude": 30.2325888,
              "longitude": -97.81133299999999,
              "name": "Stouthaus Coffee - Sunset Valley",
              "neighborhood": "Meadowview At Sunset Valley",
              "phone": "+1-202-555-0100",
              "placeId": "ChIJkUX0vBZLW4YRPdmeN46CJFU",
              "postalCode": "78745",
              "rank": 2,
              "rating": 4.6,
              "reviewCount": 786,
              "state": "Texas",
              "street": "4715 S Lamar Blvd #102",
              "url": "https://www.google.com/maps/search/?api=1&query=coffee+shop&query_place_id=ChIJkUX0vBZLW4YRPdmeN46CJFU",
              "website": "http://www.stouthauscoffee.com/"
            }
          ],
          "nextCursor": "cur_xrM00ZFkXlAB3FQVTSUGtQ"
        },
        "found": true
      },
      "provider": "AnyAPI",
      "replayed": false,
      "resultId": "<RESULT_ID>",
      "source": {
        "artworkKey": "chameleon",
        "id": "anonymous-chameleon-ee237f60",
        "kind": "anonymous",
        "name": "Chameleon"
      }
    }

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Google Maps with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.