OpenAny
Get API keyAPI Key
APIDataSearch & Research

dataforseo logo
DataForSEO LLM Target Metrics API

Get DataForSEO LLM Target Metrics 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.1 base + $0.001 / result Published pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

DataForSEO LLM Target Metrics API

Prepare your request, then continue with your agent.

Pricing

$0.1 base + $0.001 / result

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
DataForSEO LLM Target Metrics API

DataForSEO LLM Target Metrics API

Retrieve ai Optimization Llm Mentions Target Metrics 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 — Ai Optimization / Llm Mentions / Target Metrics / 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/ai_optimization/llm_mentions/target_metrics/live' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "initial_dataset_filters": [
      [
        "ai_search_volume",
        ">",
        10
      ]
    ],
    "internal_list_limit": 10,
    "language_code": "en",
    "location_code": 2840,
    "platform": "chat_gpt",
    "target": [
      {
        "domain": "en.wikipedia.org",
        "search_filter": "exclude"
      },
      {
        "keyword": "bmw",
        "search_scope": [
          "answer"
        ]
      }
    ]
  }
]'

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 DataForSEO LLM Target Metrics 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

‌‌ Live LLM Mentions Target Metrics endpoint provides aggregated metrics for mentions of the keywords or domains specified in the target array of the request. The results are specific to the selected platform (google for Google’s AI Overview or chat_gpt for ChatGPT), location and language parameters (see the List of Locations & Languages).

Sample response

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

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
DataForSEOCurrent
DataForSEO — Ai Optimization / Llm Mentions / Target Metrics / Live · POST · View API reference
$0.1 base + $0.001 / result0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · DataForSEOUSD
Pricing
$0.1 base + $0.001 / result

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/ai_optimization/llm_mentions/target_metrics/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

‌‌ Live LLM Mentions Target Metrics endpoint provides aggregated metrics for mentions of the keywords or domains specified in the target array of the request. The results are specific to the selected platform (google for Google’s AI Overview or chat_gpt for ChatGPT), location and language parameters (see the List of Locations & Languages).

minItems: 1 · maxItems: 1

Nested fields and variants

body[] · Array item · object

Nested fields and variants
body[].initial_dataset_filters array · Optional

Parent object: body[]

array of filter expressions applied before aggregation optional field you can use this array to filter expressions applied to the raw mentions database before aggregation to limit the rows contributing to the result; you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: =, <>, in, not_in, like, not_like, ilike, not_ilike, match, not_match you can use the % operator with like and not_like to match any string of zero or more characters example: ["ai_search_volume",">",1000] the full list of possible filters is available here. learn more about the initial dataset filters in this help center article.
body[].internal_list_limit integer · Optional

Parent object: body[]

maximum number of elements within internal arrays optional field you can use this field to limit the number of elements within the following arrays: sources_domain search_results_domain minimum value: 1 maximum value: 10 default value: 10

minimum: 1 · maximum: 10

body[].language_code string · Optional

Parent object: body[]

search language code optional field 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/ai_optimization/llm_mentions/locations_and_languages default value: en Note: chat_gpt data is available for en only
body[].language_name string · Optional

Parent object: body[]

full name of search language optional field if you use this field, you don't need to specify language_code; if you don't specify this field, the language_code with en value will be used by default; you can receive the list of available languages of the search engine with their language_name by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/llm_mentions/locations_and_languages Note: chat_gpt data is available for English only
body[].location_code integer · Optional

Parent object: body[]

search location code optional field if you use this field, you don't need to specify location_name you can receive the list of available locations of the search engine with their location_code by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/llm_mentions/locations_and_languages default value: 2840 Note: chat_gpt data is available for 2840 only
body[].location_name string · Optional

Parent object: body[]

full name of search location optional field if you use this field, you don't need to specify location_code if you don't specify this field, the location_code with 2840 value will be used by default; you can receive the list of available locations of the search engine with their location_name by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/llm_mentions/locations_and_languages Note: chat_gpt data is available for United States only
body[].platform string · Optional

