PeumeAPI

Search & SEO

Metrics by Country

Split a target's organic and paid keywords and traffic by country.

$0.022 per result

Call it

curl https://api.peume.com/v1/call/metrics-by-country \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "target": "your target",
    "date": "your date",
    "mode": "subdomains",
    "protocol": "both",
    "limit": 250
  }
}'

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: metrics-by-country.

Parameters

targetRequiredstring

The target of the report: a domain ('example.com') or a URL ('https://example.com/page').

dateRequiredstring

Report date in YYYY-MM-DD format. Use today's date for current values.

modestring

Scope of the target: exact (this URL only), prefix (URLs starting with the target), domain (the domain without subdomains), or subdomains (default — the domain and all its subdomains). exact and prefix match the target as written, so example.com and www.example.com are different targets there, even when one redirects to the other; a near-zero result under one spelling is not proof of zero, so retry with the other spelling, or with the bare domain (no www) under subdomains.

exact · prefix · domain · subdomains

Example: subdomains

protocolstring

Protocol of the target: both (default), http, or https.

both · http · https

Example: both

limitinteger

Maximum number of countries to return (one billed row per country). Defaults to 250, which covers every country with data.

Example: 250

Start free · $1 of calls included

Every API your business needs. One key.

7,000+ data and AI APIs behind one key, with backup sources built in.