v1
latestOpenAPI 3.1.02026-07-24490622.0 KBGet Domain Ranking History
Returns historical organic ranking data for a domain across multiple keywords within a specified date range. Track position changes, click gains/losses, and ranking trends over time to analyze SEO performance.
Visualize this API live on SpyFu (TODO – verify)
Query parameters
Domain to analyze ranking history for.
Type of ranking analysis to perform.
Beginning date for range
Ending date for range
Comma-separated list of terms that must be present in the keyword.
Used with includeTerms. If true: match any term (OR). If false: require all terms (AND).
Comma-separated list of terms to exclude from results (e.g., branded or irrelevant terms).
Filter to keywords where the domain/URL starting rank position is ≥ this value for the selected date range (1 = best/top organic result).
Filter to keywords where the domain/URL starting rank position is ≤ this value for the selected date range (1 = best/top organic result).
Filter to keywords where the domain/URL ending rank position is ≥ this value for the selected date range (1 = best/top organic result).
Filter to keywords where the domain/URL ending rank position is ≤ this value for the selected date range (1 = best/top organic result).
Filter to keywords where the rank improved by at least this many positions between the start and end of the date range (end_rank_change ≥ value). Positive values mean moved up; negative values mean moved down.
Filter to keywords where the rank change was at most this many positions between the start and end of the date range (end_rank_change ≤ value). Positive values mean moved up; negative values mean moved down.
Filter to keywords where estimated monthly organic clicks (SEO clicks) to the domain/url are ≥ this value.
Filter to keywords where estimated monthly organic clicks (SEO clicks) to the domain/url are ≤ this value.
Filter to keywords where the month-over-month change in estimated organic clicks is ≥ this value. Positive values indicate click gains; negative values indicate click losses.
Filter to keywords where the month-over-month change in estimated organic clicks is ≤ this value. Positive values indicate click gains; negative values indicate click losses.
Filter to keywords where monthly search volume (Google) is ≥ this value.
Filter to keywords where monthly search volume (Google) is ≤ this value.
Country market to search. Specifically, this maps to the Google domain version to query against (e.g., google.com for US, google.de for Germany, etc.). <a href='https://developer.spyfu.com/reference/adhistoryapi_getdomainadhistory_get#/'>All Countries</a>
Field to sort by
The maximum number of rows returned.
Row number to start the results with.
Order to sort by
Response
Successfully retrieved domain ranking history data
Example response
{
"resultCount": 100
}