LurkAPI
Docs · Profile

Profile

A public profile's biography, links and follower counts.

1 credit per callFresh within 10 minutesMCP tool: instagram_profile
GEThttps://api.lurkapi.com/v1/instagram/profile

Example responseView as markdown

When to use this

Pass a username or profile URL. Follower and following counts come from public profile data. Post count and higher resolution images depend on what Instagram returns; missing fields are null.

Parameters

All parameters go in the query string.

ParameterDescription
username
stringoptional
Instagram username, with or without @, or a profile URL. Required unless url is given.
Example
nike
url
stringoptional
An instagram.com profile URL. Required unless username is given.

Example request

Replace YOUR_API_KEY with your key, or set LURKAPI_KEY for the code. Get a free key.

Language

Example response

A real response from this endpoint, captured from the live API and trimmed to a couple of items. Strings over 96 characters (mostly signed media URLs) are cut short and end in ….

Show the example response (1 KB)
{
  "success": true,
  "credits_remaining": 99,
  "credits_charged": 1,
  "data": {
    "pk": "13460080",
    "id": "17841400602400210",
    "username": "nike",
    "url": "https://www.instagram.com/nike/",
    "full_name": "Nike",
    "biography": "Just Do It.",
    "profile_pic_url": "https://scontent-iad6-1.cdninstagram.com/v/t51.82787-19/551608484_185671…",
    "profile_pic_url_hd": "https://scontent-iad6-1.cdninstagram.com/v/t51.82787-19/551608484_185671…",
    "is_private": false,
    "is_verified": true,
    "follower_count": 291074487,
    "following_count": 266,
    "media_count": null,
    "external_url": "http://empli.fi/nike",
    "bio_links": [
      {
        "url": "http://empli.fi/nike",
        "title": ""
      }
    ],
    "pronouns": [],
    "account_type": 2,
    "category": "",
    "total_clips_count": 1
  }
}

Response fields

Every field of a successful response. [] marks a list: a[].b is the b of each item in a. nullable fields can be null; optional fields can be missing.

Show all 25 fields
FieldTypeDescription
successtrueAlways true here; errors have success: false.
credits_remainingnumberYour balance after this call. On anonymous playground calls: free tries left today.
credits_chargednumberCredits this call cost; 0 on free endpoints. On anonymous playground calls: tries used (1).
dataobjectProfile details.
data.pkstringNumeric Instagram user id, represented as a string.
data.idstringnullableInstagram's separate GraphQL profile id; null when not returned.
data.usernamestringInstagram username, without @.
data.urlstringCanonical Instagram profile URL.
data.full_namestringnullableDisplay name; null when not returned.
data.biographystringnullableBiography, preserving line breaks; null when not returned.
data.profile_pic_urlstringnullableProfile image URL; CDN links can expire; null when not returned.
data.profile_pic_url_hdstringnullableHigher resolution profile image URL, when available; null when not returned.
data.is_privatebooleannullableWhether the account is private; null when not returned.
data.is_verifiedbooleannullableWhether Instagram shows a verified badge; null when not returned.
data.follower_countnumbernullableFollower count; null when not shown or returned. A null count is not zero.
data.following_countnumbernullableNumber of accounts followed; null when not shown or returned. A null count is not zero.
data.media_countnumbernullableNumber of posts; public GraphQL frequently omits this count; null when not shown or returned. A null count is not zero.
data.external_urlstringnullableMain website link in the profile; null when not returned.
data.bio_linksobject[]nullableLinks listed in the bio, in Instagram's order; null when not returned.
data.bio_links[].urlstringThe link's destination URL.
data.bio_links[].titlestringnullableLink title; an empty title means none was set; null when not returned.
data.pronounsstring[]nullablePronouns the user set; null when not returned, empty when none are set.
data.account_typenumbernullableInstagram's account type code, e.g. 2; null when not shown or returned. A null count is not zero.
data.categorystringnullableCategory label; an empty string means Instagram returned no label; null when not returned.
data.total_clips_countnumbernullableReel count returned by Instagram; it may differ from the number visible in the reels tab; null when not shown or returned. A null count is not zero.

Caching and freshness

Responses are cached for up to 10 minutes, so a repeat call within that window can return the same data. It still costs 1 credit.

Errors

Errors return { success: false, error, code, docs } with the HTTP status below. Validation errors, 401/402/429 rejections and 5xx failures are free; not_found is charged (how charging works). All error codes.

StatusCodeMeaning
401missing_api_keyNo API key. Send it in the x-api-key header.
401invalid_api_keyThe key is unknown or was revoked.
402insufficient_creditsNot enough credits for this call. Buy a pack or wait for tomorrow's top-up.
404not_foundThe endpoint, or the thing you asked for (ad, post, subreddit), doesn't exist. Charged when the platform was checked.
405method_not_allowedEndpoints take GET with query params.
429rate_limitedToo many calls at once. Wait for the retry-after seconds, then retry.
500internal_errorSomething broke on our side. Retry; 5xx errors are free.
502upstream_errorThe platform didn't give a usable answer. Retry; 5xx errors are free.
503upstream_busyAll our connections to the platform are busy. Retry in a few seconds; 5xx errors are free.
504upstream_timeoutThe platform took over 30 seconds to answer. Retry; timeouts are free.

Use it in Claude

Once LurkAPI is connected to Claude, this endpoint is the instagram_profile tool. Ask in plain English, for example:

Ask Claude
Use LurkAPI's instagram_profile with username "nike" and summarize what you find.

Claude calls instagram_profile with arguments like these, and each call costs 1 credit:

Tool arguments
{
  "username": "nike"
}

Tool results skip nulls and empty lists to save tokens.