Page content
Changed onThis endpoint consumes a fixed cost of 50 API units per request.
Request
- Base URLhttps://api.ahrefs.com/v3
- URLhttps://api.ahrefs.com/v3/site-audit/page-content
- AuthHTTP bearer
Query parameters
A comma-separated list of fields to return.
- crawl_datetime
- page_text
- page_text_md
- raw_html
- rendered_html
The unique identifier of the project. Only projects with verified ownership are supported. You can find the project ID in the URL of your Site Audit project in Ahrefs: https://app.ahrefs.com/site-audit/#project_id#
The URL of the page to retrieve content for.
A timestamp in YYYY-MM-DDThh:mm:ss format specifying the crawl date to retrieve metrics from. Defaults to the most recent available crawl if omitted. For scheduled crawls, we return data from the latest crawl finished before the specified timestamp. For Always-on audit crawls, we return data as of the provided date and time. If the time component is omitted, it defaults to 00:00:00. The timestamp is interpreted in UTC.
The output format.
Response
OK
Changes
- breaking
for the
queryrequest parametertarget_url, the format changed from no format tourl
- breaking