DataForSEO — Serp / Google / Maps / Live / Advanced
Retrieve serp Google Maps Live Advanced with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it to audit or monitor a site’s search visibility.
- Selected price
- $0.002 / callPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
DataForSEOCurrent DataForSEO — Serp / Google / Maps / Live / Advanced · POST | $0.002 / call | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
costnumberstatus_codeintegerstatus_messagestringtasksobject[]costnumberdataobjectapistringdepthintegerdevicestringfunctionstringkeywordstringlanguage_codestringlocation_codeintegerosstringsestringse_typestring
idstringpathstring[]resultobject[]check_urlstringdatetimestringitem_typesstring[]itemsobject[]additional_categoriesnull | string[]addressstringaddress_infoobjectaddressstringboroughstringcitystringcountry_codestringregionstringzipstring
book_online_urlnullcategorystringcategory_idsstring[]cidstringcontact_urlnullcontributor_urlnulldomainnull | stringfeature_idstringhotel_ratingnullis_claimedbooleanis_directory_itembooleanlatitudenumberlocal_justificationsnulllongitudenumbermain_imagestringoriginal_titlenullphonenull | stringplace_idstringprice_levelnullrank_absoluteintegerrank_groupintegerratingnull | objectrating_maxnullrating_typestringvaluenumbervotes_countinteger
rating_distributionnull | object1integer2integer3integer4integer5integer
snippetstringtitlestringtotal_photosintegertypestringurlnull | stringwork_hoursobjectcurrent_statusstringtimetablenull | objectfridayobject[]closeobjectopenobject
mondayobject[]closeobjectopenobject
saturdayobject[]closeobjectopenobject
sundayobject[] | nullthursdayobject[]closeobjectopenobject
tuesdayobject[]closeobjectopenobject
wednesdayobject[]closeobjectopenobject
items_countintegerkeywordstringlanguage_codestringlocation_codeintegerrefinement_chipsnullse_domainstringse_results_countintegerspellnulltypestring
result_countintegerstatus_codeintegerstatus_messagestringtimestring
tasks_countintegertasks_errorintegertimestringversionstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
cost?: number;
status_code?: number;
status_message?: string;
tasks?: Array<{
cost?: number;
data?: {
api?: string;
depth?: number;
device?: string;
function?: string;
keyword?: string;
language_code?: string;
location_code?: number;
os?: string;
se?: string;
se_type?: string;
};
id?: string;
path?: Array<string>;
result?: Array<{
check_url?: string;
datetime?: string;
item_types?: Array<string>;
items?: Array<{
additional_categories?: null | Array<string>;
address?: string;
address_info?: {
address?: string;
borough?: string;
city?: string;
country_code?: string;
region?: string;
zip?: string;
};
book_online_url?: null;
category?: string;
category_ids?: Array<string>;
cid?: string;
contact_url?: null;
contributor_url?: null;
domain?: null | string;
feature_id?: string;
hotel_rating?: null;
is_claimed?: boolean;
is_directory_item?: boolean;
latitude?: number;
local_justifications?: null;
longitude?: number;
main_image?: string;
original_title?: null;
phone?: null | string;
place_id?: string;
price_level?: null;
rank_absolute?: number;
rank_group?: number;
rating?: null | {
rating_max?: null;
rating_type?: string;
value?: number;
votes_count?: number;
};
rating_distribution?: null | {
"1"?: number;
"2"?: number;
"3"?: number;
"4"?: number;
"5"?: number;
};
snippet?: string;
title?: string;
total_photos?: number;
type?: string;
url?: null | string;
work_hours?: {
current_status?: string;
timetable?: null | {
friday?: Array<{
close?: {
hour?: unknown;
minute?: unknown;
};
open?: {
hour?: unknown;
minute?: unknown;
};
}>;
monday?: Array<{
close?: {
hour?: unknown;
minute?: unknown;
};
open?: {
hour?: unknown;
minute?: unknown;
};
}>;
saturday?: Array<{
close?: {
hour?: unknown;
minute?: unknown;
};
open?: {
hour?: unknown;
minute?: unknown;
};
}>;
sunday?: Array<{
close?: {
hour?: unknown;
minute?: unknown;
};
open?: {
hour?: unknown;
minute?: unknown;
};
}> | null;
thursday?: Array<{
close?: {
hour?: unknown;
minute?: unknown;
};
open?: {
hour?: unknown;
minute?: unknown;
};
}>;
tuesday?: Array<{
close?: {
hour?: unknown;
minute?: unknown;
};
open?: {
hour?: unknown;
minute?: unknown;
};
}>;
wednesday?: Array<{
close?: {
hour?: unknown;
minute?: unknown;
};
open?: {
hour?: unknown;
minute?: unknown;
};
}>;
};
};
}>;
items_count?: number;
keyword?: string;
language_code?: string;
location_code?: number;
refinement_chips?: null;
se_domain?: string;
se_results_count?: number;
spell?: null;
type?: string;
}>;
result_count?: number;
status_code?: number;
status_message?: string;
time?: string;
}>;
tasks_count?: number;
tasks_error?: number;
time?: string;
version?: string;
};- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/maps/live/advanced- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/maps/live/advanced' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840
}
]'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
body | JSON request bodybody | array | Yes | Live Google Maps SERP provides real-time data on top 100 search engine results for the specified keyword, search engine, and location. minItems: 1 · maxItems: 1 Nested fields and variants
Nested fields and variants
|
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Configured HTTP 200; actual status is unverified. Example from the provider's documentation. Field values in your results will differ.
{
"cost": 0.002,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.002,
"data": {
"api": "serp",
"depth": 3,
"device": "desktop",
"function": "live",
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840,
"os": "windows",
"se": "google",
"se_type": "maps"
},
"id": "08021555-1535-0139-0000-462b80e927f7",
"path": [
"v3",
"serp",
"google",
"maps",
"live",
"advanced"
],
"result": [
{
"check_url": "https://google.com/maps/search/albert+einstein/@37.09024,-95.712891,4z?hl=en&gl=US&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
"datetime": "2023-08-02 12:55:43 +00:00",
"item_types": [
"maps_search"
],
"items": [
{
"additional_categories": null,
"address": "6700 NW 35th St, Bethany, OK 73008",
"address_info": {
"address": "6700 NW 35th St",
"borough": "Central Oklahoma City",
"city": "Bethany",
"country_code": "US",
"region": "Oklahoma",
"zip": "73008"
},
"book_online_url": null,
"category": "Tourist attraction",
"category_ids": [
"tourist_attraction"
],
"cid": "12368344280360434538",
"contact_url": null,
"contributor_url": null,
"domain": null,
"feature_id": "0x87b20589791fed49:0xaba52f97ba9e3b6a",
"hotel_rating": null,
"is_claimed": false,
"is_directory_item": false,
"latitude": 35.5064351,
"local_justifications": null,
"longitude": -97.6317255,
"main_image": "https://lh5.googleusercontent.com/p/AF1QipOfM59_liNdL9hmEDbU0_K1uTSv4psbY7rY2bAj=w408-h541-k-no",
"original_title": null,
"phone": null,
"place_id": "ChIJSe0feYkFsocRajueupcvpas",
"price_level": null,
"rank_absolute": 1,
"rank_group": 1,
"rating": null,
"rating_distribution": null,
"snippet": "6700 NW 35th St, Bethany, OK 73008",
"title": "Albert Einstein Statue",
"total_photos": 12,
"type": "maps_search",
"url": null,
"work_hours": {
"current_status": "close",
"timetable": null
}
},
{
"additional_categories": [
"Monument"
],
"address": "2101 Constitution Ave. NW, Washington, DC 20418",
"address_info": {
"address": "2101 Constitution Ave. NW",
"borough": "Northwest Washington",
"city": "Washington",
"country_code": "US",
"region": "District of Columbia",
"zip": "20418"
},
"book_online_url": null,
"category": "Sculpture",
"category_ids": [
"sculpture",
"monument"
],
"cid": "1797269780994265452",
"contact_url": null,
"contributor_url": null,
"domain": "www.nasonline.org",
"feature_id": "0x89b7b7a92a9a9625:0x18f12f57edb5116c",
"hotel_rating": null,
"is_claimed": false,
"is_directory_item": false,
"latitude": 38.8924028,
"local_justifications": null,
"longitude": -77.0484139,
"main_image": "https://lh5.googleusercontent.com/p/AF1QipPyOiGml7eII8LgiYGtPh4wzI7g8GP3fZ9Hzsy8=w408-h306-k-no",
"original_title": null,
"phone": null,
"place_id": "ChIJJZaaKqm3t4kRbBG17Vcv8Rg",
"price_level": null,
"rank_absolute": 2,
"rank_group": 2,
"rating": {
"rating_max": null,
"rating_type": "Max5",
"value": 4.7,
"votes_count": 1283
},
"rating_distribution": {
"1": 4,
"2": 8,
"3": 51,
"4": 194,
"5": 1026
},
"snippet": "2101 Constitution Ave. NW, Washington, DC 20418",
"title": "Albert Einstein Memorial",
"total_photos": 2501,
"type": "maps_search",
"url": "http://www.nasonline.org/about-nas/visiting-nas/nas-building/the-einstein-memorial.html",
"work_hours": {
"current_status": "open",
"timetable": {
"friday": [
{
"close": {
"hour": 0,
"minute": 0
},
"open": {
"hour": 0,
"minute": 0
}
}
],
"monday": [
{
"close": {
"hour": 0,
"minute": 0
},
"open": {
"hour": 0,
"minute": 0
}
}
],
"saturday": [
{
"close": {
"hour": 0,
"minute": 0
},
"open": {
"hour": 0,
"minute": 0
}
}
],
"sunday": [
{
"close": {
"hour": 0,
"minute": 0
},
"open": {
"hour": 0,
"minute": 0
}
}
],
"thursday": [
{
"close": {
"hour": 0,
"minute": 0
},
"open": {
"hour": 0,
"minute": 0
}
}
],
"tuesday": [
{
"close": {
"hour": 0,
"minute": 0
},
"open": {
"hour": 0,
"minute": 0
}
}
],
"wednesday": [
{
"close": {
"hour": 0,
"minute": 0
},
"open": {
"hour": 0,
"minute": 0
}
}
]
}
}
},
{
"additional_categories": null,
"address": "8710 Converse Business Cir, Converse, TX 78109",
"address_info": {
"address": "8710 Converse Business Cir",
"borough": "Northeast Side",
"city": "Converse",
"country_code": "US",
"region": "Texas",
"zip": "78109"
},
"book_online_url": null,
"category": "Business to business service",
"category_ids": [
"business_to_business_service"
],
"cid": "16232860371934609307",
"contact_url": null,
"contributor_url": null,
"domain": "www.alberteinsteingroup.com",
"feature_id": "0x865c8a1e258e02e5:0xe146b480bdad7f9b",
"hotel_rating": null,
"is_claimed": true,
"is_directory_item": false,
"latitude": 29.515755199999997,
"local_justifications": null,
"longitude": -98.3017169,
"main_image": "https://lh5.googleusercontent.com/p/AF1QipMwYCFGMituQ_CohAgfNF6pQPNjt-b-FR96b7xc=w416-h240-k-no",
"original_title": null,
"phone": "+1833-463-3325",
"place_id": "ChIJ5QKOJR6KXIYRm3-tvYC0RuE",
"price_level": null,
"rank_absolute": 3,
"rank_group": 3,
"rating": {
"rating_max": null,
"rating_type": "Max5",
"value": 4,
"votes_count": 4
},
"rating_distribution": {
"1": 1,
"2": 0,
"3": 0,
"4": 0,
"5": 3
},
"snippet": "8710 Converse Business Cir, Converse, TX 78109",
"title": "The Albert Einstein Group, Inc.",
"total_photos": 18,
"type": "maps_search",
"url": "http://www.alberteinsteingroup.com/",
"work_hours": {
"current_status": "close",
"timetable": {
"friday": [
{
"close": {
"hour": 17,
"minute": 0
},
"open": {
"hour": 8,
"minute": 0
}
}
],
"monday": [
{
"close": {
"hour": 17,
"minute": 0
},
"open": {
"hour": 8,
"minute": 0
}
}
],
"saturday": [
{
"close": {
"hour": 12,
"minute": 0
},
"open": {
"hour": 8,
"minute": 0
}
}
],
"sunday": null,
"thursday": [
{
"close": {
"hour": 17,
"minute": 0
},
"open": {
"hour": 8,
"minute": 0
}
}
],
"tuesday": [
{
"close": {
"hour": 17,
"minute": 0
},
"open": {
"hour": 8,
"minute": 0
}
}
],
"wednesday": [
{
"close": {
"hour": 17,
"minute": 0
},
"open": {
"hour": 8,
"minute": 0
}
}
]
}
}
}
],
"items_count": 3,
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840,
"refinement_chips": null,
"se_domain": "google.com",
"se_results_count": 0,
"spell": null,
"type": "maps"
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "4.0299 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "4.0977 sec.",
"version": "0.1.20230705"
}Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.002000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| 任务错误数必须为零 | $0.000000 / billing unit | Response · /tasks_error · Numeric value | Always | 0 billing unit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# DataForSEO — Serp / Google / Maps / Live / Advanced
Retrieve serp Google Maps Live Advanced with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it to audit or monitor a site’s search visibility.
## Available implementations
DataForSEO · DataForSEO — Serp / Google / Maps / Live / Advanced: https://openany.si/markets/apis/capabilities/dataforseo-serp-google-maps-live-advanced?offering=391e1d4c-2035-4530-bae2-a4dedf76b4df · $0.002 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/dataforseo-serp-google-maps-live-advanced
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/maps/live/advanced
Price: $0.002 / call
Provider: DataForSEO
Contract revision: 3
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/dataforseo/v3/serp/google/maps/live/advanced' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840
}
]'
```
## API contract
```json
{
"resource_type": "api",
"name": "DataForSEO — Serp / Google / Maps / Live / Advanced",
"endpoint": "https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/maps/live/advanced",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": " Live Google Maps SERP provides real-time data on top 100 search engine results for the specified keyword, search engine, and location.",
"json_schema": {
"example": [
{
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840
}
],
"items": {
"example": [
{
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840
}
],
"nullable": true,
"properties": {
"depth": {
"default": 100,
"description": "parsing depth optional field number of results in SERP default value: 100 max value: 700 Your account will be billed per each SERP containing up to 100 results; Setting depth above 100 may result in additional charges if the search engine returns more than 100 results; The cost can be calculated on the Pricing page.",
"maximum": 700,
"nullable": true,
"type": "integer",
"x-constraints-from-official-description": [
"default",
"maximum"
],
"x-required-status": "optional"
},
"device": {
"description": "device type optional field return results for a specific device type can take the values: desktop, mobile default value: desktop",
"nullable": true,
"type": "string",
"x-original-openapi-description": "device type optional field return results for a specific device type can take the values: desktop , mobile default value: desktop note: for mobile device, only 20 results are returned for every SERP",
"x-required-status": "optional"
},
"keyword": {
"description": "keyword required field you can specify up to 700 characters in the keyword field all %## will be decoded (plus character '+' will be decoded to a space character) if you need to use the \"%\" character for your keyword, please specify it as \"%25\"; if you need to use the “+” character for your keyword, please specify it as “%2B”; learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article",
"type": "string",
"x-original-openapi-description": "keyword required field you can specify up to 700 characters in the keyword field all %## will be decoded (plus character '+' will be decoded to a space character) if you need to use the \"%\" character for your keyword , please specify it as \"%25\"; if you need to use the “+” character for your keyword , please specify it as “%2B”; learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article",
"x-required-status": "required"
},
"language_code": {
"description": "search engine language code required field if you don't specify language_name if you use this field, you don't need to specify language_name you can receive the list of available languages of the search engine with their language_code by making a separate request to the https://api.dataforseo.com/v3/serp/google/languages example: en",
"type": "string",
"x-required-status": "conditional"
},
"language_name": {
"description": "full name of search engine language required field if you don't specify language_code if you use this field, you don't need to specify language_code you can receive the list of available languages of the search engine with their language_name by making a separate request to the https://api.dataforseo.com/v3/serp/google/languages example: English",
"type": "string",
"x-required-status": "conditional"
},
"location_code": {
"description": "search engine location code required field if you don't specify location_name or location_coordinate if you use this field, you don't need to specify location_name or location_coordinate you can receive the list of available locations of the search engines with their location_code by making a separate request to the https://api.dataforseo.com/v3/serp/google/locations example: 2840",
"type": "integer",
"x-required-status": "conditional"
},
"location_coordinate": {
"description": "GPS coordinates of a location required field if you don't specify location_name or location_code if you use this field, you don't need to specify location_name or location_code location_coordinate parameter should be specified in the \"latitude,longitude,zoom\" format if \"zoom\" is not specified, 17z will be applied as a default value the maximum number of decimal digits for \"latitude\" and \"longitude\": 7 the minimum value for \"zoom\": 3z the maximum value for \"zoom\": 21z example: 52.6178549,-155.352142,20z",
"type": "string",
"x-original-openapi-description": "GPS coordinates of a location required field if you don't specify location_name or location_code if you use this field, you don't need to specify location_name or location_code location_coordinate parameter should be specified in the \"latitude,longitude,zoom\" format if \"zoom\" is not specified, 17z will be applied as a default value the maximum number of decimal digits for \"latitude\" and \"longitude\" : 7 the minimum value for \"zoom\" : 3z the maximum value for \"zoom\" : 21z example: 52.6178549,-155.352142,20z",
"x-required-status": "conditional"
},
"location_name": {
"description": "full name of search engine location required field if you don't specify location_code or location_coordinate if you use this field, you don't need to specify location_code or location_coordinate you can receive the list of available locations of the search engine with their location_name by making a separate request to the https://api.dataforseo.com/v3/serp/google/locations example: London,England,United Kingdom",
"type": "string",
"x-required-status": "conditional"
},
"max_crawl_pages": {
"description": "page crawl limit optional field number of search results pages to crawl max value: 100 Note: the max_crawl_pages and depth parameters complement each other; learn more at our help center",
"maximum": 100,
"nullable": true,
"type": "integer",
"x-constraints-from-official-description": [
"maximum"
],
"x-required-status": "optional"
},
"os": {
"description": "device operating system optional field if you specify desktop in the device field, choose from the following values: windows, macos default value: windows if you specify mobile in the device field, choose from the following values: android, ios default value: android",
"nullable": true,
"type": "string",
"x-original-openapi-description": "device operating system optional field if you specify desktop in the device field, choose from the following values: windows , macos default value: windows if you specify mobile in the device field, choose from the following values: android , ios default value: android",
"x-required-status": "optional"
},
"se_domain": {
"description": "search engine domain optional field we choose the relevant search engine domain automatically according to the location and language you specify however, you can set a custom search engine domain in this field example: google.co.uk, google.com.au, google.de, etc.",
"nullable": true,
"type": "string",
"x-original-openapi-description": "search engine domain optional field we choose the relevant search engine domain automatically according to the location and language you specify however, you can set a custom search engine domain in this field example: google.co.uk , google.com.au , google.de , etc.",
"x-required-status": "optional"
},
"search_places": {
"default": true,
"description": "search places mode optional field the search places mode allows to obtain Google Maps results on a certain place (e.g., Apple Store in New York) however, due to the pecularities of our data mining algorithm, this mode might interfere with some local-intent queries - and display results for a location that is different from that specified in the request; to prevent this interference and obtain correct results for keywords with local intent you may set this parameter to false; default value: true Note: if the search_places mode is turned off and no results were found in the search area, the results array will be empty",
"nullable": true,
"type": "boolean",
"x-constraints-from-official-description": [
"default"
],
"x-original-openapi-description": "search places mode optional field the search places mode allows to obtain Google Maps results on a certain place (e.g., Apple Store in New York) however, due to the pecularities of our data mining algorithm, this mode might interfere with some local-intent queries - and display results for a location that is different from that specified in the request; to prevent this interference and obtain correct results for keywords with local intent you may set this parameter to false ; default value: true Note: if the search_places mode is turned off and no results were found in the search area, the results array will be empty",
"x-required-status": "optional"
},
"search_this_area": {
"default": true,
"description": "show results from the displayed area optional field can take the values: true, false default value: true if set to false, the search_this_area mode will be turned off Note: if the search_this_area mode is turned off, Google Maps listings might contain results beyond the displayed area",
"nullable": true,
"type": "boolean",
"x-constraints-from-official-description": [
"default"
],
"x-original-openapi-description": "show results from the displayed area optional field can take the values: true , false default value: true if set to false , the search_this_area mode will be turned off Note: if the search_this_area mode is turned off, Google Maps listings might contain results beyond the displayed area",
"x-required-status": "optional"
},
"tag": {
"description": "user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response",
"nullable": true,
"type": "string",
"x-required-status": "optional"
},
"url": {
"description": "direct URL of the search query optional field you can specify a direct URL and we will sort it out to the necessary fields. Note that this method is the most difficult for our API to process and also requires you to specify the exact language and location in the URL. In most cases, we wouldn’t recommend using this method. example: https://google.com/maps/search/pizza/@37.09024,-95.712891,4z Note: the following search engine parameters are not supported and will be automatically unset if specified in the URL: allinanchor:, allintext:, allintitle:, allinurl:, cache:, define:, definition:, filetype:, id:, inanchor:, info:, intext:, intitle:, inurl:, link:, site:.",
"nullable": true,
"type": "string",
"x-original-openapi-description": "direct URL of the search query optional field you can specify a direct URL and we will sort it out to the necessary fields. Note that this method is the most difficult for our API to process and also requires you to specify the exact language and location in the URL. In most cases, we wouldn’t recommend using this method. example: https://google.com/maps/search/pizza/@37.09024,-95.712891,4z Note: the following search engine parameters are not supported and will be automatically unset if specified in the URL: allinanchor: , allintext: , allintitle: , allinurl: , cache: , define: , definition: , filetype: , id: , inanchor: , info: , intext: , intitle: , inurl: , link: , site: .",
"x-required-status": "optional"
}
},
"required": [
"keyword"
],
"type": "object",
"x-required-origin": "official_required_array_plus_explicit_unconditional_required_field_prose"
},
"maxItems": 1,
"minItems": 1,
"type": "array",
"x-openany-retail-scope": "single_native_task_per_sale_execution",
"x-openapi-version": "3.0.1",
"x-schema-origin": "official_openapi_with_local_refs_rebased"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "array"
}
],
"billing": {
"currency": "USD",
"mode": "rules",
"parameters": [],
"policy_version": 2,
"sale": {
"addons": [],
"base_price_micro_usd": "2000",
"max_cost_micro_usd": "2000",
"quantities": [
{
"id": "task_errors",
"label": "任务错误数必须为零",
"max_quantity": "0",
"measure": "value",
"pointer": "/tasks_error",
"price_micro_usd": "0",
"quantity_scale": 0,
"source": "response",
"unit": "task_error",
"unit_quantity": "1"
}
],
"rounding": "ceil",
"variants": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · 官方历史成对样例(未运行) (HTTP assumed)",
"request": {
"body": [
{
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840
}
],
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"cost": 0.002,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.002,
"data": {
"api": "serp",
"depth": 3,
"device": "desktop",
"function": "live",
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840,
"os": "windows",
"se": "google",
"se_type": "maps"
},
"id": "08021555-1535-0139-0000-462b80e927f7",
"path": [
"v3",
"serp",
"google",
"maps",
"live",
"advanced"
],
"result": [
{
"check_url": "https://google.com/maps/search/albert+einstein/@37.09024,-95.712891,4z?hl=en&gl=US&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
"datetime": "2023-08-02 12:55:43 +00:00",
"item_types": [
"maps_search"
],
"items": [
{
"additional_categories": null,
"address": "6700 NW 35th St, Bethany, OK 73008",
"address_info": {
"address": "6700 NW 35th St",
"borough": "Central Oklahoma City",
"city": "Bethany",
"country_code": "US",
"region": "Oklahoma",
"zip": "73008"
},
"book_online_url": null,
"category": "Tourist attraction",
"category_ids": [
"tourist_attraction"
],
"cid": "12368344280360434538",
"contact_url": null,
"contributor_url": null,
"domain": null,
"feature_id": "0x87b20589791fed49:0xaba52f97ba9e3b6a",
"hotel_rating": null,
"is_claimed": false,
"is_directory_item": false,
"latitude": 35.5064351,
"local_justifications": null,
"longitude": -97.6317255,
"main_image": "https://lh5.googleusercontent.com/p/AF1QipOfM59_liNdL9hmEDbU0_K1uTSv4psbY7rY2bAj=w408-h541-k-no",
"original_title": null,
"phone": null,
"place_id": "ChIJSe0feYkFsocRajueupcvpas",
"price_level": null,
"rank_absolute": 1,
"rank_group": 1,
"rating": null,
"rating_distribution": null,
"snippet": "6700 NW 35th St, Bethany, OK 73008",
"title": "Albert Einstein Statue",
"total_photos": 12,
"type": "maps_search",
"url": null,
"work_hours": {
"current_status": "close",
"timetable": null
}
},
{
"additional_categories": [
"Monument"
],
"address": "2101 Constitution Ave. NW, Washington, DC 20418",
"address_info": {
"address": "2101 Constitution Ave. NW",
"borough": "Northwest Washington",
"city": "Washington",
"country_code": "US",
"region": "District of Columbia",
"zip": "20418"
},
"book_online_url": null,
"category": "Sculpture",
"category_ids": [
"sculpture",
"monument"
],
"cid": "1797269780994265452",
"contact_url": null,
"contributor_url": null,
"domain": "www.nasonline.org",
"feature_id": "0x89b7b7a92a9a9625:0x18f12f57edb5116c",
"hotel_rating": null,
"is_claimed": false,
"is_directory_item": false,
"latitude": 38.8924028,
"local_justifications": null,
"longitude": -77.0484139,
"main_image": "https://lh5.googleusercontent.com/p/AF1QipPyOiGml7eII8LgiYGtPh4wzI7g8GP3fZ9Hzsy8=w408-h306-k-no",
"original_title": null,
"phone": null,
"place_id": "ChIJJZaaKqm3t4kRbBG17Vcv8Rg",
"price_level": null,
"rank_absolute": 2,
"rank_group": 2,
"rating": {
"rating_max": null,
"rating_type": "Max5",
"value": 4.7,
"votes_count": 1283
},
"rating_distribution": {
"1": 4,
"2": 8,
"3": 51,
"4": 194,
"5": 1026
},
"snippet": "2101 Constitution Ave. NW, Washington, DC 20418",
"title": "Albert Einstein Memorial",
"total_photos": 2501,
"type": "maps_search",
"url": "http://www.nasonline.org/about-nas/visiting-nas/nas-building/the-einstein-memorial.html",
"work_hours": {
"current_status": "open",
"timetable": {
"friday": [
{
"close": {
"hour": 0,
"minute": 0
},
"open": {
"hour": 0,
"minute": 0
}
}
],
"monday": [
{
"close": {
"hour": 0,
"minute": 0
},
"open": {
"hour": 0,
"minute": 0
}
}
],
"saturday": [
{
"close": {
"hour": 0,
"minute": 0
},
"open": {
"hour": 0,
"minute": 0
}
}
],
"sunday": [
{
"close": {
"hour": 0,
"minute": 0
},
"open": {
"hour": 0,
"minute": 0
}
}
],
"thursday": [
{
"close": {
"hour": 0,
"minute": 0
},
"open": {
"hour": 0,
"minute": 0
}
}
],
"tuesday": [
{
"close": {
"hour": 0,
"minute": 0
},
"open": {
"hour": 0,
"minute": 0
}
}
],
"wednesday": [
{
"close": {
"hour": 0,
"minute": 0
},
"open": {
"hour": 0,
"minute": 0
}
}
]
}
}
},
{
"additional_categories": null,
"address": "8710 Converse Business Cir, Converse, TX 78109",
"address_info": {
"address": "8710 Converse Business Cir",
"borough": "Northeast Side",
"city": "Converse",
"country_code": "US",
"region": "Texas",
"zip": "78109"
},
"book_online_url": null,
"category": "Business to business service",
"category_ids": [
"business_to_business_service"
],
"cid": "16232860371934609307",
"contact_url": null,
"contributor_url": null,
"domain": "www.alberteinsteingroup.com",
"feature_id": "0x865c8a1e258e02e5:0xe146b480bdad7f9b",
"hotel_rating": null,
"is_claimed": true,
"is_directory_item": false,
"latitude": 29.515755199999997,
"local_justifications": null,
"longitude": -98.3017169,
"main_image": "https://lh5.googleusercontent.com/p/AF1QipMwYCFGMituQ_CohAgfNF6pQPNjt-b-FR96b7xc=w416-h240-k-no",
"original_title": null,
"phone": "+1833-463-3325",
"place_id": "ChIJ5QKOJR6KXIYRm3-tvYC0RuE",
"price_level": null,
"rank_absolute": 3,
"rank_group": 3,
"rating": {
"rating_max": null,
"rating_type": "Max5",
"value": 4,
"votes_count": 4
},
"rating_distribution": {
"1": 1,
"2": 0,
"3": 0,
"4": 0,
"5": 3
},
"snippet": "8710 Converse Business Cir, Converse, TX 78109",
"title": "The Albert Einstein Group, Inc.",
"total_photos": 18,
"type": "maps_search",
"url": "http://www.alberteinsteingroup.com/",
"work_hours": {
"current_status": "close",
"timetable": {
"friday": [
{
"close": {
"hour": 17,
"minute": 0
},
"open": {
"hour": 8,
"minute": 0
}
}
],
"monday": [
{
"close": {
"hour": 17,
"minute": 0
},
"open": {
"hour": 8,
"minute": 0
}
}
],
"saturday": [
{
"close": {
"hour": 12,
"minute": 0
},
"open": {
"hour": 8,
"minute": 0
}
}
],
"sunday": null,
"thursday": [
{
"close": {
"hour": 17,
"minute": 0
},
"open": {
"hour": 8,
"minute": 0
}
}
],
"tuesday": [
{
"close": {
"hour": 17,
"minute": 0
},
"open": {
"hour": 8,
"minute": 0
}
}
],
"wednesday": [
{
"close": {
"hour": 17,
"minute": 0
},
"open": {
"hour": 8,
"minute": 0
}
}
]
}
}
}
],
"items_count": 3,
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840,
"refinement_chips": null,
"se_domain": "google.com",
"se_results_count": 0,
"spell": null,
"type": "maps"
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "4.0299 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "4.0977 sec.",
"version": "0.1.20230705"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Official example · 官方历史成对样例(未运行) (HTTP assumed)
Example from the provider's documentation. Field values in your results will differ.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
body- Live Google Maps SERP provides real-time data on top 100 search engine results for the specified keyword, search engine, and location.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/maps/live/advanced' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '[ { "keyword": "albert einstein", "language_code": "en", "location_code": 2840 } ]'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "cost": 0.002, "status_code": 20000, "status_message": "Ok.", "tasks": [ { "cost": 0.002, "data": { "api": "serp", "depth": 3, "device": "desktop", "function": "live", "keyword": "albert einstein", "language_code": "en", "location_code": 2840, "os": "windows", "se": "google", "se_type": "maps" }, "id": "08021555-1535-0139-0000-462b80e927f7", "path": [ "v3", "serp", "google", "maps", "live", "advanced" ], "result": [ { "check_url": "https://google.com/maps/search/albert+einstein/@37.09024,-95.712891,4z?hl=en&gl=US&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc", "datetime": "2023-08-02 12:55:43 +00:00", "item_types": [ "maps_search" ], "items": [ { "additional_categories": null, "address": "6700 NW 35th St, Bethany, OK 73008", "address_info": { "address": "6700 NW 35th St", "borough": "Central Oklahoma City", "city": "Bethany", "country_code": "US", "region": "Oklahoma", "zip": "73008" }, "book_online_url": null, "category": "Tourist attraction", "category_ids": [ "tourist_attraction" ], "cid": "12368344280360434538", "contact_url": null, "contributor_url": null, "domain": null, "feature_id": "0x87b20589791fed49:0xaba52f97ba9e3b6a", "hotel_rating": null, "is_claimed": false, "is_directory_item": false, "latitude": 35.5064351, "local_justifications": null, "longitude": -97.6317255, "main_image": "https://lh5.googleusercontent.com/p/AF1QipOfM59_liNdL9hmEDbU0_K1uTSv4psbY7rY2bAj=w408-h541-k-no", "original_title": null, "phone": null, "place_id": "ChIJSe0feYkFsocRajueupcvpas", "price_level": null, "rank_absolute": 1, "rank_group": 1, "rating": null, "rating_distribution": null, "snippet": "6700 NW 35th St, Bethany, OK 73008", "title": "Albert Einstein Statue", "total_photos": 12, "type": "maps_search", "url": null, "work_hours": { "current_status": "close", "timetable": null } }, { "additional_categories": [ "Monument" ], "address": "2101 Constitution Ave. NW, Washington, DC 20418", "address_info": { "address": "2101 Constitution Ave. NW", "borough": "Northwest Washington", "city": "Washington", "country_code": "US", "region": "District of Columbia", "zip": "20418" }, "book_online_url": null, "category": "Sculpture", "category_ids": [ "sculpture", "monument" ], "cid": "1797269780994265452", "contact_url": null, "contributor_url": null, "domain": "www.nasonline.org", "feature_id": "0x89b7b7a92a9a9625:0x18f12f57edb5116c", "hotel_rating": null, "is_claimed": false, "is_directory_item": false, "latitude": 38.8924028, "local_justifications": null, "longitude": -77.0484139, "main_image": "https://lh5.googleusercontent.com/p/AF1QipPyOiGml7eII8LgiYGtPh4wzI7g8GP3fZ9Hzsy8=w408-h306-k-no", "original_title": null, "phone": null, "place_id": "ChIJJZaaKqm3t4kRbBG17Vcv8Rg", "price_level": null, "rank_absolute": 2, "rank_group": 2, "rating": { "rating_max": null, "rating_type": "Max5", "value": 4.7, "votes_count": 1283 }, "rating_distribution": { "1": 4, "2": 8, "3": 51, "4": 194, "5": 1026 }, "snippet": "2101 Constitution Ave. NW, Washington, DC 20418", "title": "Albert Einstein Memorial", "total_photos": 2501, "type": "maps_search", "url": "http://www.nasonline.org/about-nas/visiting-nas/nas-building/the-einstein-memorial.html", "work_hours": { "current_status": "open", "timetable": { "friday": [ { "close": { "hour": 0, "minute": 0 }, "open": { "hour": 0, "minute": 0 } } ], "monday": [ { "close": { "hour": 0, "minute": 0 }, "open": { "hour": 0, "minute": 0 } } ], "saturday": [ { "close": { "hour": 0, "minute": 0 }, "open": { "hour": 0, "minute": 0 } } ], "sunday": [ { "close": { "hour": 0, "minute": 0 }, "open": { "hour": 0, "minute": 0 } } ], "thursday": [ { "close": { "hour": 0, "minute": 0 }, "open": { "hour": 0, "minute": 0 } } ], "tuesday": [ { "close": { "hour": 0, "minute": 0 }, "open": { "hour": 0, "minute": 0 } } ], "wednesday": [ { "close": { "hour": 0, "minute": 0 }, "open": { "hour": 0, "minute": 0 } } ] } } }, { "additional_categories": null, "address": "8710 Converse Business Cir, Converse, TX 78109", "address_info": { "address": "8710 Converse Business Cir", "borough": "Northeast Side", "city": "Converse", "country_code": "US", "region": "Texas", "zip": "78109" }, "book_online_url": null, "category": "Business to business service", "category_ids": [ "business_to_business_service" ], "cid": "16232860371934609307", "contact_url": null, "contributor_url": null, "domain": "www.alberteinsteingroup.com", "feature_id": "0x865c8a1e258e02e5:0xe146b480bdad7f9b", "hotel_rating": null, "is_claimed": true, "is_directory_item": false, "latitude": 29.515755199999997, "local_justifications": null, "longitude": -98.3017169, "main_image": "https://lh5.googleusercontent.com/p/AF1QipMwYCFGMituQ_CohAgfNF6pQPNjt-b-FR96b7xc=w416-h240-k-no", "original_title": null, "phone": "+1833-463-3325", "place_id": "ChIJ5QKOJR6KXIYRm3-tvYC0RuE", "price_level": null, "rank_absolute": 3, "rank_group": 3, "rating": { "rating_max": null, "rating_type": "Max5", "value": 4, "votes_count": 4 }, "rating_distribution": { "1": 1, "2": 0, "3": 0, "4": 0, "5": 3 }, "snippet": "8710 Converse Business Cir, Converse, TX 78109", "title": "The Albert Einstein Group, Inc.", "total_photos": 18, "type": "maps_search", "url": "http://www.alberteinsteingroup.com/", "work_hours": { "current_status": "close", "timetable": { "friday": [ { "close": { "hour": 17, "minute": 0 }, "open": { "hour": 8, "minute": 0 } } ], "monday": [ { "close": { "hour": 17, "minute": 0 }, "open": { "hour": 8, "minute": 0 } } ], "saturday": [ { "close": { "hour": 12, "minute": 0 }, "open": { "hour": 8, "minute": 0 } } ], "sunday": null, "thursday": [ { "close": { "hour": 17, "minute": 0 }, "open": { "hour": 8, "minute": 0 } } ], "tuesday": [ { "close": { "hour": 17, "minute": 0 }, "open": { "hour": 8, "minute": 0 } } ], "wednesday": [ { "close": { "hour": 17, "minute": 0 }, "open": { "hour": 8, "minute": 0 } } ] } } } ], "items_count": 3, "keyword": "albert einstein", "language_code": "en", "location_code": 2840, "refinement_chips": null, "se_domain": "google.com", "se_results_count": 0, "spell": null, "type": "maps" } ], "result_count": 1, "status_code": 20000, "status_message": "Ok.", "time": "4.0299 sec." } ], "tasks_count": 1, "tasks_error": 0, "time": "4.0977 sec.", "version": "0.1.20230705" }
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 DataForSEO — Serp / Google / Maps / Live / Advanced with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.