v1
latestOpenAPI 3.1.02026-07-24490622.0 KBGet Ads for Domain
Returns paid search results (ads) that a domain appears in across Google search. This endpoint reveals the competitive paid landscape to identify advertising opportunities and understand competitor PPC strategies.
Query parameters
Domain to analyze for paid search presence.
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 monthly search volume (Google) is ≥ this value.
Filter to keywords where monthly search volume (Google) is ≤ this value.
Filter to keywords where the number of distinct advertisers observed over the last 14 months is ≥ this value.
Filter to keywords where the number of distinct advertisers observed over the last 14 months is ≤ this value.
Filter to keywords where the keyword difficulty score is ≥ this value (0-100; higher = harder to rank).
Filter to keywords where the keyword difficulty score is ≤ this value (0-100; higher = harder to rank).
The maximum number of rows returned.
If true, exclude keywords where the domain/URL's homepage (root domain, e.g., example.com) ranks; if false, include all.
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>
Column to sort results by.
Order to sort the results.
Row number to start the results with.
Exclude adult keywords considered unsafe for work.
Only include adult keywords considered unsafe for work.
Response
Successfully retrieved paid search results for the domain. Returns a paginated list of keywords where the domain appears in paid ads with position and competition data.
Example response
{
"resultCount": 100,
"results": [
{
"keyword": "running shoes",
"termId": "39100280",
"adPosition": 1,
"adCount": 1,
"dateSearched": "2023-12-15T10:30:00Z",
"title": "Best Running Shoes 2024 - Free Shipping",
"domain": "example.com",
"searchVolume": 700000,
"keywordDifficulty": 69
}
],
"totalMatchingResults": 50000
}