Instagram data API

Instagram User ID Lookup API

Send a numeric Instagram user id and get the full current profile as JSON, including the account's latest username, bio, business contacts and follower counts. Essential when creators rename their handles.

Request

GET /v1/users/{user_id} · 1 credit per successful call

cURL
curl "https://api.igramapi.com/v1/users/1234567890" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

200 OK · application/json
{
  "profile": {
    "user_id": "1234567890",
    "username": "example_creator",
    "full_name": "Example Creator",
    "biography": "Photographer. Travel and street stories.",
    "external_url": "https://example.com",
    "bio_links": [
      {
        "title": "Portfolio",
        "url": "https://example.com",
        "link_type": "external"
      }
    ],
    "category": "Photographer",
    "is_business": false,
    "account_type": "creator",
    "public_email": null,
    "public_phone": null,
    "profile_picture_url": "https://scontent.cdninstagram.com/v/example/avatar.jpg",
    "is_hd_picture": true,
    "is_private": false,
    "is_verified": true,
    "has_story": false,
    "followers": 182400,
    "following": 311,
    "posts_count": 742
  },
  "cached": false
}

All values above are made-up examples. Media links are temporary Instagram CDN addresses.

Parameters

NameInDescription
user_idrequired path Numeric Instagram user ID.

Response fields

FieldTypeDescription
profileobjectFull profile object matching the Profile API.
cachedbooleanTrue when served from cache.

Survives handle changes

Usernames change; numeric Instagram user IDs do not. Resolve the current handle anytime.

Same Profile schema

Returns the exact profile object as GET /v1/profiles/{username}.

1 credit per lookup

Cached for fast repeated lookups; missing IDs return profile_not_found.

Why store numeric user IDs

Endpoints such as Followers, Comments and Profile all include numeric user IDs. Storing user_id as your primary key lets you call /v1/users/{user_id} whenever a handle stops resolving.

Frequently asked questions

Does it return the exact same fields as /v1/profiles/{username}?

Yes. Both endpoints share the same ProfileResponse schema.

What happens if the user ID does not exist?

The API returns HTTP 404 with profile_not_found.

Our errors cost nothing. Failures on our side (status 500 or above) and invalid requests (400, 422) are refunded, and every error has the same shape. See error handling and credits and rate limits.

Try the User ID Lookup API free

Create a key and make your first request in minutes. 100 free credits every month.