APIAdvertisingData

DataForSEO — Keywords Data / Google Ads / Search Volume / Live

Retrieve keywords Data Google Ads Search Volume Live with the DataForSEO API. The sample response includes keywords and search volumes. Use it to prioritize keywords for content research. Use the results to organize a research workflow and cross-check the relevant source records.

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

DataForSEO — Keywords Data / Google Ads / Search Volume / Live

Prepare your request, then continue with your agent.

Pricing

$0.09 / call

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
Pricing
Connect your agent
On this page

Playground

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

Request parameters
body* array
body[0]* object | null
keywords* array
keywords required field The maximum number of keywords you can specify: 1000 The maximum number of characters for each keyword: 80 The maximum number of words for each keyword phrase: 10 the keywords you specify will be converted to a lowercase format Note #1: Google Ads may return no data for certain groups of keywords; Note #2: Google Ads provides combined search volume values for groups of similar keywords to obtain search volume for similar keywords, we recommend submitting such keywords in separate requests; Note #3: Google Ads doesn't allow using certain symbols and characters (e.g., UTF symbols, emojis), so you can't use them when setting a task; to learn more about which symbols and characters can be used, please refer to this article learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article
Optional parameters (11)
starting date of the time range optional field date format: "yyyy-mm-dd" minimal value: 4 years from the current date by default, data is returned for the past 12 months; Note: the indicated date cannot be greater than that specified in date_to and/or yesterday's date;if Status endpoint returns false in the actual_data field, date_from can be set to the month before last and prior; if Status endpoint returns true in the actual_data field, date_from can be set to the last month and prior
ending date of the time range optional field Note: the indicated date cannot be greater than the past month, Google Ads does not return data on the current month; if you don't specify this field, yesterday's date will be used by default date format: "yyyy-mm-dd" example: "2022-11-30"
include keywords associated with adult content optional field if set to true, adult keywords will be included in the response default value: false note that the API may return no data for such keywords due toGoogle Ads restrictionsn
search engine language code optional field you can receive the list of available languages of the search engine with their language_code by making a separate request to https://api.dataforseo.com/v3/keywords_data/google_ads/languages example: en
full name of search engine language optional field 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/keywords_data/google_ads/languages example: English
search engine location code optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; 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 https://api.dataforseo.com/v3/keywords_data/google_ads/locations example: 2840
GPS coordinates of a location optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; 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" format; the data will be provided for the country the specified coordinates belong to; example: 52.6178549,-155.352142
full name of search engine location optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; 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 https://api.dataforseo.com/v3/keywords_data/google_ads/locations example: London,England,United Kingdom
include Google search partners optional field if you specify true, the results will be delivered for owned, operated, and syndicated networks across Google and partner sites that host Google search; default value: false - results are returned for Google search sites
results sorting parameters optional field use these parameters to sort the results by relevance, search_volume, competition_index, low_top_of_page_bid, or high_top_of_page_bid in the descending order default value: relevance
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 array of the response
‌ Note that Google Ads Keywords Data API is based on the latest version of the Google Ads API that has replaced legacy Google AdWords API. If you’re using DataForSEO Google AdWords API, you need to upgrade to DataForSEO Google Ads API.

Sample response

