Instagram Hashtag Search (V3)

https://api.sandbase.ai/v1/api/instagram/v3/search-hashtags

Searches Instagram hashtags by keyword and returns matching hashtag names, IDs, and media counts. Supports pagination via rank tokens.

Price
$0.01USD / 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
Rank token from previous search response for pagination
OutputExample
Responseoutputs · 6.3 KB · 253 lines
[
  {
    "data": {
      "_rid": "3a5106a482aa8",
      "count": 20,
      "hashtags": [
        {
          "id": "17841553213093056",
          "media_count": 2319697,
          "name": "openai",
          "profile_pic_url": null
        },
        {
          "id": "17841563491091320",
          "media_count": 2530825,
          "name": "openair",
          "profile_pic_url": null
        },
        {
          "id": "17987906725321754",
          "media_count": 35506,
          "name": "openaidalle",
          "profile_pic_url": null
        },
        {
          "id": "17841563674127050",
          "media_count": 145199,
          "name": "openairmuseum",
          "profile_pic_url": null
        },
        {
          "id": "17841561118104382",
          "media_count": 133115,
          "name": "openaircinema",
          "profile_pic_url": null
        },
        {
          "id": "17883899521719332",
          "media_count": 7064,
          "name": "openaiart",
          "profile_pic_url": null
        },
        {
          "id": "17884190921588432",
          "media_count": 8671,
          "name": "openaidalle2",
          "profile_pic_url": null
        },
        {
          "id": "17843822296050970",
          "media_count": 6914,
          "name": "openairmusic",
          "profile_pic_url": null
        },
        {
          "id": "17841521308094495",
          "media_count": 6645,
          "name": "openairberlin",
          "profile_pic_url": null
        },
        {
          "id": "17841541525081405",
          "media_count": 6175,
          "name": "openairfitness",
          "profile_pic_url": null
        },
        {
          "id": "17841563122123526",
          "media_count": 6146,
          "name": "openairs",
          "profile_pic_url": null
        },
        {
          "id": "17841509815126634",
          "media_count": 66953,
          "name": "openairkino",
          "profile_pic_url": null
        },
        {
          "id": "17843720056053645",
          "media_count": 59065,
          "name": "openairtheatre",
          "profile_pic_url": null
        },
        {
          "id": "18000998414412123",
          "media_count": 5648,
          "name": "openaisora",
          "profile_pic_url": null
        },
        {
          "id": "17843751409011677",
          "media_count": 6180,
          "name": "openairpainting",
          "profile_pic_url": null
        },
        {
          "id": "17843777458055846",
          "media_count": 5161,
          "name": "openaire",
          "profile_pic_url": null
        },
        {
          "id": "17857776739059264",
          "media_count": 3693,
          "name": "openair2017",
          "profile_pic_url": null
        },
        {
          "id": "17843749756040883",
          "media_count": 115257,
          "name": "openairfestival",
          "profile_pic_url": null
        },
        {
          "id": "17841561391113925",
          "media_count": 20085,
          "name": "openairbath",
          "profile_pic_url": null
        },
        {
          "id": "17842395466046757",
          "media_count": 19851,
          "name": "openairrestaurant",
          "profile_pic_url": null
        }
      ],
      "items": [
        {
          "id": "17841553213093056",
          "media_count": 2319697,
          "name": "openai",
          "profile_pic_url": null
        },
        {
          "id": "17841563491091320",
          "media_count": 2530825,
          "name": "openair",
          "profile_pic_url": null
        },
        {
          "id": "17987906725321754",
          "media_count": 35506,
          "name": "openaidalle",
          "profile_pic_url": null
        },
        {
          "id": "17841563674127050",
          "media_count": 145199,
          "name": "openairmuseum",
          "profile_pic_url": null
        },
        {
          "id": "17841561118104382",
          "media_count": 133115,
          "name": "openaircinema",
          "profile_pic_url": null
        },
        {
          "id": "17883899521719332",
          "media_count": 7064,
          "name": "openaiart",
          "profile_pic_url": null
        },
        {
          "id": "17884190921588432",
          "media_count": 8671,
          "name": "openaidalle2",
          "profile_pic_url": null
        },
        {
          "id": "17843822296050970",
          "media_count": 6914,
          "name": "openairmusic",
          "profile_pic_url": null
        },
        {
          "id": "17841521308094495",
          "media_count": 6645,
          "name": "openairberlin",
          "profile_pic_url": null
        },
        {
          "id": "17841541525081405",
          "media_count": 6175,
          "name": "openairfitness",
          "profile_pic_url": null
        },
        {
          "id": "17841563122123526",
          "media_count": 6146,
          "name": "openairs",
          "profile_pic_url": null
        },
        {
          "id": "17841509815126634",
          "media_count": 66953,
          "name": "openairkino",
          "profile_pic_url": null
        },
        {
          "id": "17843720056053645",
          "media_count": 59065,
          "name": "openairtheatre",
          "profile_pic_url": null
        },
        {
          "id": "18000998414412123",
          "media_count": 5648,
          "name": "openaisora",
          "profile_pic_url": null
        },
        {
          "id": "17843751409011677",
          "media_count": 6180,
          "name": "openairpainting",
          "profile_pic_url": null
        },
        {
          "id": "17843777458055846",
          "media_count": 5161,
          "name": "openaire",
          "profile_pic_url": null
        },
        {
          "id": "17857776739059264",
          "media_count": 3693,
          "name": "openair2017",
          "profile_pic_url": null
        },
        {
          "id": "17843749756040883",
          "media_count": 115257,
          "name": "openairfestival",
          "profile_pic_url": null
        },
        {
          "id": "17841561391113925",
          "media_count": 20085,
          "name": "openairbath",
          "profile_pic_url": null
        },
        {
          "id": "17842395466046757",
          "media_count": 19851,
          "name": "openairrestaurant",
          "profile_pic_url": null
        }
      ],
      "rank_token": null
    }
  }
]

Examples

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

Model card

Specifications

Pricing

Base price
$0.01 / 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
rank_token
string · optional

Access

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

API README

Instagram Hashtag Search (V3) API

Search Instagram hashtags matching a keyword using query. Returns hashtag metadata including media counts, with support for pagination via rank_token.

Use cases

  • Look up hashtag popularity and media counts.
  • Discover relevant hashtags based on search terms.
  • Collect hashtag IDs for social media monitoring workflows.

Request

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

Parameters

NameTypeRequiredDescription
querystringYesSearch keyword
rank_tokenstringNoRank token from previous search response for pagination

Example response

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

{
  "hashtags": [
    {
      "id": "17841553213093056",
      "media_count": 2319697,
      "name": "openai"
    }
  ]
}

Notes

  • Use rank_token from a previous response to paginate through additional results.

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/v3/search-hashtags
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/v3/search-hashtags" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "query": "openai"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Instagram$0.01 per callJSONJul 31, 2026
Instagram$0.01 per callJSONJul 31, 2026
Instagram$0.01 per callJSONJul 31, 2026
Instagram$0.01 per callJSONJul 31, 2026
Instagram$0.003 per callJSONJul 31, 2026
Instagram$0.01 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Instagram Hashtag Search (V3) API?

Send a POST request to https://api.sandbase.ai/v1/api/instagram/v3/search-hashtags 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 Hashtag Search (V3) API cost?

$0.01 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 Hashtag Search (V3) API accept?

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

What does the Instagram Hashtag Search (V3) 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 Hashtag Search (V3) 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.