Social Fetch
Ask

Ask in natural language

Ask a natural-language question and get a routed public API lookup.

One-shot routing only — not a chat. Prefer typed MCP/REST endpoints when you know the operation; use nl_ask_post / POST /v1/ask for exploratory natural-language lookups. For LLM Q&A about a single URL, use GET /v1/web/ask instead.

POST/v1/ask
0credits
x-api-key*stringheader

API key (`sfk_...`)

Request body

requiredapplication/json
Response fields
17

Endpoint-specific response payload.

dataquery
string

Echo of the submitted natural-language question.

Resolved public API operation for the natural-language request.

dataroutedOperationoperationId
string

Resolved public API operation id, e.g. youtube.channel.get.

dataroutedOperationmethod
string

HTTP method for the routed lookup.

dataroutedOperationpath
string

OpenAPI path template for the routed lookup.

dataroutedOperationparams
object

Path and query parameters for the routed lookup.

Nested lookup response from the routed public API operation.

datalookupdata
nullableoptional

Success payload from the routed lookup. Shape depends on the resolved operation.

datalookupmetarequestId
string

Request id for the nested lookup response.

datalookupmetacreditsCharged
number

Credits charged for the routed lookup.

datalookupmetaversion
string

one of: v1

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/ask" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"How many TikTok followers does MrBeast have?"}' \
  -X POST

Responses

Routed lookup result with the underlying public API response nested in `data.lookup`.

On this page

No Headings