DataForSEO — Serp / Google / Autocomplete / Live / Advanced
Retrieve serp Google Autocomplete 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 / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
DataForSEO — Serp / Google / Autocomplete / Live / Advanced
Prepare your request, then continue with your agent.
Pricing
$0.002 / call
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
costnumberstatus_codeintegerstatus_messagestringtasksobject[]costnumberdataobjectapistringclientstringdevicestringfunctionstringkeywordstringlanguage_codestringlocation_codeintegerosstringsestringse_typestring
idstringpathstring[]resultobject[]check_urlstringdatetimestringitem_typesstring[]itemsobject[]highlightednull | string[]rank_absoluteintegerrank_groupintegerrelevancenullsearch_query_urlstringsuggestionstringsuggestion_typenullthumbnail_urlstring | nulltypestring
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;
client?: string;
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<{
highlighted?: null | Array<string>;
rank_absolute?: number;
rank_group?: number;
relevance?: null;
search_query_url?: string;
suggestion?: string;
suggestion_type?: null;
thumbnail_url?: string | null;
type?: string;
}>;
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;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
DataForSEOCurrent DataForSEO — Serp / Google / Autocomplete / Live / Advanced · POST · View API reference | $0.002 / call | — | —successP50— |
- Pricing
- $0.002
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
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: 3. Price update time: not supplied.
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/autocomplete/live/advanced- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/autocomplete/live/advanced' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"client": "gws-wiz-serp",
"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 | Google Autocomplete is a feature within Google Search that improves the search experience by allowing users to complete searches they started to type. DataForSEO SERP API will provide you with all the suggestions Google Autocomplete offers for a particular keyword, the position of the cursor pointer, and the search client. 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",
"client": "gws-wiz-serp",
"device": "desktop",
"function": "live",
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840,
"os": "windows",
"se": "google",
"se_type": "autocomplete"
},
"id": "05302148-1535-0139-0000-6ff42f88c792",
"path": [
"v3",
"serp",
"google",
"autocomplete",
"live",
"advanced"
],
"result": [
{
"check_url": "https://google.com/search?q=albert+einstein&hl=en&gl=US&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
"datetime": "2024-05-30 18:49:01 +00:00",
"item_types": [
"autocomplete"
],
"items": [
{
"highlighted": null,
"rank_absolute": 1,
"rank_group": 1,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein",
"suggestion": "albert einstein",
"suggestion_type": null,
"thumbnail_url": "http://t0.gstatic.com/images?q=tbn:ANd9GcSFn2iZxs3MN8ja-4Gx7maVbATd52RTpRCrJ-WljxMFWeszvflAZjtziuiRdQ&s=10",
"type": "autocomplete"
},
{
"highlighted": null,
"rank_absolute": 2,
"rank_group": 2,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+college+of+medicine",
"suggestion": "albert einstein college of medicine",
"suggestion_type": null,
"thumbnail_url": "http://t0.gstatic.com/images?q=tbn:ANd9GcSa9iqJoNmJhras1iH1oiUx2UMCZVM_5VFmPjJXvE-K&s=10",
"type": "autocomplete"
},
{
"highlighted": [
"iq"
],
"rank_absolute": 3,
"rank_group": 3,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+iq",
"suggestion": "albert einstein iq",
"suggestion_type": null,
"thumbnail_url": null,
"type": "autocomplete"
},
{
"highlighted": [
"death"
],
"rank_absolute": 4,
"rank_group": 4,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+death",
"suggestion": "albert einstein death",
"suggestion_type": null,
"thumbnail_url": null,
"type": "autocomplete"
},
{
"highlighted": null,
"rank_absolute": 5,
"rank_group": 5,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+quotes",
"suggestion": "albert einstein quotes",
"suggestion_type": null,
"thumbnail_url": "http://t0.gstatic.com/images?q=tbn:ANd9GcRnmMaYbKfIi4s248o1yaRqUZUCsaoJxjiS4BA_s2d8h-WKhBkVbPU98CW-Xw&s=10",
"type": "autocomplete"
},
{
"highlighted": [
"news"
],
"rank_absolute": 6,
"rank_group": 6,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+news",
"suggestion": "albert einstein news",
"suggestion_type": null,
"thumbnail_url": null,
"type": "autocomplete"
},
{
"highlighted": [
"wife"
],
"rank_absolute": 7,
"rank_group": 7,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+wife",
"suggestion": "albert einstein wife",
"suggestion_type": null,
"thumbnail_url": null,
"type": "autocomplete"
},
{
"highlighted": [
"brain"
],
"rank_absolute": 8,
"rank_group": 8,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+brain",
"suggestion": "albert einstein brain",
"suggestion_type": null,
"thumbnail_url": null,
"type": "autocomplete"
},
{
"highlighted": [
"inventions"
],
"rank_absolute": 9,
"rank_group": 9,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+inventions",
"suggestion": "albert einstein inventions",
"suggestion_type": null,
"thumbnail_url": null,
"type": "autocomplete"
},
{
"highlighted": [
"hospital"
],
"rank_absolute": 10,
"rank_group": 10,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+hospital",
"suggestion": "albert einstein hospital",
"suggestion_type": null,
"thumbnail_url": null,
"type": "autocomplete"
}
],
"items_count": 10,
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840,
"refinement_chips": null,
"se_domain": "google.com",
"se_results_count": 0,
"spell": null,
"type": "autocomplete"
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "2.0246 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "2.0961 sec.",
"version": "0.1.20240514"
}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 / Autocomplete / Live / Advanced
Retrieve serp Google Autocomplete 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 / Autocomplete / Live / Advanced: https://openany.si/markets/apis/capabilities/dataforseo-serp-google-autocomplete-live-advanced?offering=575021fb-eda9-40ab-993c-3114b772ac73 · $0.002 / call
## Selected API contract
Documentation: https://openany.si/apis/575021fb-eda9-40ab-993c-3114b772ac73
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/autocomplete/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/autocomplete/live/advanced' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"client": "gws-wiz-serp",
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840
}
]'
```
## API contract
```json
{
"resource_type": "api",
"name": "DataForSEO — Serp / Google / Autocomplete / Live / Advanced",
"endpoint": "https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/autocomplete/live/advanced",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": " Google Autocomplete is a feature within Google Search that improves the search experience by allowing users to complete searches they started to type. DataForSEO SERP API will provide you with all the suggestions Google Autocomplete offers for a particular keyword, the position of the cursor pointer, and the search client.",
"json_schema": {
"example": [
{
"client": "gws-wiz-serp",
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840
}
],
"items": {
"example": [
{
"client": "gws-wiz-serp",
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840
}
],
"nullable": true,
"properties": {
"client": {
"description": "search client for autocomplete optional field autocomplete results may differ depending on the search client; possible values: chrome — used when google search is opened in google chrome; chrome-omni — used in the address bar in chrome; gws-wiz — used in google search home page; gws-wiz-serp — used in google search engine results page; safari — used when google search is opened in safari browser; firefox — used when google search is opened in firefox browser; psy-ab — may be used when google search is opened in google chrome browser; toolbar — returns XML; youtube — returns JSONP; gws-wiz-local — used in google local; img — used in google's image search; products-cc — used in google shopping search",
"nullable": true,
"type": "string",
"x-required-status": "optional"
},
"cursor_pointer": {
"description": "search bar cursor pointer optional field the horizontal numerical position of the cursor pointer within the keyword in the search bar; by modifying the position of the cursor pointer, you will obtain different autocomplete suggestions for the same seed keyword; minimal value: 0 default value: the number of the last character of the specified keyword example: |which query are s - \"cursor_pointer\": 0 which query is s| - \"cursor_pointer\": 16 which que|ry is s - \"cursor_pointer\": 9",
"nullable": true,
"type": "integer",
"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-original-openapi-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",
"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 https://api.dataforseo.com/v3/serp/google/languages example: English",
"type": "string",
"x-original-openapi-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 https://api.dataforseo.com/v3/serp/google/languages example: English",
"x-required-status": "conditional"
},
"location_code": {
"description": "search engine location code required field if you don't specify location_name; you can receive the list of available locations of the search engines with their location_code by making a separate request to https://api.dataforseo.com/v3/serp/google/locations example: 2840",
"type": "integer",
"x-original-openapi-description": "search engine location code required field if you don't specify location_name ; you can receive the list of available locations of the search engines with their location_code by making a separate request to https://api.dataforseo.com/v3/serp/google/locations example: 2840",
"x-required-status": "conditional"
},
"location_name": {
"description": "full name of search engine location required field if you don't specify location_code if you use this field, you don't need to specify location_code; you can receive the list of available locations of the search engine with their location_name by making a separate request to https://api.dataforseo.com/v3/serp/google/autocomplete/locations example: London,England,United Kingdom",
"type": "string",
"x-original-openapi-description": "full name of search engine location required field if you don't specify location_code if you use this field, you don't need to specify location_code ; you can receive the list of available locations of the search engine with their location_name by making a separate request to https://api.dataforseo.com/v3/serp/google/autocomplete/locations example: London,England,United Kingdom",
"x-required-status": "conditional"
},
"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"
}
},
"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": [
{
"client": "gws-wiz-serp",
"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",
"client": "gws-wiz-serp",
"device": "desktop",
"function": "live",
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840,
"os": "windows",
"se": "google",
"se_type": "autocomplete"
},
"id": "05302148-1535-0139-0000-6ff42f88c792",
"path": [
"v3",
"serp",
"google",
"autocomplete",
"live",
"advanced"
],
"result": [
{
"check_url": "https://google.com/search?q=albert+einstein&hl=en&gl=US&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
"datetime": "2024-05-30 18:49:01 +00:00",
"item_types": [
"autocomplete"
],
"items": [
{
"highlighted": null,
"rank_absolute": 1,
"rank_group": 1,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein",
"suggestion": "albert einstein",
"suggestion_type": null,
"thumbnail_url": "http://t0.gstatic.com/images?q=tbn:ANd9GcSFn2iZxs3MN8ja-4Gx7maVbATd52RTpRCrJ-WljxMFWeszvflAZjtziuiRdQ&s=10",
"type": "autocomplete"
},
{
"highlighted": null,
"rank_absolute": 2,
"rank_group": 2,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+college+of+medicine",
"suggestion": "albert einstein college of medicine",
"suggestion_type": null,
"thumbnail_url": "http://t0.gstatic.com/images?q=tbn:ANd9GcSa9iqJoNmJhras1iH1oiUx2UMCZVM_5VFmPjJXvE-K&s=10",
"type": "autocomplete"
},
{
"highlighted": [
"iq"
],
"rank_absolute": 3,
"rank_group": 3,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+iq",
"suggestion": "albert einstein iq",
"suggestion_type": null,
"thumbnail_url": null,
"type": "autocomplete"
},
{
"highlighted": [
"death"
],
"rank_absolute": 4,
"rank_group": 4,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+death",
"suggestion": "albert einstein death",
"suggestion_type": null,
"thumbnail_url": null,
"type": "autocomplete"
},
{
"highlighted": null,
"rank_absolute": 5,
"rank_group": 5,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+quotes",
"suggestion": "albert einstein quotes",
"suggestion_type": null,
"thumbnail_url": "http://t0.gstatic.com/images?q=tbn:ANd9GcRnmMaYbKfIi4s248o1yaRqUZUCsaoJxjiS4BA_s2d8h-WKhBkVbPU98CW-Xw&s=10",
"type": "autocomplete"
},
{
"highlighted": [
"news"
],
"rank_absolute": 6,
"rank_group": 6,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+news",
"suggestion": "albert einstein news",
"suggestion_type": null,
"thumbnail_url": null,
"type": "autocomplete"
},
{
"highlighted": [
"wife"
],
"rank_absolute": 7,
"rank_group": 7,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+wife",
"suggestion": "albert einstein wife",
"suggestion_type": null,
"thumbnail_url": null,
"type": "autocomplete"
},
{
"highlighted": [
"brain"
],
"rank_absolute": 8,
"rank_group": 8,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+brain",
"suggestion": "albert einstein brain",
"suggestion_type": null,
"thumbnail_url": null,
"type": "autocomplete"
},
{
"highlighted": [
"inventions"
],
"rank_absolute": 9,
"rank_group": 9,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+inventions",
"suggestion": "albert einstein inventions",
"suggestion_type": null,
"thumbnail_url": null,
"type": "autocomplete"
},
{
"highlighted": [
"hospital"
],
"rank_absolute": 10,
"rank_group": 10,
"relevance": null,
"search_query_url": "https://www.google.com/search?q=albert+einstein+hospital",
"suggestion": "albert einstein hospital",
"suggestion_type": null,
"thumbnail_url": null,
"type": "autocomplete"
}
],
"items_count": 10,
"keyword": "albert einstein",
"language_code": "en",
"location_code": 2840,
"refinement_chips": null,
"se_domain": "google.com",
"se_results_count": 0,
"spell": null,
"type": "autocomplete"
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "2.0246 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "2.0961 sec.",
"version": "0.1.20240514"
}
}
]
}
```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. |
Examples
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- Google Autocomplete is a feature within Google Search that improves the search experience by allowing users to complete searches they started to type. DataForSEO SERP API will provide you with all the suggestions Google Autocomplete offers for a particular keyword, the position of the cursor pointer, and the search client.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/dataforseo/v3/serp/google/autocomplete/live/advanced' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '[ { "client": "gws-wiz-serp", "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", "client": "gws-wiz-serp", "device": "desktop", "function": "live", "keyword": "albert einstein", "language_code": "en", "location_code": 2840, "os": "windows", "se": "google", "se_type": "autocomplete" }, "id": "05302148-1535-0139-0000-6ff42f88c792", "path": [ "v3", "serp", "google", "autocomplete", "live", "advanced" ], "result": [ { "check_url": "https://google.com/search?q=albert+einstein&hl=en&gl=US&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc", "datetime": "2024-05-30 18:49:01 +00:00", "item_types": [ "autocomplete" ], "items": [ { "highlighted": null, "rank_absolute": 1, "rank_group": 1, "relevance": null, "search_query_url": "https://www.google.com/search?q=albert+einstein", "suggestion": "albert einstein", "suggestion_type": null, "thumbnail_url": "http://t0.gstatic.com/images?q=tbn:ANd9GcSFn2iZxs3MN8ja-4Gx7maVbATd52RTpRCrJ-WljxMFWeszvflAZjtziuiRdQ&s=10", "type": "autocomplete" }, { "highlighted": null, "rank_absolute": 2, "rank_group": 2, "relevance": null, "search_query_url": "https://www.google.com/search?q=albert+einstein+college+of+medicine", "suggestion": "albert einstein college of medicine", "suggestion_type": null, "thumbnail_url": "http://t0.gstatic.com/images?q=tbn:ANd9GcSa9iqJoNmJhras1iH1oiUx2UMCZVM_5VFmPjJXvE-K&s=10", "type": "autocomplete" }, { "highlighted": [ "iq" ], "rank_absolute": 3, "rank_group": 3, "relevance": null, "search_query_url": "https://www.google.com/search?q=albert+einstein+iq", "suggestion": "albert einstein iq", "suggestion_type": null, "thumbnail_url": null, "type": "autocomplete" }, { "highlighted": [ "death" ], "rank_absolute": 4, "rank_group": 4, "relevance": null, "search_query_url": "https://www.google.com/search?q=albert+einstein+death", "suggestion": "albert einstein death", "suggestion_type": null, "thumbnail_url": null, "type": "autocomplete" }, { "highlighted": null, "rank_absolute": 5, "rank_group": 5, "relevance": null, "search_query_url": "https://www.google.com/search?q=albert+einstein+quotes", "suggestion": "albert einstein quotes", "suggestion_type": null, "thumbnail_url": "http://t0.gstatic.com/images?q=tbn:ANd9GcRnmMaYbKfIi4s248o1yaRqUZUCsaoJxjiS4BA_s2d8h-WKhBkVbPU98CW-Xw&s=10", "type": "autocomplete" }, { "highlighted": [ "news" ], "rank_absolute": 6, "rank_group": 6, "relevance": null, "search_query_url": "https://www.google.com/search?q=albert+einstein+news", "suggestion": "albert einstein news", "suggestion_type": null, "thumbnail_url": null, "type": "autocomplete" }, { "highlighted": [ "wife" ], "rank_absolute": 7, "rank_group": 7, "relevance": null, "search_query_url": "https://www.google.com/search?q=albert+einstein+wife", "suggestion": "albert einstein wife", "suggestion_type": null, "thumbnail_url": null, "type": "autocomplete" }, { "highlighted": [ "brain" ], "rank_absolute": 8, "rank_group": 8, "relevance": null, "search_query_url": "https://www.google.com/search?q=albert+einstein+brain", "suggestion": "albert einstein brain", "suggestion_type": null, "thumbnail_url": null, "type": "autocomplete" }, { "highlighted": [ "inventions" ], "rank_absolute": 9, "rank_group": 9, "relevance": null, "search_query_url": "https://www.google.com/search?q=albert+einstein+inventions", "suggestion": "albert einstein inventions", "suggestion_type": null, "thumbnail_url": null, "type": "autocomplete" }, { "highlighted": [ "hospital" ], "rank_absolute": 10, "rank_group": 10, "relevance": null, "search_query_url": "https://www.google.com/search?q=albert+einstein+hospital", "suggestion": "albert einstein hospital", "suggestion_type": null, "thumbnail_url": null, "type": "autocomplete" } ], "items_count": 10, "keyword": "albert einstein", "language_code": "en", "location_code": 2840, "refinement_chips": null, "se_domain": "google.com", "se_results_count": 0, "spell": null, "type": "autocomplete" } ], "result_count": 1, "status_code": 20000, "status_message": "Ok.", "time": "2.0246 sec." } ], "tasks_count": 1, "tasks_error": 0, "time": "2.0961 sec.", "version": "0.1.20240514" }