Docs / Instagram / Similar accounts

Instagram Similar accounts API Reference

Accounts Instagram suggests as similar for one Instagram user ID.

Maintained by the InScrape API team · Last reviewed 2026-09-19

GET /v1/instagram/similar-accounts1 credit per request

Request examples

Choose your language

All examples call the same REST endpoint.

curl "https://api.inscrape.dev/v1/instagram/similar-accounts?user_id=25025320" \
  -H "x-api-key: $INSCRAPE_KEY"

Response examples

Explore the response

Switch tabs to inspect representative payloads.

{  "success": true,  "credits_charged": 1,  "credits_remaining": 843,  "processing_time_ms": 1842,  "requested_at": "2026-09-13T14:32:18Z",  "query": {    "user_id": "25025320"  },  "data": {    "similar_accounts": [      {        "position": "1",        "pk": "25025320",        "username": "instagram",        "full_name": "Instagram",        "is_private": false,        "is_verified": true,        "profile_pic_url": "https://cdn.example.com/instagram.jpg",        "latest_story_media": 0      }    ]  }}

Headers

NameTypeRequiredDescription
x-api-keystringYesYour API key. All keys on a team share one credit pool.

Query parameters

NameTypeRequiredDescription
user_idstringYesNumeric Instagram user ID

Errors

StatusCodeWhen
400
INVALID_PARAMSA required parameter is missing or the wrong type.
401
INVALID_API_KEYThe key is unknown or has been revoked.
402
INSUFFICIENT_CREDITSBalance is below this endpoint's cost.
402
KEY_LIMIT_REACHEDThis API key has reached its credit limit.
404
ENDPOINT_NOT_FOUNDThe API endpoint does not exist. Check the API URL and endpoint path. No credits are charged.
500
SCRAPE_FAILEDUpstream fetch failed after retries.
503
SERVICE_UNAVAILABLEThe API is temporarily unavailable. Check credits_charged; failures before resource use are free.
504
UPSTREAM_TIMEOUTThe upstream scraper timed out.

Completed lookups return 200 and are charged at the endpoint rate, including private accounts and confirmed missing targets. Empty or missing targets return empty lists; an unavailable Profile is null. Documented empty next-page responses remain free. Check credits_charged on every response.