v1
latestOpenAPI 3.1.02026-07-24490622.0 KBGet Keyword Ad History
Returns historical advertisers and ad variations for a specific keyword. This endpoint focuses on ads that have appeared for a particular keyword, unlike domain-based endpoints that focus on ads from specific advertisers.
Query parameters
Keyword to retrieve advertising history for.
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>
Number of ad history records to return per page.
Starting row number for pagination.
Response
Successfully retrieved ad history data for the specified keyword. Returns a paginated list of ads that have appeared for this keyword across different advertisers.
Example response
{
"resultCount": 100,
"results": [
{
"domainName": "example.com",
"urls": [
"https://example.com/running-shoes",
"https://example.com/athletic-footwear"
],
"position": 1,
"searchDateId": 20231215,
"title": "Best Running Shoes 2024 - Free Shipping",
"body": "Discover premium running shoes with advanced cushioning technology. Shop now and save 20% on your first order.",
"adId": 12345678
}
]
}