Ask a question about a web page
Ask a natural-language question about a web page and get an LLM-generated answer.
Headers
Get your API keyAPI key (`sfk_...`)
Web page URL to fetch.
min 1 chars · max 2083 chars
Natural-language question to answer about the page content.
min 1 chars · max 500 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 analyzed.
LLM-generated answer when lookupStatus is found; null when restricted.
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
Code example
curl "https://api.socialfetch.dev/v1/web/ask?url=https://www.socialfetch.dev&q=What is this page about?" \
-H "x-api-key: YOUR_API_KEY"Responses
LLM answer for the question about the page. Check data.lookupStatus: found returns answer; restricted means bot or access protection blocked the fetch (answer is null).