Web

Generate web page HTML

Fetch cleaned HTML for a web page URL.

get/v1/web/html

Request

  • Base URL: https://api.socialfetch.dev
  • URL: https://api.socialfetch.dev/v1/web/html
  • Auth: one of:
    • API key in header x-api-key
    • none

Query parameters

urlstring required

Web page URL to fetch.

scanFullPageboolean

When true, scroll the page to load dynamically appended content (infinite scroll). Default false.

waitForstring

Wait for a CSS selector before extraction. Must be prefixed with "css:" (e.g. css:main). JavaScript wait conditions are not supported.

Response

HTML extraction result.

Changes

No recorded changes to this operation across all 1 revision of this API.