FETCHAPI

Get an Instagram user's id from their username API

One call converts an Instagram username (user) into its numeric user id. The answer is a single object, not a list; the id is the input that the id_user endpoints need.

1 live route on Instagram, from $0.00099 per call. Every route below answered our last live test on 2026-10-06; the gateway re-tests them daily.

Get a keySee it in the catalogUse it from MCP

Price per call, by route

The upstream price you are metered at, cheapest first. A route without a published price says so.

ProviderEndpointPriceTested
User IDGET ig/user_id$0.00099$0.99 / 1k calls✓ 2026-10-06pricing ↗

What it returns

From a real call to the route: FlashAPI.

One call converts an Instagram username (user) into its numeric user id. The answer is a single object, not a list; the id is the input that the id_user endpoints need.
idNumeric Instagram user id, usable as id_user elsewherestatus'ok' when the lookup worked

Call it

HTTP with your key in x-api-key, or the call_endpoint tool of our MCP server.

GET /api/gw/flashapi/ig/user_id$0.00099 / call✓ working · tested 2026-10-060.47 s latency
Parameters
ParameterTypeNotes
userstring · queryrequirede.g. instagram
HTTP
curl "https://fetchapi.co/api/gw/flashapi/ig/user_id?user=instagram" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("flashapi.user_id", {"user": "instagram"})
Real example answer (trimmed) · 2026-10-03
{
  "id": 25025320,
  "status": "ok"
}

Related Instagram APIs

All 19 Instagram jobs →

One key for every API on this page.

Call it over HTTP or from any MCP client. Each key has a rate limit and a monthly cap; calls are metered at the upstream price.