Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Instagram Search

API दस्तावेज़
https://api.sandbase.ai/v1/api/instagram/search

Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links.

मूल्य
से $0.0036USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 3 वैकल्पिक

प्लेग्राउंड

इनपुट
Keyword to search Instagram for; one or more words without special punctuation (e.g. coffee roastery).
What to search for: user profiles, hashtags, or places (e.g. hashtag).
120
Maximum number of results to return (1-20, default 20). सीमा: 1 से 20.
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 `postsCount`, 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.
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

Instagram Search API

This API searches Instagram by keyword and returns a list of matching results. Each result has a name, handle, ID, profile image, and link. It needs a query, and you can set type to user, hashtag, or place.

Use cases

  • Find the official Instagram account for a brand or organization by searching its name.
  • Build a list of candidate accounts for a topic, then check which ones are verified.
  • Turn a keyword into Instagram user IDs and handles to feed into profile or post lookups.
  • Add an account search box to a tool that links to each profile page.

Request

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

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

Parameters

NameTypeRequiredDescription
querystringYesKeyword to search Instagram for; one or more words without special punctuation (e.g. coffee roastery).
limitintegerNoMaximum number of results to return (1-20, default 20).
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 postsCount, and it is served only by a source that returns every one
typestringNoWhat to search for: user profiles, hashtags, or places (e.g. hashtag).

Example response

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

{
  "data": {
    "items": [
      {
        "bio": "",
        "followers": 0,
        "following": 0,
        "handle": "nasa",
        "id": "528817151",
        "image": "https://instagram.fsjc1-4.fna.fbcdn.net/v/t51.2885-19/29090066_159271188110124_1…",
        "name": "NASA",
        "postsCount": null,
        "url": "https://www.instagram.com/nasa/",
        "verified": true
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.items[].handleThe account username, without the @ sign.
data.items[].nameThe display name shown on the profile.
data.items[].idThe numeric Instagram ID of the account, returned as a string.
data.items[].urlLink to the profile page on Instagram.
data.items[].verifiedtrue when the account has the verified badge.
data.items[].imageURL of the profile picture.
data.items[].followers / data.items[].followingFollower and following counts. In this sample response they are 0 for every result, so do not rely on them for ranking.
data.items[].bioProfile biography text. It is an empty string in this sample response.
data.items[].postsCountNumber of posts on the account. It is null in this sample response.
foundtrue when the search returned results.

Notes

  • Results are in data.items. A search with no match still succeeds and returns found: false.
  • Use limit (1 to 20) to cap the number of results. There is no page parameter.
  • postsCount came back as null in this sample. Pass requireFields: ["postsCount"] to route to a source that returns it. This can raise the price of the call.
  • For full profile details, take the handle or id and call Instagram Profile or Instagram User Profile by ID.

Pricing

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

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
Instagram$0.0036 प्रति कॉल सेJSON
Instagram$0.0011 प्रति कॉल सेJSON
Instagram$0.001 प्रति कॉल सेJSON
Instagram$0.0011 प्रति कॉल सेJSON
Instagram$0.0012 प्रति कॉल सेJSON
Instagram$0.0011 प्रति कॉल सेJSON

गाइड्स:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

प्रश्न

FAQ

Instagram Search API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/instagram/search पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Instagram Search API की लागत कितनी है?

$0.0036 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Instagram Search API कौन-से parameters स्वीकार करती है?

आवश्यक: query (string)। वैकल्पिक: type (user, hashtag, place में से एक), limit (integer) और requireFields (array)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Instagram Search API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Instagram developer account या API key चाहिए?

नहीं। Instagram Search SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Instagram API access के लिए आवेदन करने की आवश्यकता नहीं है।