Endpoint

Instagram User Search API

Find Instagram accounts by name or username. Returns matching users (id, username, name, verified and private flags, picture). Instagram caps a search at about 40 results.

GET https://api.klupt.io/v1/search/users?q={query}

Cost: 1 credit per page (0.5 from cache).

Try itsandbox data · no key needed
GET /v1/search/users?q=natgeo

Sample data in the live schema. Use private_x, ghost_x or hidden_x to see errors.

Parameters

ParameterInDescription
qqueryWhat to search for, 1 to 64 characters.
cursorquerypagination.next_cursor from the previous page.
freshquerytrue skips the cache (full price).

Response

{
  "data": [
    { "id": "787132", "username": "natgeo", "full_name": "National Geographic", "is_private": false, "is_verified": true, "profile_pic_url": "https://scontent.cdninstagram.com/…" }
  ],
  "pagination": { "next_cursor": null, "has_more": false, "page_size": 1 },
  "meta": { "request_id": "req_…", "cached": false, "cache_age_seconds": 0, "credits_charged": 1, "credits_remaining": 26944.5 }
}

Examples

curl -G "https://api.klupt.io/v1/search/users" --data-urlencode "q=national geographic" -H "X-Api-Key: $KLUPT_API_KEY"
import os, requests
users = requests.get("https://api.klupt.io/v1/search/users", params={"q": "coffee roasters"},
                     headers={"X-Api-Key": os.environ["KLUPT_API_KEY"]}, timeout=30).json()["data"]
const url = new URL("https://api.klupt.io/v1/search/users");
url.searchParams.set("q", "coffee roasters");
const { data } = await (await fetch(url, { headers: { "X-Api-Key": process.env.KLUPT_API_KEY } })).json();

FAQ

How many results does Instagram user search return?

About 40 at most per search, which is Instagram's own cap. Narrow the query for better matches.

Updated 2026-11-29 · Markdown · Questions? [email protected]