Parent object: body[]

target platform optional field possible values: chat_gpt, google Note: if the platform is not specified, the data is returned for both platforms Note #2: chat_gpt data is available for the United States and English only
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
body[].target array · Required

Parent object: body[]

array of objects containing target entities required field you can specify up to 10 entities (objects) in the target field one target entity can contain either one domain or one keyword and related parameters examples: target array with a domain entity [{"domain": "en.wikipedia.org", "search_filter": "exclude"}] target array with a keyword entity [{"keyword": "bmw", "search_scope": ["question"], "match_type ": "partial_match"}] target array with multiple entities [{"domain": "en.wikipedia.org", "search_filter": "exclude"}, {"keyword": "bmw", "match_type ": "partial_match", "search_scope": ["answer"]}] Note: requests must include at least one domain_entity or keyword_entity with "search_filter": "include"
Nested fields and variants

body[].target[] · Array item · object

Nested fields and variants
body[].target[].domain string · Optional

Parent object: body[].target[]

target domain required field if you don’t specify keyword a domain should be specified without https:// and www.
body[].target[].include_subdomains boolean · Optional

Parent object: body[].target[]

indicates if the subdomains of the target domain will be included in the search optional field if set to true, the subdomains will be included in the search default value: false
body[].target[].keyword string · Optional

Parent object: body[].target[]

target keyword required field if you don’t specify domain you can specify up to 2000 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
body[].target[].match_type string · Optional

Parent object: body[].target[]

target keyword match type defines how the specified keyword is matched optional field possible values: word_match – full-text search for terms that match the specified seed keyword with additional words included before, after, or within the key phrase (e.g., search for “light” will return results with “light bulb”, “light switch”); partial_match – substring search that finds all instances containing the specified sequence of characters, even if it appears inside a longer word (e.g., search for “light” will return results with “lighting”, “highlight”); default value: word_match
body[].target[].search_filter string · Optional

Parent object: body[].target[]

target domain search filter optional field possible values: include, exclude default value: include
body[].target[].search_scope array · Optional

Parent object: body[].target[]

target domain search scope optional field possible values: any, sources, search_results default value: any
Nested fields and variants

body[].target[].search_scope[] · Array item · string

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
      • functionstring
      • initial_dataset_filters((string | integer)[])[]
      • internal_list_limitinteger
      • language_codestring
      • location_codeinteger
      • platformstring
      • targetobject[]
        • domainstring
        • search_filterstring
        • keywordstring
        • search_scopestring[]
    • idstring
    • pathstring[]
    • resultobject[]
      • aggregated_metricsobject
        • brand_entities_categoryobject[]
          • ai_search_volumeinteger
          • keystring
          • mentionsinteger
        • brand_entities_titleobject[]
          • ai_search_volumeinteger
          • keystring
          • mentionsinteger
        • languageobject[]
          • ai_search_volumeinteger
          • keystring
          • mentionsinteger
        • locationobject[]
          • ai_search_volumeinteger
          • keyinteger
          • mentionsinteger
        • platformobject[]
          • ai_search_volumeinteger
          • keystring
          • mentionsinteger
        • search_results_domainobject[]
          • ai_search_volumeinteger
          • keystring
          • mentionsinteger
        • sources_domainobject[]
          • ai_search_volumeinteger
          • keystring
          • mentionsinteger
        • totalobject
          • ai_search_volumeinteger
          • mentionsinteger
      • itemsunknown[]
      • items_countinteger
      • offsetinteger
      • total_countinteger
    • 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.100000. 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
