SignalShelf · Developer documentation

Instagram profile

Sample profile responses are available. Instagram live profile and media requests are disabled in production pending written source authorization and independent review.

Request

POST /api/v1/profiles · authenticate with the x-api-key header.

ParameterTypeRequiredDescription
platformstringYes"instagram"
handlestringYesUsername or https://www.instagram.com/<username>/ URL. Reel and story URLs are rejected.
modestringNo"live" for real data, "demo" for a free labeled sample. Default "demo".
freshnessstringNoOldest cached result you accept: "1h", "24h" (default), "7d", or "live" to force a refresh.
REQUEST EXAMPLE
curl "$SIGNALSHELF_BASE_URL/api/v1/profiles" \
  -H "Content-Type: application/json" \
  -H "x-api-key: $SIGNALSHELF_API_KEY" \
  --data '{"platform":"instagram","handle":"ghar.ka.mali","mode":"demo","freshness":"24h"}'

Example response

Labeled sample fixture. Values are illustrative and do not describe a real creator.

EXAMPLE
{
  "data": {
    "platform": "instagram",
    "handle": "ghar.ka.mali",
    "name": "Sample creator",
    "bio": "Illustrative sample data for exploring SignalShelf. Not a real profile lookup.",
    "followers": 128400,
    "following": 842,
    "posts": 326,
    "verified": false,
    "url": "https://www.instagram.com/ghar.ka.mali/",
    "avatar": null,
    "sample": true,
    "provider": "sample-fixture",
    "details": {
      "user_pk": null,
      "is_private": false,
      "pronouns": [],
      "is_memorialized": false,
      "whatsapp": null,
      "linked_facebook_page": {},
      "latest_story_at": null,
      "category": null,
      "is_business": false,
      "is_professional": false,
      "business_email": null,
      "business_phone": null,
      "business_address": {},
      "highlights": 0,
      "engagement_rate": null,
      "related_accounts": [],
      "recent_posts": []
    }
  },
  "meta": {
    "event_id": "sample",
    "mode": "demo",
    "cache": "SAMPLE",
    "credits_charged": 0,
    "fetched_at": null,
    "age_seconds": null,
    "duration_ms": 0
  }
}

Profile fields

Every platform returns these fields. Fields a platform does not expose are null (or [] for links); they are never guessed.

FieldTypeDescription
platformstringPlatform you requested.
handlestringNormalized handle (lowercase, no @).
namestringDisplay name.
biostringProfile description, as shown publicly.
followersnumberFollower or subscriber count.
followingnumberAccounts this profile follows.
postsnumberTotal posts, videos, pins or repositories, depending on platform.
verifiedbooleanPlatform verification badge, when exposed.
urlstringCanonical public profile URL.
avatarstring | nullProfile picture URL (largest available).
samplebooleanAlways false for live data; true only in sample mode.
providerstringEngine that produced the data.
detailsobjectPlatform-specific fields, listed below.

Instagram-specific fields (details)

Returned inside data.details.

FieldTypeDescription
details.user_pkstring | nullNumeric user primary key.
details.is_privatebooleanWhether this account is private. Private posts and connection lists are never returned.
details.pronounsarrayPronouns list.
details.is_memorializedbooleanMemorialized account.
details.whatsappstring | nullWhatsApp link from the bio, when present.
details.linked_facebook_pageobjectLinked Facebook page { id, name }.
details.latest_story_atstring | nullTime of the most recent story (ISO 8601).
details.categorystring | nullBusiness category, when public.
details.is_businessbooleanBusiness account flag.
details.is_professionalbooleanProfessional (creator or business) account. Full profile only.
details.business_emailstring | nullPublic business email. Full profile only.
details.business_phonestring | nullPublic business phone. Full profile only.
details.business_addressobjectBusiness address { street, city, zip, latitude, longitude }. Full profile only.
details.highlightsnumberStory highlight count. Full profile only.
details.engagement_ratestring | nullAverage (likes + comments) per recent post / followers, in %. Full profile only.
details.related_accountsarrayUsernames Instagram suggests as related. Full profile only.
details.recent_postsarrayLatest 12 posts { shortcode, url, type, caption, taken_at, likes, comments, views, thumbnail }. Full profile only.

Response metadata

FieldTypeDescription
meta.cachestringHIT (served from cache, 0 credits), MISS (fresh fetch) or SAMPLE.
meta.credits_chargednumberCredits charged for this request.
meta.fetched_atstringWhen the data was fetched from the source.
meta.age_secondsnumberAge of the data at response time.
meta.duration_msnumberServer processing time.

Errors

Every failure is free: reserved credits are refunded automatically.

FieldTypeDescription
404 PROFILE_NOT_FOUNDerrorThe profile does not exist publicly.
422 PROFILE_UNAVAILABLEerrorThe source did not expose even the public profile fields for this account.
503 SOURCE_NOT_AUTHORIZEDerrorLive access for this platform is disabled in production pending source authorization. No credits are charged.
503 SOURCE_AUTH_REQUIREDerrorThe source demanded a login for this request. Retry later.
503 UPSTREAM_RATE_LIMITEDerrorThe source is rate limiting. Retry after the Retry-After header.
402 INSUFFICIENT_CREDITSerrorNot enough credits for a fresh lookup. Cached and sample results stay free.

Limitations

Instagram live profile and media requests are disabled in production pending written source authorization and independent review.

Instagram live profile and media requests are disabled in production pending written source authorization and independent review.

Instagram live profile and media requests are disabled in production pending written source authorization and independent review.

Instagram live profile and media requests are disabled in production pending written source authorization and independent review.

Instagram live profile and media requests are disabled in production pending written source authorization and independent review.

Instagram live profile and media requests are disabled in production pending written source authorization and independent review.

Instagram live profile and media requests are disabled in production pending written source authorization and independent review.

Instagram live profile and media requests are disabled in production pending written source authorization and independent review.

Instagram live profile and media requests are disabled in production pending written source authorization and independent review.

Instagram live profile and media requests are disabled in production pending written source authorization and independent review.

Instagram live profile and media requests are disabled in production pending written source authorization and independent review.

Instagram live profile and media requests are disabled in production pending written source authorization and independent review.

Instagram live profile and media requests are disabled in production pending written source authorization and independent review.

Instagram live profile and media requests are disabled in production until written source authorization and an independent review are complete.

Local parser tests and successful page reads do not grant permission to commercialize a source method.

Additional public fields depend on what Instagram returns to a logged-out request. extraction_method identifies the available public source path. Access denials, login walls, and rate limits stop without proxy or browser retries.

For private accounts, only public profile-header fields exposed by Instagram may be returned. Private posts, stories, and follower/following lists are never returned.

Explore the API in your workspace. Sample results and accepted cache hits cost zero credits. Open the playground →