{
  "cost": 0.075,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.075,
      "data": {
        "api": "keywords_data",
        "date_from": "2021-08-01",
        "function": "search_volume",
        "keywords": [
          "buy laptop",
          "cheap laptops for sale",
          "purchase laptop"
        ],
        "language_code": "en",
        "location_code": 2840,
        "se": "google_ads"
      },
      "id": "11241746-0696-0093-0000-7cbfe5a9637e",
      "path": [
        "v3",
        "keywords_data",
        "google_ads",
        "search_volume",
        "live"
      ],
      "result": [
        {
          "competition": "HIGH",
          "competition_index": 100,
          "high_top_of_page_bid": 265.1,
          "keyword": "buy laptop",
          "language_code": "en",
          "location_code": 2840,
          "low_top_of_page_bid": 41.36,
          "monthly_searches": [
            {
              "month": 10,
              "search_volume": 5400,
              "year": 2021
            },
            {
              "month": 9,
              "search_volume": 5400,
              "year": 2021
            },
            {
              "month": 8,
              "search_volume": 6600,
              "year": 2021
            },
            {
              "month": 7,
              "search_volume": 6600,
              "year": 2021
            }
          ],
          "search_partners": false,
          "search_volume": 6600,
          "spell": null
        },
        {
          "competition": "HIGH",
          "competition_index": 100,
          "high_top_of_page_bid": 181.84,
          "keyword": "cheap laptops for sale",
          "language_code": "en",
          "location_code": 2840,
          "low_top_of_page_bid": 18.53,
          "monthly_searches": [
            {
              "month": 10,
              "search_volume": 9900,
              "year": 2021
            },
            {
              "month": 9,
              "search_volume": 12100,
              "year": 2021
            },
            {
              "month": 8,
              "search_volume": 14800,
              "year": 2021
            },
            {
              "month": 7,
              "search_volume": 12100,
              "year": 2021
            }
          ],
          "search_partners": false,
          "search_volume": 14800,
          "spell": null
        },
        {
          "competition": "HIGH",
          "competition_index": 100,
          "high_top_of_page_bid": 307.54,
          "keyword": "purchase laptop",
          "language_code": "en",
          "location_code": 2840,
          "low_top_of_page_bid": 46.2,
          "monthly_searches": [
            {
              "month": 10,
              "search_volume": 390,
              "year": 2021
            },
            {
              "month": 9,
              "search_volume": 320,
              "year": 2021
            },
            {
              "month": 8,
              "search_volume": 390,
              "year": 2021
            },
            {
              "month": 7,
              "search_volume": 390,
              "year": 2021
            }
          ],
          "search_partners": false,
          "search_volume": 390,
          "spell": null
        }
      ],
      "result_count": 3,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "9.8778 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "9.9426 sec.",
  "version": "0.1.20210917"
}

Response result

Response structure

Inferred from examples
  • costnumber
  • status_codeinteger
  • status_messagestring
  • tasksobject[]
    • costnumber
    • dataobject
      • apistring
      • date_fromstring
      • functionstring
      • keywordsstring[]
      • language_codestring
      • location_codeinteger
      • sestring
    • idstring
    • pathstring[]
    • resultobject[]
      • competitionstring
      • competition_indexinteger
      • high_top_of_page_bidnumber
      • keywordstring
      • language_codestring
      • location_codeinteger
      • low_top_of_page_bidnumber
      • monthly_searchesobject[]
        • monthinteger
        • search_volumeinteger
        • yearinteger
      • search_partnersboolean
      • search_volumeinteger
      • spellnull
    • result_countinteger
    • status_codeinteger
    • status_messagestring
    • timestring
  • tasks_countinteger
  • tasks_errorinteger
  • timestring
  • versionstring

Sellers

SellerPricingRequests · 30dPerformanceAccess
DataForSEOCurrent
DataForSEO — Keywords Data / Google Ads / Search Volume / Live · POST · View API reference
$0.09 / call—
—successP50—
Loading...
Selected pricing · DataForSEOUSD / call
Pricing
$0.09

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/keywords_data/google_ads/search_volume/live
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api.openany.si/v1/agent-apis/dataforseo/v3/keywords_data/google_ads/search_volume/live' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "date_from": "2021-08-01",
    "keywords": [
      "buy laptop",
      "cheap laptops for sale",
      "purchase laptop"
    ],
    "language_code": "en",
    "location_code": 2840
  }
]'

Input parameters

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

ParameterLocationTypeRequiredDescription
bodyJSON request bodybodyarrayYes‌ Note that Google Ads Keywords Data API is based on the latest version of the Google Ads API that has replaced legacy Google AdWords API. If you’re using DataForSEO Google AdWords API, you need to upgrade to DataForSEO Google Ads API.

minItems: 1 · maxItems: 1

Nested fields and variants

body[] · Array item · object

Nested fields and variants
body[].date_from string · Optional

Parent object: body[]

starting date of the time range optional field date format: "yyyy-mm-dd" minimal value: 4 years from the current date by default, data is returned for the past 12 months; Note: the indicated date cannot be greater than that specified in date_to and/or yesterday's date;if Status endpoint returns false in the actual_data field, date_from can be set to the month before last and prior; if Status endpoint returns true in the actual_data field, date_from can be set to the last month and prior
body[].date_to string · Optional

