{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[{"default":["anonymous-ibex"],"id":"selected_source","location":"body","pointer":"/source","required":false,"type":"array"},{"default":false,"id":"allow_fallbacks","location":"body","pointer":"/allowFallbacks","required":false,"type":"boolean"}],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"1501","max_cost_micro_usd":"1500","quantities":[],"rounding":"ceil","variants":[{"id":"selected_source_only","label":"指定来源且关闭回退时的原厂基础费","price_micro_usd":"1500","when":[{"op":"eq","parameter":"selected_source","value":["anonymous-ibex"]},{"op":"eq","parameter":"allow_fallbacks","value":false}]}]}},"capabilityId":"c42020a7-ed0d-4f32-87e7-12df22cbf392","catalogType":"api","categories":["search-research"],"dataPlatform":"Google","dataPlatformLogoUrl":"","dataPlatformTranslations":{"ar":"SEO","ja":"SEO","zh":"SEO"},"dataProduct":"general","description":"Get Google Local Pack data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by anyapi, pass parameters such as keyword, language, location, and retrieve structured data including found, position, rank absolute, name, and rating to track local pack rankings, audit local reputation, and extract structured local leads.","descriptionTranslations":{"ar":"استرجع قوائم الأنشطة التجارية في حزمة Google المحلية عبر OpenAny REST لتتبع ظهور البحث المحلي وتدقيق ترتيب الفروع ومراقبة تقييمات المنافسين في المدن المستهدفة. أرسل كلمة البحث والموقع بصيغة City,Region,Country مع خيارات language وlimit وrequireFields للحصول على الأسماء والمراتب والتقييمات وعدد المراجعات والهواتف والروابط ومعرّفات CID بصيغة JSON.","ja":"OpenAny REST で Google ローカルパックの店舗一覧を取得し、ローカル SEO のマップ枠順位追跡や複数拠点の監査、競合評価の監視に活用できます。検索キーワードと City,Region,Country 形式の地域、任意の language・limit・requireFields を指定すると、店舗名、順位、評価、口コミ数、電話番号、URL、CID を JSON で返します。","zh":"通过 OpenAny REST 获取 Google Local Pack 本地地图商家结果，用于跟踪本地 SEO 地图包曝光、审计多门店排名并监测目标城市的竞品评分。传入搜索关键词和 City,Region,Country 格式的地理位置，以及可选的 language、limit 和 requireFields 路由要求，即可返回商家名称、排名、评分、评论数、电话、域名、URL 与 Google CID。"},"effectContentHtml":"","executionMode":"sync","id":"0f1b092d-57bc-4373-b8c9-56de5d86030e","includedContentHtml":"","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":"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":"Search keyword, for example coffee shop or plumber.","location":"body","max_length":200,"min_length":2,"name":"keyword","nullable":false,"pointer":"/keyword","required":true,"type":"string"},{"description":"Language code for the search results.","location":"body","name":"language","nullable":false,"pointer":"/language","required":false,"type":"string"},{"description":"Maximum number of local pack businesses to return. Google usually shows three. Billing is flat per request.","location":"body","maximum":"100","minimum":"1","name":"limit","nullable":false,"pointer":"/limit","required":false,"type":"integer"},{"description":"Location to search from, formatted like City,Region,Country; for example, New York,New York,United States.","location":"body","max_length":180,"min_length":3,"name":"location","nullable":false,"pointer":"/location","required":true,"type":"string"},{"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":"Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `address` or `cid`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a business that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.","item_type":"string","location":"body","name":"requireFields","nullable":false,"pointer":"/requireFields","required":false,"type":"array"},{"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"}],"logoUrl":"","method":"POST","name":"Google Local Pack","nameTranslations":{"ar":"حزمة Google المحلية","ja":"Googleローカルパック","zh":"Google 本地包"},"overviewHtml":"\u003ch2\u003eGoogle Local Pack API\u003c/h2\u003e\n\u003cp\u003ePOST a keyword and location formatted as City,Region,Country (for example New York,New York,United States) with optional language, limit, and requireFields to capture Google\u0026#39;s local pack results. Returned places[] entries provide rank, name, description, rating, reviewsCount, phone, domain, url, and cid.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003ePOST JSON body: required keyword and location (City,Region,Country). Optional language, limit (flat per-request billing), and requireFields (array of required output fields).\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eanyapi · Google Local Pack\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eTrack local pack rankings\u003c/strong\u003e: Monitor position and rankAbsolute for franchise or service-area keywords across multiple City,Region,Country markets.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eAudit local reputation\u003c/strong\u003e: Compare rating and reviewsCount against top-3 local map competitors to spot review-generation gaps.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eExtract structured local leads\u003c/strong\u003e: Collect name, phone, domain, url, and cid for service categories in target cities.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.found\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWhether Google Local Pack listings were found for the query\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.places[].position\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e1-based display position inside the local pack\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.places[].rankAbsolute\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAbsolute SERP rank position of the local listing\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.places[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBusiness name shown in the Google Local Pack\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.places[].rating\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAverage customer star rating for the business\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.places[].reviewsCount\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTotal customer reviews reported on the listing\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.places[].phone\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBusiness phone number displayed in the listing\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.places[].domain\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWebsite domain associated with the business\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.places[].url\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWebsite URL linked from the local pack listing\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.places[].cid\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eGoogle Customer ID (CID) identifier for the business\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request POST \\\n  https://api.openany.si/v1/agent-apis/anyapi/v1/run/seo.local_pack \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#34;Content-Type: application/json\u0026#34; \\\n  --data-raw \u0026#39;{\u0026#34;keyword\u0026#34;:\u0026#34;coffee shop\u0026#34;,\u0026#34;language\u0026#34;:\u0026#34;en\u0026#34;,\u0026#34;location\u0026#34;:\u0026#34;New York,New York,United States\u0026#34;}\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe request template and reference output fragment are independent illustrations. Use the fragment for field structure and check the returned record against your requested identifier.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/0f1b092d-57bc-4373-b8c9-56de5d86030e\"\u003ePublished Google Local Pack API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eHow must the location parameter be formatted?\u003c/h3\u003e\n\u003cp\u003eFormat location as City,Region,Country, such as New York,New York,United States.\u003c/p\u003e\n\u003ch3\u003eHow many businesses does Google Local Pack usually return?\u003c/h3\u003e\n\u003cp\u003eGoogle typically displays three local pack businesses; you can pass limit to cap results, and billing remains flat per request.\u003c/p\u003e\n\u003ch3\u003eWhat does requireFields do and can it change price?\u003c/h3\u003e\n\u003cp\u003erequireFields forces routing to a source capable of returning every named field (such as cid or address), which may select a higher-priced source if the cheapest source omits that field.\u003c/p\u003e\n\u003ch3\u003eWhat happens if no single source supports my requireFields combination?\u003c/h3\u003e\n\u003cp\u003ePer the contract, an unsupported field combination is refused as invalid input with no charge.\u003c/p\u003e\n\u003ch3\u003eCan a field listed in requireFields still be absent on a business?\u003c/h3\u003e\n\u003cp\u003eYes. Routing guarantees the serving source supports the field, but an individual business listing may still lack that attribute.\u003c/p\u003e\n\u003ch3\u003eCan I specify the search language?\u003c/h3\u003e\n\u003cp\u003eYes. Pass an optional language code such as en in the JSON request body.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/seo/seo-ranked-keywords\"\u003eSEO Ranked Keywords API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/seo/seo-search-volume\"\u003eSEO Search Volume API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/seo/seo-search-intent\"\u003eSEO Search Intent API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/seo/seo-google-local-pack?offering=0f1b092d-57bc-4373-b8c9-56de5d86030e","providerId":"anyapi","publicPath":"/v1/agent-apis/anyapi/v1/run/seo.local_pack","requestContentType":"application/json","revision":5,"samples":[{"http_status":200,"name":"Official example (output fragment; HTTP assumed)","request":{"body":{"keyword":"coffee shop","language":"en","location":"New York,New York,United States"},"headers":{},"path":{},"query":{}},"response_body":{"output":{"data":{"places":[{"cid":"4821937465012938471","description":"1204 S Congress Ave\nOpen until 6 PM\n\"Best cortado on South Congress.\"","domain":"emberandbeancoffee.com","name":"Ember \u0026 Bean Coffee Roasters","phone":"(512) 555-0143","position":1,"rankAbsolute":1,"rankGroup":1,"rating":4.8,"reviewsCount":612,"url":"https://www.emberandbeancoffee.com/"},{"cid":"11930284756102938475","description":"800 W 6th St\nOpen until 9 PM","domain":"radiantgrind.com","name":"Radiant Grind Coffee Bar","phone":"(512) 555-0187","position":2,"rankAbsolute":2,"rankGroup":2,"rating":4.6,"reviewsCount":388,"url":"https://www.radiantgrind.com/"},{"cid":"7392018465720193846","description":"2100 Manor Rd\nCloses soon\n\"Quiet spot to work with great pastries.\"","domain":"lowlandcoffee.co","name":"Lowland Coffee Collective","position":3,"rankAbsolute":3,"rankGroup":3,"rating":4.5,"reviewsCount":241,"url":"https://www.lowlandcoffee.co/"}]},"found":true}}}],"seoDescription":"Get Google Local Pack data via REST or MCP powered by anyapi. Pay per call, no subscription or proxies. Structured JSON output with one OpenAny API key.","updatedAt":"2026-12-03T02:43:08.081Z","usageInstructionsHtml":""}}