Scrape
Scrape raw HTML
Fetch a URL and return its unmodified page HTML.
post/v1/web/raw-html
Request
- Base URL: https://api.hydrafetch.com
- URL: https://api.hydrafetch.com/v1/web/raw-html
- Auth: API key in header X-API-Key
Request body
Example request
{
"url": "https://example.com",
"includeTags": [
"article",
"main"
],
"excludeTags": [
".ad",
"#comments"
],
"location": {
"country": "us",
"languages": [
"en-US",
"en"
]
},
"body": "{\"limit\":25,\"offset\":0}"
}Response
Example response
{
"data": {
"url": "https://example.com",
"finalUrl": "https://example.com/",
"status": 200,
"metadata": {
"structure": "markdown",
"pageType": "article",
"wordCount": 214
},
"usage": {
"creditsUsed": 1,
"creditsRemaining": 4999,
"freshness": "fresh"
},
"quality": {
"confidence": 0.94,
"complete": true
},
"structured": {
"entities": [
{
"type": "Product"
}
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.