Web

Extract structured data from a web page

Extract structured fields from a web page using a CSS selector schema.

post/v1/web/extract

Request

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

Request body

urlstring required

Web page URL to fetch.

scanFullPageboolean

When true, scroll the page to load dynamically appended content.

waitForstring

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

Response

Structured CSS extraction result.

Changes

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