PeumeAPI

Search & SEO

Ranking Pages History

Track how many of a target's pages rank in organic search over time.

$0.0019 per result

Call it

curl https://api.peume.com/v1/call/ranking-pages-history \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "target": "your target",
    "date_from": "your date from",
    "history_grouping": "monthly",
    "mode": "subdomains",
    "protocol": "both"
  }
}'

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: ranking-pages-history.

Parameters

targetRequiredstring

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

date_fromRequiredstring

Start date of the historical period in YYYY-MM-DD format.

date_tostring

End date of the historical period in YYYY-MM-DD format. Defaults to today.

history_groupingstring

Time bucket size for history rows: daily, weekly, or monthly (default). Each bucket is one billed row.

daily · weekly · monthly

Example: monthly

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

countrystring

Two-letter country code (ISO 3166-1 alpha-2), e.g. 'us'.

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.