OpenAny
Get API keyAPI Key
APIAdvertisingData

Google logo
Keywords Data / Google Ads / Ad Traffic By Keywords / Live API

Query Keywords Data / Google Ads / Ad Traffic By Keywords / Live data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by DataForSEO, configure supported query parameters and filters, and retrieve structured data including returned cost field, returned status code field, returned status message field, business payload, and identifier to search interfaces and source review, and integration reference.

Selected price
$0.09 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Keywords Data / Google Ads / Ad Traffic By Keywords / Live API

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
API
Pricing
Connect your agent
On this page

Overview

Overview
Keywords Data / Google Ads / Ad Traffic By Keywords / Live API

Keywords Data / Google Ads / Ad Traffic By Keywords / Live API

Retrieve keywords Data Google Ads Ad Traffic By Keywords Live with the DataForSEO API. Provide JSON payload in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs body: body
Selected implementation dataforseo · DataForSEO — Keywords Data / Google Ads / Ad Traffic By Keywords / Live
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

What You Can Build

  • Search interfaces and source review: Keep returned sources and query context together.
  • Integration reference: Use the selected request format and keep source identifiers with the returned result.

Documented Response Fields

Field Meaning
cost Returned cost field
status_code Returned status code field
status_message Returned status message field
tasks[].data Business payload
tasks[].id Identifier
tasks[].result Returned result
tasks[].cost Returned cost field
tasks[].path Returned path field

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/dataforseo/v3/keywords_data/google_ads/ad_traffic_by_keywords/live' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "bid": 999,
    "keywords": [
      "buy laptop",
      "cheap laptops for sale",
      "purchase laptop"
    ],
    "language_code": "en",
    "location_code": 2840,
    "match": "exact"
  }
]'

Request and Response Examples

The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.

Published Keywords Data / Google Ads / Ad Traffic By Keywords / Live API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

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

Request parameters
body* array
body[0]* object | null
the maximum custom bid required field the collected data will be based on this value it stands for the price you are willing to pay for an ad; the higher value you specify here, the higher values you will get in the returned metrics learn more in this help center article
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: Google Ads may return no data for certain groups of keywords visit our Help Center to learn more Also note that 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
keywords match-type required field can take the following values: exact, broad, phrase
Optional parameters (10)
starting date of the forecasting time range required field if you specify date_to if you indicate date_from and date_to, you don't need to specify date_interval minimum value is tomorrow's date the value you specify in date_from shouldn't be further than date_to date format: "yyyy-mm-dd" example: "2021-10-30"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
forecasting date interval optional field if you specify date_interval, you don't need to indicate date_from and date_to possible values: next_week, next_month, next_quarter default value: next_month
ending date of the forecasting time range required field if you specify date_from if you indicate date_from and date_to, you don't need to specify date_interval minimum value is date_from +1 day maximum value is current day and month of the next year date format: "yyyy-mm-dd" example: "2022-10-30"
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
results sorting parameters optional field Use these parameters to sort the results by relevance, impressions, ctr, average_cpc, cost, or clicks 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 object of the response
Forecast Google Ads campaign impressions, CPC and clicks for the supplied keywords and selected future period.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
DataForSEOCurrent
DataForSEO — Keywords Data / Google Ads / Ad Traffic By Keywords / Live · POST · View API reference
$0.09 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
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: 4. Price update time: not supplied.

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/dataforseo/v3/keywords_data/google_ads/ad_traffic_by_keywords/live
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

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

ParameterLocationTypeRequiredDescription
bodyJSON request bodybodyarrayYes

Forecast Google Ads campaign impressions, CPC and clicks for the supplied keywords and selected future period.

minItems: 1 · maxItems: 1

Nested fields and variants

body[] · Array item · object

Nested fields and variants
body[].bid integer · Required

Parent object: body[]

the maximum custom bid required field the collected data will be based on this value it stands for the price you are willing to pay for an ad; the higher value you specify here, the higher values you will get in the returned metrics learn more in this help center article

format: int64

body[].date_from string · Optional

Parent object: body[]

starting date of the forecasting time range required field if you specify date_to if you indicate date_from and date_to, you don't need to specify date_interval minimum value is tomorrow's date the value you specify in date_from shouldn't be further than date_to date format: "yyyy-mm-dd" example: "2021-10-30"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_interval string · Optional

Parent object: body[]

