Instagram Keyword Search

https://api.sandbase.ai/v1/api/instagram/v1/search

Returns Instagram users, hashtags, or places matching a search keyword. Filter results by specific target types using an optional filter parameter.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 1 optional
Production route

Try the model

Playground

Open playground
Input
Search keyword
Filter type (optional)
OutputExample
Responseoutputs · 46.7 KB · 875 lines
[
  {
    "data": {
      "attempts": "22",
      "hashtags": [
        {
          "hashtag": {
            "id": 17841553213093056,
            "media_count": 2319696,
            "name": "openai"
          },
          "position": 4
        },
        {
          "hashtag": {
            "id": 17841563491091320,
            "media_count": 2530825,
            "name": "openair"
          },
          "position": 27
        },
        {
          "hashtag": {
            "id": 17841509815126634,
            "media_count": 66953,
            "name": "openairkino"
          },
          "position": 41
        },
        {
          "hashtag": {
            "id": 17884190921588432,
            "media_count": 8671,
            "name": "openaidalle2"
          },
          "position": 42
        },
        {
          "hashtag": {
            "id": 17883899521719332,
            "media_count": 7064,
            "name": "openaiart"
          },
          "position": 44
        },
        {
          "hashtag": {
            "id": 17843822296050970,
            "media_count": 6914,
            "name": "openairmusic"
          },
          "position": 45
        },
        {
          "hashtag": {
            "id": 17843720056053644,
            "media_count": 59065,
            "name": "openairtheatre"
          },
          "position": 47
        },
        {
          "hashtag": {
            "id": 17841521308094496,
            "media_count": 6645,
            "name": "openairberlin"
          },
          "position": 48
        },
        {
          "hashtag": {
            "id": 17841541525081404,
            "media_count": 6175,
            "name": "openairfitness"
          },
          "position": 51
        },
        {
          "hashtag": {
            "id": 17841563122123526,
            "media_count": 6146,
            "name": "openairs"
          },
          "position": 52
        },
        {
          "hashtag": {
            "id": 17987906725321754,
            "media_count": 35506,
            "name": "openaidalle"
          },
          "position": 54
        }
      ],
      "places": [],
      "status": "ok",
      "users": [
        {
          "position": 0,
          "user": {
            "full_name": "OpenAI",
            "id": "45374573700",
            "is_unpublished": null,
            "is_verified": true,
            "latest_reel_media": null,
            "live_broadcast_id": null,
            "live_broadcast_visibility": null,
            "pk": "45374573700",
            "profile_pic_url": "https://scontent-cdg4-1.cdninstagram.com/v/t51.82787-19/788716177_18115256264517701_8401817653356104064_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4zMjAuYzIifQ&_nc_ht=scontent-cdg4-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gESMEP5unU8wjqqQo_wMGUwFPSpNPZD6sCjiVqFSp9Sk-oUSa6sU4FbgBiXRk1dWU4&_nc_ohc=qjrncDNF5UEQ7kNvwEXB_FD&_nc_gid=D_VfyqSmLkvLlw-VcjtLVA&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQNbUlx4UrkE4z3qh0YMElYHusXhJyB_t6f6AXPcAn6Wkw&oe=6ACABFE6&_nc_sid=10d13b",
            "search_social_context": null,
            "seen": null,
            "unseen_count": null,
            "username": "openai"
          }
        },
        {
          "position": 1,
          "user": {
            "full_name": "",
            "id": "1827883862",
            "is_unpublished": null,
            "is_verified": false,
            "latest_reel_media": null,
            "live_broadcast_id": null,
            "live_broadcast_visibility": null,
            "pk": "1827883862",
            "profile_pic_url": "https://scontent-cdg4-2.cdninstagram.com/v/t51.2885-19/366443580_1384654825729633_7746885651325906213_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-cdg4-2.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gESMEP5unU8wjqqQo_wMGUwFPSpNPZD6sCjiVqFSp9Sk-oUSa6sU4FbgBiXRk1dWU4&_nc_ohc=XLhws1YWGCMQ7kNvwE6nHmK&_nc_gid=D_VfyqSmLkvLlw-VcjtLVA&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQOpCSqUWIFYgNAxa1ZlwH7W3CAbRZi-dC6AttD6ym3EGw&oe=6ACAA961&_nc_sid=10d13b",
            "search_social_context": null,
            "seen": null,
            "unseen_count": null,
            "username": "openairtirana"
          }
        },
        {
          "position": 2,
          "user": {
            "full_name": "OpenAI Developers",
            "id": "35456104534",
            "is_unpublished": null,
            "is_verified": false,
            "latest_reel_media": null,
            "live_broadcast_id": null,
            "live_broadcast_visibility": null,
            "pk": "35456104534",
            "profile_pic_url": "https://scontent-cdg4-3.cdninstagram.com/v/t51.82787-19/670815237_18080716229176535_1278459534956580752_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby40MDAuYzIifQ&_nc_ht=scontent-cdg4-3.cdninstagram.com&_nc_cat=111&_nc_oc=Q6cZ2gESMEP5unU8wjqqQo_wMGUwFPSpNPZD6sCjiVqFSp9Sk-oUSa6sU4FbgBiXRk1dWU4&_nc_ohc=hqDtkc-fDuEQ7kNvwGgMqbl&_nc_gid=D_VfyqSmLkvLlw-VcjtLVA&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQNgy4h-72DqAJU770t2vcIncnCymaacStQG4jvyTa68EQ&oe=6ACAA624&_nc_sid=10d13b",
            "search_social_context": null,
            "seen": null,
            "unseen_count": null,
            "username": "openaidevs"
          }
        },
        {
          "position": 3,
          "user": {
            "full_name": "ADRENALIEN",
            "id": "70219771930",
            "is_unpublished": null,
            "is_verified": false,
            "latest_reel_media": null,
            "live_broadcast_id": null,
            "live_broadcast_visibility": null,
            "pk": "70219771930",
            "profile_pic_url": "https://scontent-cdg4-2.cdninstagram.com/v/t51.82787-19/779180142_17939515749339931_4746612999249842692_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-cdg4-2.cdninstagram.com&_nc_cat=107&_nc_oc=Q6cZ2gESMEP5unU8wjqqQo_wMGUwFPSpNPZD6sCjiVqFSp9Sk-oUSa6sU4FbgBiXRk1dWU4&_nc_ohc=DeLmG3TLXA0Q7kNvwGaamVj&_nc_gid=D_VfyqSmLkvLlw-VcjtLVA&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQPFAQkirHT2TdgEk5emhEvPrQq32oZrA6CVHn1lwhfEtA&oe=6ACAA2F2&_nc_sid=10d13b",
            "search_social_context": null,
            "seen": null,
            "unseen_count": null,
            "username": "adrenalien_openair"
          }
        },
        {
          "position": 5,
          "user": {
            "full_name": "OAP",
            "id": "1285063908",
            "is_unpublished": null,
            "is_verified": false,
            "latest_reel_media": null,
            "live_broadcast_id": null,
            "live_broadcast_visibility": null,
            "pk": "1285063908",
            "profile_pic_url": "https://scontent-cdg6-1.cdninstagram.com/v/t51.2885-19/355227688_219456484319571_3508544318427208258_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby41MDAuYzIifQ&_nc_ht=scontent-cdg6-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2gESMEP5unU8wjqqQo_wMGUwFPSpNPZD6sCjiVqFSp9Sk-oUSa6sU4FbgBiXRk1dWU4&_nc_ohc=yB1UiNsmgzwQ7kNvwGR3MF1&_nc_gid=D_VfyqSmLkvLlw-VcjtLVA&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQPOke-oWFIGZ4syB7VVySaQrHSS4M7ts9G0g3rbrokVKg&oe=6ACAD060&_nc_sid=10d13b",
            "search_social_context": null,
            "seen": null,
            "unseen_count": null,
            "username": "openairpub"
          }
        },
        {
          "position": 6,
          "user": {
            "full_name": "Genderbüebu OpenAir 2027",
            "id": "22621697326",
            "is_unpublished": null,
            "is_verified": false,
            "latest_reel_media": null,
            "live_broadcast_id": null,
            "live_broadcast_visibility": null,
            "pk": "22621697326",
            "profile_pic_url": "https://scontent-cdg4-2.cdninstagram.com/v/t51.82787-19/797006803_18118377064753327_6504683631248481365_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby44MTUuYzIifQ&_nc_ht=scontent-cdg4-2.cdninstagram.com&_nc_cat=107&_nc_oc=Q6cZ2gESMEP5unU8wjqqQo_wMGUwFPSpNPZD6sCjiVqFSp9Sk-oUSa6sU4FbgBiXRk1dWU4&_nc_ohc=4eaKKzHC9jwQ7kNvwH3EjzE&_nc_gid=D_VfyqSmLkvLlw-VcjtLVA&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQMFzKzTGRAjMhApf5i1F0Bpuit7GJw_cuyYSoqH0cefhg&oe=6ACAC83C&_nc_sid=10d13b",
            "search_social_context": null,
            "seen": null,
            "unseen_count": null,
            "username": "genderbuebu_openair"
          }
        },
        {
          "position": 7,
          "user": {
            "full_name": "UTOPIA OPEN AIR",
            "id": "5487198641",
            "is_unpublished": null,
            "is_verified": false,
            "latest_reel_media": null,
            "live_broadcast_id": null,
            "live_broadcast_visibility": null,
            "pk": "5487198641",
            "profile_pic_url": "https://scontent-cdg6-1.cdninstagram.com/v/t51.82787-19/701696794_18417695881182642_7824341990970658262_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-cdg6-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2gESMEP5unU8wjqqQo_wMGUwFPSpNPZD6sCjiVqFSp9Sk-oUSa6sU4FbgBiXRk1dWU4&_nc_ohc=1kI2F7n9C-EQ7kNvwEp0-5T&_nc_gid=D_VfyqSmLkvLlw-VcjtLVA&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQOc1aZU8QoiBshqqVm__ESgzm0twqubRS6tJ0L7Am95sw&oe=6ACAC2EF&_nc_sid=10d13b",
            "search_social_context": null,
            "seen": null,
            "unseen_count": null,
            "username": "utopia_openair"
          }
        },
        {
          "position": 8,
          "user": {
            "full_name": "Open Air Club",
            "id": "50893699496",
            "is_unpublished": null,
            "is_verified": false,
            "latest_reel_media": null,
            "live_broadcast_id": null,
            "live_broadcast_visibility": null,
            "pk": "50893699496",
            "profile_pic_url": "https://scontent-cdg4-2.cdninstagram.com/v/t51.82787-19/683927334_18061619654699497_2099504795671445955_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby43NTAuYzIifQ&_nc_ht=scontent-cdg4-2.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gESMEP5unU8wjqqQo_wMGUwFPSpNPZD6sCjiVqFSp9Sk-oUSa6sU4FbgBiXRk1dWU4&_nc_ohc=ntQ2lxlu_YsQ7kNvwFjqzJI&_nc_gid=D_VfyqSmLkvLlw-VcjtLVA&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQO66hKHHHjkXg8cZHcZdcK1oK2gl-GiQgGGQsO9Xw4XxA&oe=6ACAD1AD&_nc_sid=10d13b",
            "search_social_context": null,
            "seen": null,
            "unseen_count": null,
            "username": "openairclub.nyc"
          }
        },
        {
          "position": 9,
          "user": {
            "full_name": "LK ♨️",
            "id": "46888072006",
            "is_unpublished": null,
            "is_verified": false,
            "latest_reel_media": null,
            "live_broadcast_id": null,
            "live_broadcast_visibility": null,
            "pk": "46888072006",
            "profile_pic_url": "https://scontent-cdg4-3.cdninstagram.com/v/t51.82787-19/601825365_18061707191560007_4596392213387642483_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-cdg4-3.cdninstagram.com&_nc_cat=111&_nc_oc=Q6cZ2gESMEP5unU8wjqqQo_wMGUwFPSpNPZD6sCjiVqFSp9Sk-oUSa6sU4FbgBiXRk1dWU4&_nc_ohc=zbLjl5p05v0Q7kNvwFdrEtL&_nc_gid=D_VfyqSmLkvLlw-VcjtLVA&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQN4Nj3UoEz-8LvYq5u8bkcfyWth6xTPjlmysT8msiM-Iw&oe=6ACAA4CE&_nc_sid=10d13b",
            "search_social_context": null,
            "seen": null,
            "unseen_count": null,
            "username": "openair__20"
          }
        },
        {
          "position": 10,
          "user": {
            "full_name": "",
            "id": "21893232473",
            "is_unpublished": null,
            "is_verified": false,
            "latest_reel_media": null,
            "live_broadcast_id": null,
            "live_broadcast_visibility": null,
            "pk": "21893232473",
            "profile_pic_url": "https://scontent-cdg6-1.cdninstagram.com/v/t51.82787-19/687782775_18107979730728474_8499976410463050872_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby45NTUuYzIifQ&_nc_ht=scontent-cdg6-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2gESMEP5unU8wjqqQo_wMGUwFPSpNPZD6sCjiVqFSp9Sk-oUSa6sU4FbgBiXRk1dWU4&_nc_ohc=VI46E978iRMQ7kNvwHrZViS&_nc_gid=D_VfyqSmLkvLlw-VcjtLVA&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQMSbce3h6X7Wn5dBGgYNMLtAf4QxHhboMwkNvSUKVauxg&oe=6ACABF6F&_nc_sid=10d13b",
            "search_social_context": null,
            "seen": null,
            "unseen_count": null,
            "username": "open.air.fest"
          }
        },
        {
          "position": 11,
          "user": {
            "full_name": "Albertov Open Air",
            "id": "76278612511",
            "is_unpublished": null,
            "is_verified": false,
            "latest_reel_media": null,
            "live_broadcast_id": null,
            "live_broadcast_visibility": null,
            "pk": "76278612511",
            "profile_pic_url": "https://scontent-cdg4-1.cdninstagram.com/v/t51.82787-19/810731264_17907844566540512_201830256705690188_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-cdg4-1.cdninstagram.com&_nc_cat=108&_nc_oc=Q6cZ2gESMEP5unU8wjqqQo_wMGUwFPSpNPZD6sCjiVqFSp9Sk-oUSa6sU4FbgBiXRk1dWU4&_nc_ohc=lM4SZQOuch4Q7kNvwEqtYHV&_nc_gid=D_VfyqSmLkvLlw-VcjtLVA&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQN434DY4gk2CU6zfy1NeqIr4TT8bNZ1jI1o3aL7As-ynw&oe=6ACABC6E&_nc_sid=10d13b",
            "search_social_context": null,
            "seen": null,
            "unseen_count": null,
            "username": "albertov_openair"
          }
        },
        {
          "position": 12,
          "user": {
            "full_name": "Open Air 2026",
            "id": "2089344086",

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

query
string · required
select
string · optional

Access

Provider
Instagram
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/instagram/v1/search
Authentication
Bearer API key

API README

Instagram Keyword Search API

Search across Instagram profiles, hashtags, and locations by passing a search term into query. Narrow the search category by supplying select.

Use cases

  • Locate Instagram profiles by keyword or brand name.
  • Discover hashtags related to specific topics or campaigns.
  • Find place entities and locations across Instagram.

Request

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

Parameters

NameTypeRequiredDescription
querystringYesSearch keyword
selectstringNoFilter type (optional)

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "users": [
    {
      "user": {
        "full_name": "OpenAI",
        "id": "45374573700",
        "profile_pic_url": "https://scontent-cdg4-1.cdninstagram.com/v/t51.82787-19/788716177_18115256264517…",
        "username": "<user>"
      }
    }
  ]
}

Notes

  • Specify query with the target keyword to perform the search.
  • Use select to filter search results by target type, such as hashtags.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/instagram/v1/search
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/instagram/v1/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "query": "openai",
  "select": "hashtags"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Instagram Keyword Search API?

Send a POST request to https://api.sandbase.ai/v1/api/instagram/v1/search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Instagram Keyword Search API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Instagram Keyword Search API accept?

Required: query (string). Optional: select (string). The Parameters table and the Playground on this page list every field.

What does the Instagram Keyword Search API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Instagram developer account or API key?

No. Instagram Keyword Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Instagram API access separately.