PeumeAPI

Search & SEO

Compare LLM mention metrics across brands (older path)

Mention metrics for 2 to 10 target groups side by side, one result per `aggregation_key`. The older path of.x.ai-optimization-llm-mentions-multi-target-metrics-live, which still serves with no end date; it takes the older request fields shown here.

$0.15 per callUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/compare-llm-mention-metrics-across-brands-older-path \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "targets": [
      {
        "aggregation_key": "hubspot",
        "target": [
          {
            "domain": "hubspot.com"
          }
        ]
      },
      {
        "aggregation_key": "salesforce",
        "target": [
          {
            "domain": "salesforce.com"
          }
        ]
      }
    ],
    "location_code": 2840,
    "language_code": "en",
    "platform": "google",
    "internal_list_limit": 3
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: compare-llm-mention-metrics-across-brands-older-path.

Parameters

targetsRequiredarray

up to 10 groups, each {"aggregation_key": "<label>", "target": [<entities as in the target field of the single-target routes>]}

Example: [{"aggregation_key":"hubspot","target":[{"domain":"hubspot.com"}]},{"aggregation_key":"salesforce","target":[{"doma

location_codeinteger

default 2840 (United States); with platform chat_gpt only 2840 is valid (task status 40501 otherwise)

Example: 2840

language_codestring

default en; with platform chat_gpt only en is valid

Example: en

platformstring

google (AI Overviews, the default) or chat_gpt

Example: google

initial_dataset_filtersarray
internal_list_limitinteger

elements per internal array, 1-10, default 5

Example: 3

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.