forecasting date interval optional field if you specify date_interval, you don't need to indicate date_from and date_to possible values: next_week, next_month, next_quarter default value: next_month
body[].date_to string · Optional

Parent object: body[]

ending date of the forecasting time range required field if you specify date_from if you indicate date_from and date_to, you don't need to specify date_interval minimum value is date_from +1 day maximum value is current day and month of the next year date format: "yyyy-mm-dd" example: "2022-10-30"
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: Google Ads may return no data for certain groups of keywords visit our Help Center to learn more Also note that 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[].match string · Required

Parent object: body[]

keywords match-type required field can take the following values: exact, broad, phrase
body[].sort_by string · Optional

Parent object: body[]

results sorting parameters optional field Use these parameters to sort the results by relevance, impressions, ctr, average_cpc, cost, or clicks 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 object of the response

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

Response structure

Inferred from examples
  • costnumber
  • status_codeinteger
  • status_messagestring
  • tasksobject[]
    • costnumber
    • dataobject
      • apistring
      • bidinteger
      • functionstring
      • keywordsstring[]
      • language_codestring
      • location_codeinteger
      • matchstring
      • sestring
    • idstring
    • pathstring[]
    • resultobject[]
      • average_cpcnumber
      • bidinteger
      • clicksnumber
      • cost_microsnumber
      • ctrnumber
      • date_intervalstring
      • impressionsnumber
      • keywordstring
      • language_codestring
      • location_codeinteger
      • matchstring
      • search_partnersboolean
    • result_countinteger
    • status_codeinteger
    • status_messagestring
    • timestring
  • tasks_countinteger
  • tasks_errorinteger
  • timestring
  • versionstring

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.

Download MDView API Markdown

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
    Forecast Google Ads campaign impressions, CPC and clicks for the supplied keywords and selected future period.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/dataforseo/v3/keywords_data/google_ads/ad_traffic_by_keywords/live' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '[
      {
        "bid": 999,
        "keywords": [
          "buy laptop",
          "cheap laptops for sale",
          "purchase laptop"
        ],
        "language_code": "en",
        "location_code": 2840,
        "match": "exact"
      }
    ]'
  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",
            "bid": 999,
            "function": "ad_traffic_by_keywords",
            "keywords": [
              "buy laptop",
              "cheap laptops for sale",
              "purchase laptop"
            ],
            "language_code": "en",
            "location_code": 2840,
            "match": "exact",
            "se": "google_ads"
          },
          "id": "11251525-0696-0094-0000-7f236bb489d3",
          "path": [
            "v3",
            "keywords_data",
            "google_ads",
            "ad_traffic_by_keywords",
            "live"
          ],
          "result": [
            {
              "average_cpc": 452.45,
              "bid": 999,
              "clicks": 8803.42,
              "cost_micros": 3983135.48,
              "ctr": 0.0842,
              "date_interval": "next_month",
              "impressions": 104575.28,
              "keyword": "buy laptop",
              "language_code": "en",
              "location_code": 2840,
              "match": "exact",
              "search_partners": false
            },
            {
              "average_cpc": 384.19,
              "bid": 999,
              "clicks": 782.13,
              "cost_micros": 300486.83,
              "ctr": 0.116,
              "date_interval": "next_month",
              "impressions": 6744.02,
              "keyword": "cheap laptops for sale",
              "language_code": "en",
              "location_code": 2840,
              "match": "exact",
              "search_partners": false
            },
            {
              "average_cpc": 402.33,
              "bid": 999,
              "clicks": 311.69,
              "cost_micros": 125403.39,
              "ctr": 0.0722,
              "date_interval": "next_month",
              "impressions": 4318.71,
              "keyword": "purchase laptop",
              "language_code": "en",
              "location_code": 2840,
              "match": "exact",
              "search_partners": false
            }
          ],
          "result_count": 3,
          "status_code": 20000,
          "status_message": "Ok.",
          "time": "6.4505 sec."
        }
      ],
      "tasks_count": 1,
      "tasks_error": 0,
      "time": "6.5059 sec.",
      "version": "0.1.20210917"
    }

Common questions

Which inputs identify this request?

Provide JSON payload in body (array). Keep identifiers and URLs in the formats documented for this implementation.

How should I structure the JSON body?

Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

How should I map the returned fields?

Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

Can I reuse request parameters from another endpoint?

Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use Keywords Data / Google Ads / Ad Traffic By Keywords / Live API with your agent

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