Parent object: body[]

ending date of the time range optional field Note: the indicated date cannot be greater than the past month, Google Ads does not return data on the current month; if you don't specify this field, yesterday's date will be used by default date format: "yyyy-mm-dd" example: "2022-11-30"
body[].include_adult_keywords boolean · Optional

Parent object: body[]

include keywords associated with adult content optional field if set to true, adult keywords will be included in the response default value: false note that the API may return no data for such keywords due toGoogle Ads restrictionsn
body[].keywords array · Required

Parent object: body[]

keywords required field The maximum number of keywords you can specify: 1000 The maximum number of characters for each keyword: 80 The maximum number of words for each keyword phrase: 10 the keywords you specify will be converted to a lowercase format Note #1: Google Ads may return no data for certain groups of keywords; Note #2: Google Ads provides combined search volume values for groups of similar keywords to obtain search volume for similar keywords, we recommend submitting such keywords in separate requests; Note #3: Google Ads doesn't allow using certain symbols and characters (e.g., UTF symbols, emojis), so you can't use them when setting a task; to learn more about which symbols and characters can be used, please refer to this article learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article
Nested fields and variants

body[].keywords[] · Array item · string

body[].language_code string · Optional

Parent object: body[]

search engine language code optional field you can receive the list of available languages of the search engine with their language_code by making a separate request to https://api.dataforseo.com/v3/keywords_data/google_ads/languages example: en
body[].language_name string · Optional

Parent object: body[]

full name of search engine language optional field 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/keywords_data/google_ads/languages example: English
body[].location_code integer · Optional

Parent object: body[]

search engine location code optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; 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 https://api.dataforseo.com/v3/keywords_data/google_ads/locations example: 2840
body[].location_coordinate string · Optional

Parent object: body[]

GPS coordinates of a location optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; 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" format; the data will be provided for the country the specified coordinates belong to; example: 52.6178549,-155.352142
body[].location_name string · Optional

Parent object: body[]

full name of search engine location optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; 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 https://api.dataforseo.com/v3/keywords_data/google_ads/locations example: London,England,United Kingdom
body[].search_partners boolean · Optional

Parent object: body[]

include Google search partners optional field if you specify true, the results will be delivered for owned, operated, and syndicated networks across Google and partner sites that host Google search; default value: false - results are returned for Google search sites
body[].sort_by string · Optional

Parent object: body[]

results sorting parameters optional field use these parameters to sort the results by relevance, search_volume, competition_index, low_top_of_page_bid, or high_top_of_page_bid in the descending order default value: relevance
body[].tag string · Optional

Parent object: body[]

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 array of the response

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

Sample response

Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.

