What is requestId?
requestId is the ID Social Fetch gives each API call. It comes back on every response, successful or not, and it's the first thing support and logs use to find out what happened to that call.
Glossary · Operations
What the field actually looks like
It's a string that starts with req_ (for example req_9f2c1a4b7e). It appears in the meta part of every response, next to the credits charged and the version, on successes and errors alike.
We create it once per call, on our side, before the lookup runs. That's why authentication errors, validation errors and rate limits all carry one too.
How to use it
Log it on every response next to the endpoint and status code. Show it in user-facing errors ("Reference: req_9f2c1a4b7e") and include it in support tickets, so one ID points to the exact request.
To keep your own trace ID, send it in the X-Request-Id header and we'll use it if it's valid. That helps with queue jobs and distributed tracing.
A debugging walkthrough
Say a TikTok profile comes back as not found. Check the response's lookupStatus first: a 200 with not_found is a real answer, not a failed call, and retrying is charged again.
If you're sure the handle is public and the result looks wrong, copy the requestId and open a ticket, or check the reliability page for incidents. Without it, support will have to ask you to reproduce the problem.
What it's for, and what to use instead
For spend, use the credits charged on each response and GET /v1/balance. The requestId identifies a call, not an invoice.
Lookups are reads, so the requestId doesn't guarantee a call runs exactly once. Treat it as a reference, not an idempotency key.
Treat it as opaque. It isn't sequential or guessable, and its format may change.
How this compares to other APIs' trace IDs
It works like Stripe's Request-Id or Twilio's Sid: an opaque token on every response, errors included.
Social Fetch's requestId always traces back inside Social Fetch, so one ID is all support needs.
Across retries and async work
Keep the same requestId when you retry or hand work to a queue, so support sees one thread. Quote the original ID when you report a problem.
MCP, Ask and the regular REST endpoints all return it. The free browser tools may not show it on screen. See the reliability page.
Questions. Short answers.
What is requestId?
A string starting with req_ that Social Fetch returns on every API response, successful or not. It links one call to what happened on our side.
What does requestId mean if I see it on an error response?
It's the ID for that specific call. Errors carry a requestId too, including authentication failures and rate limits.
Is requestId on MCP and Ask too?
Yes. Ask responses have the same shape as any other, and the details of the lookup Ask runs match that endpoint's own response.
Can I set my own requestId?
Yes. Send it in the X-Request-Id header, and Social Fetch uses it instead of creating a new one, as long as it's valid.
Is requestId the same as a billing or invoice ID?
No. For spend, use the credits charged on each response and the GET /v1/balance endpoint.
Do free tools expose requestId?
The free browser tools may not show it. API and MCP responses always include it.
Where do I read more?
See the Social Fetch unified schema page, the reliability page and the errors docs.
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