本次返回结果$0.001000 / resultResponse · /tasks/0/result · Array lengthAlways1 result · 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.101000.

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 · 官方历史成对样例(未运行) (HTTP assumed)

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
    ‌‌ Live LLM Mentions Target Metrics endpoint provides aggregated metrics for mentions of the keywords or domains specified in the target array of the request. The results are specific to the selected platform (google for Google’s AI Overview or chat_gpt for ChatGPT), location and language parameters (see the List of Locations & Languages).
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/dataforseo/v3/ai_optimization/llm_mentions/target_metrics/live' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '[
      {
        "initial_dataset_filters": [
          [
            "ai_search_volume",
            ">",
            10
          ]
        ],
        "internal_list_limit": 10,
        "language_code": "en",
        "location_code": 2840,
        "platform": "chat_gpt",
        "target": [
          {
            "domain": "en.wikipedia.org",
            "search_filter": "exclude"
          },
          {
            "keyword": "bmw",
            "search_scope": [
              "answer"
            ]
          }
        ]
      }
    ]'
  3. Check the response

    Sample response · Configured HTTP 200; actual status is unverified.

    Sample response
    {
      "cost": 0.101,
      "status_code": 20000,
      "status_message": "Ok.",
      "tasks": [
        {
          "cost": 0.101,
          "data": {
            "api": "ai_optimization",
            "function": "target_metrics",
            "initial_dataset_filters": [
              [
                "ai_search_volume",
                ">",
                10
              ]
            ],
            "internal_list_limit": 10,
            "language_code": "en",
            "location_code": 2840,
            "platform": "chat_gpt",
            "target": [
              {
                "domain": "en.wikipedia.org",
                "search_filter": "exclude"
              },
              {
                "keyword": "bmw",
                "search_scope": [
                  "answer"
                ]
              }
            ]
          },
          "id": "06101656-1535-0651-0000-0960d4b9e2f8",
          "path": [
            "v3",
            "ai_optimization",
            "llm_mentions",
            "target_metrics",
            "live"
          ],
          "result": [
            {
              "aggregated_metrics": {
                "brand_entities_category": [
                  {
                    "ai_search_volume": 328646,
                    "key": "vehicle",
                    "mentions": 5974
                  },
                  {
                    "ai_search_volume": 107890,
                    "key": "company",
                    "mentions": 1344
                  },
                  {
                    "ai_search_volume": 48154,
                    "key": "brand",
                    "mentions": 711
                  },
                  {
                    "ai_search_volume": 21651,
                    "key": "product",
                    "mentions": 488
                  },
                  {
                    "ai_search_volume": 9583,
                    "key": "organization",
                    "mentions": 201
                  },
                  {
                    "ai_search_volume": 5032,
                    "key": "car",
                    "mentions": 186
                  },
                  {
                    "ai_search_volume": 4810,
                    "key": "local_business",
                    "mentions": 167
                  },
                  {
                    "ai_search_volume": 11425,
                    "key": "people",
                    "mentions": 164
                  },
                  {
                    "ai_search_volume": 11390,
                    "key": "other",
                    "mentions": 146
                  },
                  {
                    "ai_search_volume": 4755,
                    "key": "point_of_interest",
                    "mentions": 89
                  }
                ],
                "brand_entities_title": [
                  {
                    "ai_search_volume": 19191,
                    "key": "German automaker",
                    "mentions": 271
                  },
                  {
                    "ai_search_volume": 10913,
                    "key": "BMW",
                    "mentions": 247
                  },
                  {
                    "ai_search_volume": 17962,
                    "key": "German luxury automaker",
                    "mentions": 214
                  },
                  {
                    "ai_search_volume": 10568,
                    "key": "luxury SUV",
                    "mentions": 172
                  },
                  {
                    "ai_search_volume": 10311,
                    "key": "Toyota luxury division",
                    "mentions": 169
                  },
                  {
                    "ai_search_volume": 9147,
                    "key": "luxury sedan",
                    "mentions": 165
                  },
                  {
                    "ai_search_volume": 9151,
                    "key": "compact luxury SUV",
                    "mentions": 162
                  },
                  {
                    "ai_search_volume": 7221,
                    "key": "2026 model",
                    "mentions": 158
                  },
                  {
                    "ai_search_volume": 17477,
                    "key": "current generation",
                    "mentions": 145
                  },
                  {
                    "ai_search_volume": 22791,
                    "key": "Japanese automaker",
                    "mentions": 139
                  }
                ],
                "language": [
                  {
                    "ai_search_volume": 1203984,
                    "key": "en",
                    "mentions": 26465
                  }
                ],
                "location": [
                  {
                    "ai_search_volume": 1203984,
                    "key": 2840,
                    "mentions": 26465
                  }
                ],
                "platform": [
                  {
                    "ai_search_volume": 1203984,
                    "key": "chat_gpt",
                    "mentions": 26465
                  }
                ],
                "search_results_domain": [
                  {
                    "ai_search_volume": 103040,
                    "key": "www.edmunds.com",
                    "mentions": 2919
                  },
                  {
                    "ai_search_volume": 103014,
                    "key": "www.kbb.com",
                    "mentions": 2555
                  },
                  {
                    "ai_search_volume": 84817,
                    "key": "www.caranddriver.com",
                    "mentions": 1983
                  },
                  {
                    "ai_search_volume": 79315,
                    "key": "www.motortrend.com",
                    "mentions": 1942
                  },
                  {
                    "ai_search_volume": 70460,
                    "key": "www.cars.com",
                    "mentions": 1766
                  },
                  {
                    "ai_search_volume": 74583,
                    "key": "www.consumerreports.org",
                    "mentions": 1499
                  },
                  {
                    "ai_search_volume": 63178,
                    "key": "carinterior.alibaba.com",
                    "mentions": 1343
                  },
                  {
                    "ai_search_volume": 67050,
                    "key": "www.bmwblog.com",
                    "mentions": 1177
                  },
                  {
                    "ai_search_volume": 59096,
                    "key": "www.iseecars.com",
                    "mentions": 1063
                  },
                  {
                    "ai_search_volume": 30175,
                    "key": "www.carfax.com",
                    "mentions": 918
                  }
                ],
                "sources_domain": [
                  {
                    "ai_search_volume": 233061,
                    "key": "www.reddit.com",
                    "mentions": 3978
                  },
                  {
                    "ai_search_volume": 50570,
                    "key": "www.edmunds.com",
                    "mentions": 1634
                  },
                  {
                    "ai_search_volume": 42752,
                    "key": "www.kbb.com",
                    "mentions": 1481
                  },
                  {
                    "ai_search_volume": 53202,
                    "key": "www.caranddriver.com",
                    "mentions": 1145
                  },
                  {
                    "ai_search_volume": 39889,
                    "key": "www.consumerreports.org",
                    "mentions": 1015
                  },
                  {
                    "ai_search_volume": 37650,
                    "key": "www.motortrend.com",
                    "mentions": 795
                  },
                  {
                    "ai_search_volume": 38258,
                    "key": "www.bmwblog.com",
                    "mentions": 639
                  },
                  {
                    "ai_search_volume": 37013,
                    "key": "www.iseecars.com",
                    "mentions": 628
                  },
                  {
                    "ai_search_volume": 27753,
                    "key": "www.cars.com",
                    "mentions": 619
                  },
                  {
                    "ai_search_volume": 24206,
                    "key": "carinterior.alibaba.com",
                    "mentions": 598
                  }
                ],
                "total": {
                  "ai_search_volume": 1203984,
                  "mentions": 26465
                }
              },
              "items": [],
              "items_count": 0,
              "offset": 0,
              "total_count": 0
            }
          ],
          "result_count": 1,
          "status_code": 20000,
          "status_message": "Ok.",
          "time": "2.5290 sec."
        }
      ],
      "tasks_count": 1,
      "tasks_error": 0,
      "time": "2.5853 sec.",
      "version": "0.1.20260610"
    }

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 DataForSEO LLM Target Metrics API with your agent

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