Official example · 官方历史成对样例(未运行)
{
  "cost": 0.075,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.075,
      "data": {
        "api": "keywords_data",
        "date_from": "2021-08-01",
        "function": "search_volume",
        "keywords": [
          "buy laptop",
          "cheap laptops for sale",
          "purchase laptop"
        ],
        "language_code": "en",
        "location_code": 2840,
        "se": "google_ads"
      },
      "id": "11241746-0696-0093-0000-7cbfe5a9637e",
      "path": [
        "v3",
        "keywords_data",
        "google_ads",
        "search_volume",
        "live"
      ],
      "result": [
        {
          "competition": "HIGH",
          "competition_index": 100,
          "high_top_of_page_bid": 265.1,
          "keyword": "buy laptop",
          "language_code": "en",
          "location_code": 2840,
          "low_top_of_page_bid": 41.36,
          "monthly_searches": [
            {
              "month": 10,
              "search_volume": 5400,
              "year": 2021
            },
            {
              "month": 9,
              "search_volume": 5400,
              "year": 2021
            },
            {
              "month": 8,
              "search_volume": 6600,
              "year": 2021
            },
            {
              "month": 7,
              "search_volume": 6600,
              "year": 2021
            }
          ],
          "search_partners": false,
          "search_volume": 6600,
          "spell": null
        },
        {
          "competition": "HIGH",
          "competition_index": 100,
          "high_top_of_page_bid": 181.84,
          "keyword": "cheap laptops for sale",
          "language_code": "en",
          "location_code": 2840,
          "low_top_of_page_bid": 18.53,
          "monthly_searches": [
            {
              "month": 10,
              "search_volume": 9900,
              "year": 2021
            },
            {
              "month": 9,
              "search_volume": 12100,
              "year": 2021
            },
            {
              "month": 8,
              "search_volume": 14800,
              "year": 2021
            },
            {
              "month": 7,
              "search_volume": 12100,
              "year": 2021
            }
          ],
          "search_partners": false,
          "search_volume": 14800,
          "spell": null
        },
        {
          "competition": "HIGH",
          "competition_index": 100,
          "high_top_of_page_bid": 307.54,
          "keyword": "purchase laptop",
          "language_code": "en",
          "location_code": 2840,
          "low_top_of_page_bid": 46.2,
          "monthly_searches": [
            {
              "month": 10,
              "search_volume": 390,
              "year": 2021
            },
            {
              "month": 9,
              "search_volume": 320,
              "year": 2021
            },
            {
              "month": 8,
              "search_volume": 390,
              "year": 2021
            },
            {
              "month": 7,
              "search_volume": 390,
              "year": 2021
            }
          ],
          "search_partners": false,
          "search_volume": 390,
          "spell": null
        }
      ],
      "result_count": 3,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "9.8778 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "9.9426 sec.",
  "version": "0.1.20210917"
}

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.090000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
任务错误数必须为零$0.000000 / billing unitResponse · /tasks_error · Numeric valueAlways0 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.090000.

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
API Markdown
# DataForSEO — Keywords Data / Google Ads / Search Volume / Live

Retrieve keywords Data Google Ads Search Volume Live with the DataForSEO API. The sample response includes keywords and search volumes. Use it to prioritize keywords for content research. Use the results to organize a research workflow and cross-check the relevant source records.
## Available implementations
DataForSEO · DataForSEO — Keywords Data / Google Ads / Search Volume / Live: https://openany.si/markets/apis/capabilities/dataforseo-keywords-data-google-ads-search-volume-live?offering=02ed98ce-33a5-4521-a6b2-340549791a6a · $0.09 / call

