About this endpoint
What it does
Fetches and scrapes the URL provided in the url query parameter, then returns the original URL, the scrape timestamp, and a scraped_data object containing extracted page content and metadata.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | The URL to scrape. Must be a valid URI. |
Response
Returns a JSON object with required top-level url and timestamp string fields, plus a required scraped_data object field. url echoes the scraped URL, timestamp is the UTC time the scrape was performed, and scraped_data contains the extracted page data.
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | The URL that was scraped, echoed back from the request. |
| timestamp | String | Yes | UTC timestamp of when the scrape was performed. |
| scraped_data | Object | Yes | Scraped page data, including content, metadata, and extracted links. |