Headers
Get your API keyAPI key (`sfk_...`)
Web page URL to fetch.
min 1 chars · max 2083 chars
When true, scroll the page to load dynamically appended content (infinite scroll). Default false.
Wait for a CSS selector before extraction. Must be prefixed with "css:" (e.g. css:main). JavaScript wait conditions are not supported.
max 200 chars
Endpoint-specific response payload.
Whether page content could be extracted. Restricted means bot protection or similar access controls blocked automated fetching.
one of: found, restricted
URL that was fetched.
HTTP status code reported for the page fetch when available; null when restricted.
Cleaned or processed HTML when lookupStatus is found; null when restricted.
Page metadata such as title when available.
Links discovered on the page when available.
Same-host links discovered on the page.
Absolute or page-relative link href.
Anchor text when available.
Title attribute when available.
Cross-host links discovered on the page.
Absolute or page-relative link href.
Anchor text when available.
Title attribute when available.
Media assets discovered on the page when available.
Images on the page.
Image source URL.
Alt text when available.
Optional relevance score from the crawler.
Videos on the page.
Audio elements on the page.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
True when served from shared response cache. Credits still apply (full endpoint price); Age header may be present.
Code example
curl "https://api.socialfetch.dev/v1/web/html?url=https://www.socialfetch.dev" \
-H "x-api-key: YOUR_API_KEY"Responses
HTML extraction result.