Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Instagram Profile Search

Dokumentacja API
https://api.sandbase.ai/v1/api/instagram/search-profiles

Search public Instagram profiles by a bio or caption keyword.

Cena
Od $0.0012USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 2 opcjonalnych

Playground

Wejście
Bio or caption keyword/phrase to search for.
Pagination cursor returned by a previous response.
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `private`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Instagram Profile Search API

Returns a list of public Instagram profiles whose bio or captions match a keyword or phrase. It needs one input, query, such as coffee roaster. Each profile includes the handle, bio, follower counts, links, and flags like verified and private.

Use cases

  • Build a lead list of local businesses in a niche, such as coffee roasters, from their bio text.
  • Find accounts that mention a brand, product type, or phrase in their bio for outreach.
  • Compare follower counts across accounts in one niche to spot larger and smaller players.
  • Collect the link-in-bio URLs of niche accounts to find their shops and ordering pages.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/search-profiles" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "coffee roaster"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesBio or caption keyword/phrase to search for.
cursorstringNoPagination cursor returned by a previous response.
requireFieldsarrayNoOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example private, and it is served only by a source that returns every one of

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "nextCursor": null,
    "profiles": [
      {
        "avatarUrl": "https://scontent-ord5-2.cdninstagram.com/v/t51.2885-19/236918550_117710895947947…",
        "bio": "🌍Showing you the BEST coffee scene #worldwide \n☕️Curated best coffee Branding & …",
        "bioLinks": [
          {
            "title": "",
            "url": "https://linktr.ee/roasterdaily"
          }
        ],
        "category": "Brand",
        "displayName": "Coffee Roasters & Coffee community  ®️ #roasterdaily",
        "externalUrl": "https://linktr.ee/roasterdaily",
        "followers": 306433,
        "following": 1669,
        "handle": "roasterdaily",
        "id": "7138727443",
        "isBusiness": false,
        "posts": null
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.profiles[].handleThe Instagram username of the profile.
data.profiles[].idThe Instagram user ID as a string.
data.profiles[].displayNameThe name shown on the profile.
data.profiles[].bioThe profile bio text. It can contain line breaks, emoji, and @mentions.
data.profiles[].followers / data.profiles[].followingThe number of followers the profile has and the number of accounts it follows.
data.profiles[].bioLinks[].url / data.profiles[].bioLinks[].titleEach link listed in the profile bio, with its label. The title can be an empty string.
data.profiles[].externalUrlThe main external link on the profile.
data.profiles[].categoryThe profile category label, for example Brand. It is null when none is set.
data.profiles[].verified / data.profiles[].private / data.profiles[].isBusinessBoolean flags for verified status, private account status, and business account status.
data.nextCursorThe cursor for the next page of results. It is null when there is no further page.

Notes

  • To get the next page, pass the nextCursor value as cursor in the next request with the same query.
  • posts is null in this response, so use a profile API to get post data for a handle. Try Instagram Profile or Instagram Basic Profile.
  • Use requireFields with values such as bioLinks, category, isBusiness, or private when your workflow needs those fields to be present. This can change the price of the call.
  • To find accounts related to a result, call Instagram Similar Profiles.

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
InstagramOd $0.0012 za wywołanieJSON
InstagramOd $0.0011 za wywołanieJSON
InstagramOd $0.001 za wywołanieJSON
InstagramOd $0.0011 za wywołanieJSON
InstagramOd $0.0012 za wywołanieJSON
InstagramOd $0.0011 za wywołanieJSON

Przewodniki:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Instagram Profile Search?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/instagram/search-profiles z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Instagram Profile Search?

Od $0.0012 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Instagram Profile Search?

Wymagane: query (string). Opcjonalne: cursor (string) i requireFields (array). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Instagram Profile Search?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Instagram lub klucza API?

Nie. Instagram Profile Search działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Instagram.