What is the Ask natural-language API?
Ask is a Social Fetch endpoint that turns a plain-English question into the right API call. Send a question like "How many TikTok followers does MrBeast have?" to POST /v1/ask (or the nl_ask_post tool over MCP), and you get back the same JSON the matching endpoint returns, plus the name of the endpoint we picked.
Glossary · Agents
What Ask actually does
Ask picks the endpoint for you. You send { "query": "..." } to POST /v1/ask, and Social Fetch chooses a documented endpoint, runs it and returns that endpoint's normal response. You don't need to know the exact endpoint up front, and the regular API is still there when you do.
Agents that connect over MCP with OAuth get the same thing as the nl_ask_post tool.
A concrete example
"How many TikTok followers does MrBeast have?" returns the TikTok profile data plus a field naming the endpoint Ask picked. The response also carries the request ID, the credits charged and the version, just like a direct call.
Calling the TikTok profile endpoint yourself with the handle returns data in exactly the same shape. Ask simply worked out the endpoint and parameters from your sentence.
Billing: routing is free, the lookup isn't
Reading your question and choosing an endpoint costs 0 credits. The lookup it runs costs the same as calling that endpoint directly.
So exploring with Ask adds no extra charge. You only pay when a real lookup runs.
How to use it without re-routing every call
Ask suits exploring, prototyping and agent workflows where you don't know the question ahead of time. The response tells you which endpoint answered.
For repeat or scheduled jobs, call that endpoint (or the matching MCP tool) directly once you know it. It's faster, and the result doesn't depend on how a question is worded.
Ask needs authentication: your API key in the x-api-key header for REST, or OAuth for the hosted MCP server at https://api.socialfetch.dev/mcp. It can't be called anonymously.
How this compares to routing it yourself
Without Ask, you'd maintain your own classifier that maps questions to endpoints, and update it every time Social Fetch adds one. Ask gives you that mapping as a single versioned endpoint.
Unlike answers written by an LLM, Ask always runs a documented endpoint and returns its standard response. If a question doesn't match one clearly, you get a typed error instead of a guess.
Good to know
Each request to POST /v1/ask stands alone. Ask has no conversation memory.
In production, call the endpoint directly once you know it. That's faster and more predictable.
Choosing the endpoint is free, and the data still costs what the lookup costs. See the credits docs.
Questions. Short answers.
How does the Ask endpoint work?
Send { "query": "..." } to POST /v1/ask, or call the nl_ask_post tool over MCP. Social Fetch matches your question to a documented endpoint, runs it, and returns that endpoint's normal response plus the name of the endpoint it chose.
Does natural-language routing cost credits?
No. Choosing the endpoint costs 0 credits. Only the lookup Ask runs is billed, at its normal rate.
Do I need an API key to use Ask?
Yes. Use your Social Fetch API key in the x-api-key header for REST, or OAuth for the hosted MCP server. Ask can't be called anonymously.
Is Ask a chatbot?
No. Ask sends your question to a documented lookup and returns structured JSON. It doesn't generate prose.
Should production jobs call Ask directly?
It's better to call the endpoint itself once you know it. Read the routedOperation field in Ask's response, then call that endpoint for repeat work.
How does Ask relate to MCP tools?
Social Fetch's MCP server offers each endpoint as its own tool. Ask (nl_ask_post over MCP, or POST /v1/ask) sits in front of them for when an agent doesn't yet know which tool to call. See the MCP for social data entry.
What happens if Ask can't figure out which operation to call?
You get a typed error rather than a guess. Ask only returns data when your question matches a documented endpoint.
Can I use Ask without signing up?
The API endpoint needs an API key or OAuth. For one-off questions by hand, try the free Ask tool on the Social Fetch website.
Keep reading. Related pages.
Try it on real data.
100 free credits when you sign up, no card needed. Make your first request in the Playground.
No credit cardSign up in 30 seconds withGoogleGitHub