GET /paid-pages
Servers
- https://api.ahrefs.com/v3/site-explorer
Query parameters
Name | Type | Required | Description |
---|---|---|---|
where |
String | No |
The filter expression. The following column identifiers are recognized (this differs from the identifiers recognized by the ads_count: The number of unique ads with a page. ads_count_diff: The change in ads between your selected dates. ads_count_prev: The number of ads on the comparison date. cpc cpc_prev: The CPC metric on the comparison date. description: The description of an ad as seen in search results. description_prev: The description of an ad on the comparison date. has_thumbnail: The position has a thumbnail. has_thumbnail_prev: The position has a thumbnail on the comparison date. has_video: The position has a video. has_video_prev: The position has a video on the comparison date. keyword: The keyword your target ranks for. keyword_difficulty (10 units): An estimation of how hard it is to rank in the top 10 organic search results for a keyword on a 100-point scale. keyword_difficulty_prev (10 units): The keyword difficulty on the comparison date. keyword_prev: The keyword your target ranks for on the comparison date. keywords: The total number of keywords that your target ranks for in paid search results. keywords_diff: The change in keywords between your selected dates. keywords_diff_percent: The change in keywords between your selected dates, in percents. keywords_merged: The total number of keywords optimized for sorting. keywords_prev: The keyword your target ranks for on the comparison date. position: The position your target ranks for in the paid search results for a keyword. position_kind: The kind of a position: organic, paid or a SERP feature. This applies to all positions for a given keyword and URL before picking the top position. position_kind_prev: The kind of a position on the comparison date. position_prev: The position of your target for a given keyword on the comparison date. raw_url: The ranking page URL in encoded format. raw_url_prev: The ranking page URL on the comparison date in encoded format. serp_features serp_features_prev: The SERP features on the comparison date. status: The status of a page: the new page that just started to rank in paid results ("left"), the lost page that disappeared from paid results ("right"), or no change ("both"). sum_traffic (10 units): An estimation of the monthly paid search traffic that a page gets from all the keywords that it ranks for. sum_traffic_merged (10 units): The paid traffic field optimized for sorting. sum_traffic_prev (10 units): The paid traffic on the comparison date. title: The title of an ad as seen in search results. title_prev: The title of an ad on the comparison date. top_keyword: The keyword that brings the most paid traffic to a page. top_keyword_best_position: The ranking position that a page holds for its top keyword. top_keyword_best_position_diff: The change in the top position between your selected dates. top_keyword_best_position_kind: The kind of the top position: organic, paid or a SERP feature. top_keyword_best_position_kind_prev: The kind of the top position on the comparison date. top_keyword_best_position_prev: The top position on the comparison date. top_keyword_best_position_title: The title displayed for the page in its top keyword's SERP. top_keyword_best_position_title_prev: The title displayed for the page in its top keyword's SERP on the comparison date. top_keyword_country: The country in which a page ranks for its top keyword. top_keyword_country_prev: The country in which a page ranks for its top keyword on the comparison date. top_keyword_prev: The keyword that brings the most paid traffic to a page on the comparison date. top_keyword_volume (10 units): An estimation of the average monthly number of searches for the top keyword over the latest month or over the latest known 12 months of data depending on the "volume_mode" parameter. top_keyword_volume_prev (10 units): The search volume on the comparison date. traffic (10 units): An estimation of the number of monthly visitors that your target gets from paid search for a keyword. traffic_diff: The change in traffic between your selected dates. traffic_diff_percent: The change in traffic between your selected dates, in percents. traffic_prev (10 units): The traffic from a keyword on the comparison date. url: The ranking page URL. url_prev: The ranking page URL on the comparison date. url_visual: The URL of an ad as seen in search results. url_visual_prev: The URL of an ad on the comparison date. value (10 units): The estimated cost of a page's monthly paid search traffic, in cents. value_diff: The change in traffic value between your selected dates. value_diff_percent: The change in traffic value between your selected dates, in percents. value_merged (10 units): The traffic value field optimized for sorting. value_prev (10 units): The traffic value on the comparison date. volume (10 units): An estimation of the number of searches for a keyword over the latest month. volume_prev (10 units): The search volume on the comparison date. words: The number of words in a keyword. words_prev: The number of words in a keyword on the comparison date. |
volume_mode |
String | No |
The search volume calculation mode: monthly or average. It affects volume, traffic, and traffic value. Possible values:
Default value: "monthly" |
protocol |
String | No |
The protocol of your target. Possible values:
Default value: "both" |
output |
String | No |
The output format. Possible values:
|
mode |
String | No |
The scope of the search based on the target you entered. Possible values:
Default value: "subdomains" |
date |
String | Yes |
A date to report metrics on in YYYY-MM-DD format. |
select |
String | Yes |
A comma-separated list of columns to return. See response schema for valid column identifiers. |
order_by |
String | No |
A column to order results by. See response schema for valid column identifiers. |
limit |
Integer | No |
The number of results to return. |
target |
String | Yes |
The target of the search: a domain or a URL. |
timeout |
Integer | No |
A manual timeout duration in seconds. |
date_compared |
String | No |
A date to compare metrics with in YYYY-MM-DD format. |
country |
String | No |
A two-letter country code (ISO 3166-1 alpha-2). Possible values:
|
offset |
Integer | No |
[Deprecates on 31 May 2024] Returned results will start from the row indicated in the offset value. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.