Fetch and return cleaned HTML for a web page.
Endpoint
/v1/web/html
Query
Web page URL to fetch.
const response = await fetch( "https://api.socialfetch.dev/v1/web/html?url=https://www.socialfetch.dev", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);