## Selected API contract
Documentation: https://openany.si/apis/02ed98ce-33a5-4521-a6b2-340549791a6a
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/dataforseo/v3/keywords_data/google_ads/search_volume/live
Price: $0.09 / 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/keywords_data/google_ads/search_volume/live' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "date_from": "2021-08-01",
    "keywords": [
      "buy laptop",
      "cheap laptops for sale",
      "purchase laptop"
    ],
    "language_code": "en",
    "location_code": 2840
  }
]'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "DataForSEO — Keywords Data / Google Ads / Search Volume / Live",
  "endpoint": "https://api.openany.si/v1/agent-apis/dataforseo/v3/keywords_data/google_ads/search_volume/live",
  "method": "POST",
  "content_type": "application/json",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "‌ Note that Google Ads Keywords Data API is based on the latest version of the Google Ads API that has replaced legacy Google AdWords API. If you’re using DataForSEO Google AdWords API, you need to upgrade to DataForSEO Google Ads API.",
      "json_schema": {
        "example": [
          {
            "date_from": "2021-08-01",
            "keywords": [
              "buy laptop",
              "cheap laptops for sale",
              "purchase laptop"
            ],
            "location_code": 2840,
            "search_partners": true
          }
        ],
        "items": {
          "example": [
            {
              "date_from": "2021-08-01",
              "keywords": [
                "buy laptop",
                "cheap laptops for sale",
                "purchase laptop"
              ],
              "location_code": 2840,
              "search_partners": true
            }
          ],
          "nullable": true,
          "properties": {
            "date_from": {
              "description": "starting date of the time range optional field date format: \"yyyy-mm-dd\" minimal value: 4 years from the current date by default, data is returned for the past 12 months; Note: the indicated date cannot be greater than that specified in date_to and/or yesterday's date;if Status endpoint returns false in the actual_data field, date_from can be set to the month before last and prior; if Status endpoint returns true in the actual_data field, date_from can be set to the last month and prior",
              "nullable": true,
              "type": "string",
              "x-original-openapi-description": "starting date of the time range optional field date format: \"yyyy-mm-dd\" minimal value: 4 years from the current date by default, data is returned for the past 12 months; Note : the indicated date cannot be greater than that specified in date_to and/or yesterday's date;if Status endpoint returns false in the actual_data field, date_from can be set to the month before last and prior; if Status endpoint returns true in the actual_data field, date_from can be set to the last month and prior",
              "x-required-status": "optional"
            },
            "date_to": {
              "description": "ending date of the time range optional field Note: the indicated date cannot be greater than the past month, Google Ads does not return data on the current month; if you don't specify this field, yesterday's date will be used by default date format: \"yyyy-mm-dd\" example: \"2022-11-30\"",
              "nullable": true,
              "type": "string",
              "x-required-status": "optional"
            },
            "include_adult_keywords": {
              "default": false,
              "description": "include keywords associated with adult content optional field if set to true, adult keywords will be included in the response default value: false note that the API may return no data for such keywords due toGoogle Ads restrictionsn",
              "nullable": true,
              "type": "boolean",
              "x-constraints-from-official-description": [
                "default"
              ],
              "x-original-openapi-description": "include keywords associated with adult content optional field if set to_ true , adult keywords will be included in the response default value:_ false note _that the API may return no data for such keywords due to_Google Ads restrictionsn",
              "x-required-status": "optional"
            },
            "keywords": {
              "description": "keywords required field The maximum number of keywords you can specify: 1000 The maximum number of characters for each keyword: 80 The maximum number of words for each keyword phrase: 10 the keywords you specify will be converted to a lowercase format Note #1: Google Ads may return no data for certain groups of keywords; Note #2: Google Ads provides combined search volume values for groups of similar keywords to obtain search volume for similar keywords, we recommend submitting such keywords in separate requests; Note #3: Google Ads doesn't allow using certain symbols and characters (e.g., UTF symbols, emojis), so you can't use them when setting a task; to learn more about which symbols and characters can be used, please refer to this article learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article",
              "items": {
                "type": "string"
              },
              "type": "array",
              "x-required-status": "required"
            },
            "language_code": {
              "description": "search engine language code optional field you can receive the list of available languages of the search engine with their language_code by making a separate request to https://api.dataforseo.com/v3/keywords_data/google_ads/languages example: en",
              "nullable": true,
              "type": "string",
              "x-required-status": "optional"
            },
            "language_name": {
              "description": "full name of search engine language optional field 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/keywords_data/google_ads/languages example: English",
              "nullable": true,
              "type": "string",
              "x-required-status": "optional"
            },
            "location_code": {
              "description": "search engine location code optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; 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 https://api.dataforseo.com/v3/keywords_data/google_ads/locations example: 2840",
              "nullable": true,
              "type": "integer",
              "x-original-openapi-description": "search engine location code optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; 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 https://api.dataforseo.com/v3/keywords_data/google_ads/locations example: 2840",
              "x-required-status": "optional"
            },
            "location_coordinate": {
              "description": "GPS coordinates of a location optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; 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\" format; the data will be provided for the country the specified coordinates belong to; example: 52.6178549,-155.352142",
              "nullable": true,
              "type": "string",
              "x-original-openapi-description": "GPS coordinates of a location optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; 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\" format; the data will be provided for the country the specified coordinates belong to ; example: 52.6178549,-155.352142",
              "x-required-status": "optional"
            },
            "location_name": {
              "description": "full name of search engine location optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; 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 https://api.dataforseo.com/v3/keywords_data/google_ads/locations example: London,England,United Kingdom",
              "nullable": true,
              "type": "string",
              "x-required-status": "optional"
            },
            "search_partners": {
              "default": false,
              "description": "include Google search partners optional field if you specify true, the results will be delivered for owned, operated, and syndicated networks across Google and partner sites that host Google search; default value: false - results are returned for Google search sites",
              "nullable": true,
              "type": "boolean",
              "x-constraints-from-official-description": [
                "default"
              ],
              "x-original-openapi-description": "include Google search partners optional field if you specify true , the results will be delivered for owned, operated, and syndicated networks across Google and partner sites that host Google search; default value: false - results are returned for Google search sites",
              "x-required-status": "optional"
            },
            "sort_by": {
              "description": "results sorting parameters optional field use these parameters to sort the results by relevance, search_volume, competition_index, low_top_of_page_bid, or high_top_of_page_bid in the descending order default value: relevance",
              "nullable": true,
              "type": "string",
              "x-original-openapi-description": "results sorting parameters optional field use these parameters to sort the results by relevance , search_volume , competition_index , low_top_of_page_bid , or high_top_of_page_bid in the descending order default value: relevance",
              "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 array of the response",
              "nullable": true,
              "type": "string",
              "x-required-status": "optional"
            }
          },
          "required": [
            "keywords"
          ],
          "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": "90000",
      "max_cost_micro_usd": "90000",
      "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 · 官方历史成对样例(未运行)",
      "request": {
        "body": [
          {
            "date_from": "2021-08-01",
            "keywords": [
              "buy laptop",
              "cheap laptops for sale",
              "purchase laptop"
            ],
            "language_code": "en",
            "location_code": 2840
          }
        ],
        "headers": {},
        "path": {},
        "query": {}
      },
      "response_body": {
        "cost": 0.075,
        "status_code": 20000,
        "status_message": "Ok.",
        "tasks": [
          {
            "cost": 0.075,
            "data": {
              "api": "keywords_data",
              "date_from": "2021-08-01",
              "function": "search_volume",
              "keywords": [
                "buy laptop",
                "cheap laptops for sale",
                "purchase laptop"
              ],
              "language_code": "en",
              "location_code": 2840,
              "se": "google_ads"
            },
            "id": "11241746-0696-0093-0000-7cbfe5a9637e",
            "path": [
              "v3",
              "keywords_data",
              "google_ads",
              "search_volume",
              "live"
            ],
            "result": [
              {
                "competition": "HIGH",
                "competition_index": 100,
                "high_top_of_page_bid": 265.1,
                "keyword": "buy laptop",
                "language_code": "en",
                "location_code": 2840,
                "low_top_of_page_bid": 41.36,
                "monthly_searches": [
                  {
                    "month": 10,
                    "search_volume": 5400,
                    "year": 2021
                  },
                  {
                    "month": 9,
                    "search_volume": 5400,
                    "year": 2021
                  },
                  {
                    "month": 8,
                    "search_volume": 6600,
                    "year": 2021
                  },
                  {
                    "month": 7,
                    "search_volume": 6600,
                    "year": 2021
                  }
                ],
                "search_partners": false,
                "search_volume": 6600,
                "spell": null
              },
              {
                "competition": "HIGH",
                "competition_index": 100,
                "high_top_of_page_bid": 181.84,
                "keyword": "cheap laptops for sale",
                "language_code": "en",
                "location_code": 2840,
                "low_top_of_page_bid": 18.53,
                "monthly_searches": [
                  {
                    "month": 10,
                    "search_volume": 9900,
                    "year": 2021
                  },
                  {
                    "month": 9,
                    "search_volume": 12100,
                    "year": 2021
                  },
                  {
                    "month": 8,
                    "search_volume": 14800,
                    "year": 2021
                  },
                  {
                    "month": 7,
                    "search_volume": 12100,
                    "year": 2021
                  }
                ],
                "search_partners": false,
                "search_volume": 14800,
                "spell": null
              },
              {
                "competition": "HIGH",
                "competition_index": 100,
                "high_top_of_page_bid": 307.54,
                "keyword": "purchase laptop",
                "language_code": "en",
                "location_code": 2840,
                "low_top_of_page_bid": 46.2,
                "monthly_searches": [
                  {
                    "month": 10,
                    "search_volume": 390,
                    "year": 2021
                  },
                  {
                    "month": 9,
                    "search_volume": 320,
                    "year": 2021
                  },
                  {
                    "month": 8,
                    "search_volume": 390,
                    "year": 2021
                  },
                  {
                    "month": 7,
                    "search_volume": 390,
                    "year": 2021
                  }
                ],
                "search_partners": false,
                "search_volume": 390,
                "spell": null
              }
            ],
            "result_count": 3,
            "status_code": 20000,
            "status_message": "Ok.",
            "time": "9.8778 sec."
          }
        ],
        "tasks_count": 1,
        "tasks_error": 0,
        "time": "9.9426 sec.",
        "version": "0.1.20210917"
      }
    }
  ]
}
```

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

Official example · 官方历史成对样例(未运行)

Example from the provider's documentation. Field values in your results will differ.

  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 1

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

    body
    ‌ Note that Google Ads Keywords Data API is based on the latest version of the Google Ads API that has replaced legacy Google AdWords API. If you’re using DataForSEO Google AdWords API, you need to upgrade to DataForSEO Google Ads API.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/dataforseo/v3/keywords_data/google_ads/search_volume/live' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '[
      {
        "date_from": "2021-08-01",
        "keywords": [
          "buy laptop",
          "cheap laptops for sale",
          "purchase laptop"
        ],
        "language_code": "en",
        "location_code": 2840
      }
    ]'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "cost": 0.075,
      "status_code": 20000,
      "status_message": "Ok.",
      "tasks": [
        {
          "cost": 0.075,
          "data": {
            "api": "keywords_data",
            "date_from": "2021-08-01",
            "function": "search_volume",
            "keywords": [
              "buy laptop",
              "cheap laptops for sale",
              "purchase laptop"
            ],
            "language_code": "en",
            "location_code": 2840,
            "se": "google_ads"
          },
          "id": "11241746-0696-0093-0000-7cbfe5a9637e",
          "path": [
            "v3",
            "keywords_data",
            "google_ads",
            "search_volume",
            "live"
          ],
          "result": [
            {
              "competition": "HIGH",
              "competition_index": 100,
              "high_top_of_page_bid": 265.1,
              "keyword": "buy laptop",
              "language_code": "en",
              "location_code": 2840,
              "low_top_of_page_bid": 41.36,
              "monthly_searches": [
                {
                  "month": 10,
                  "search_volume": 5400,
                  "year": 2021
                },
                {
                  "month": 9,
                  "search_volume": 5400,
                  "year": 2021
                },
                {
                  "month": 8,
                  "search_volume": 6600,
                  "year": 2021
                },
                {
                  "month": 7,
                  "search_volume": 6600,
                  "year": 2021
                }
              ],
              "search_partners": false,
              "search_volume": 6600,
              "spell": null
            },
            {
              "competition": "HIGH",
              "competition_index": 100,
              "high_top_of_page_bid": 181.84,
              "keyword": "cheap laptops for sale",
              "language_code": "en",
              "location_code": 2840,
              "low_top_of_page_bid": 18.53,
              "monthly_searches": [
                {
                  "month": 10,
                  "search_volume": 9900,
                  "year": 2021
                },
                {
                  "month": 9,
                  "search_volume": 12100,
                  "year": 2021
                },
                {
                  "month": 8,
                  "search_volume": 14800,
                  "year": 2021
                },
                {
                  "month": 7,
                  "search_volume": 12100,
                  "year": 2021
                }
              ],
              "search_partners": false,
              "search_volume": 14800,
              "spell": null
            },
            {
              "competition": "HIGH",
              "competition_index": 100,
              "high_top_of_page_bid": 307.54,
              "keyword": "purchase laptop",
              "language_code": "en",
              "location_code": 2840,
              "low_top_of_page_bid": 46.2,
              "monthly_searches": [
                {
                  "month": 10,
                  "search_volume": 390,
                  "year": 2021
                },
                {
                  "month": 9,
                  "search_volume": 320,
                  "year": 2021
                },
                {
                  "month": 8,
                  "search_volume": 390,
                  "year": 2021
                },
                {
                  "month": 7,
                  "search_volume": 390,
                  "year": 2021
                }
              ],
              "search_partners": false,
              "search_volume": 390,
              "spell": null
            }
          ],
          "result_count": 3,
          "status_code": 20000,
          "status_message": "Ok.",
          "time": "9.8778 sec."
        }
      ],
      "tasks_count": 1,
      "tasks_error": 0,
      "time": "9.9426 sec.",
      "version": "0.1.20210917"
    }

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 — Keywords Data / Google Ads / Search Volume / Live with your agent

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