Profiles

Instagram username to user id

The numeric user id for a handle. Every endpoint also accepts either one directly, so you rarely need this.

Cost: 1 credit.

get/v1/user-id

Request

  • Base URL: https://data.fastsocial.co
  • URL: https://data.fastsocial.co/v1/user-id
  • Auth: API key in header X-API-Key

Query parameters

usernamestring

Instagram handle, with or without @. A profile URL also works. Pass this or user_id.

user_idstring

Numeric Instagram user id. Pass this or username.

Response

OK

okunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.