Instagram

Instagram

Search / Hashtags

per_call

Runs Instagram discovery in one call: keyword search across accounts, hashtags and locations, plus top and most-recent media for any hashtag with engagement counts. Great for trend spotting, campaign hashtag monitoring and UGC collection.

What you get

Each call returns up to 10 results, plus a cursor for the next 10.

Endpoint

GET /v1/instagram/search-hashtags

Price

$1.50

per 1,000 calls · $0.0015 per call

Cost per call

1 credit

Failed calls never charged

Parameters

target
required
string

The Instagram handle, URL or identifier to resolve.

limit
optional
integer

Maximum records to return, capped at this service's page size (see Limits below). Omit it to receive the whole page. It shapes the response, not the price — a call costs the same either way.

cursor
optional
string

Pagination cursor returned by a previous response.

fresh
optional
enum

Bypass cached data and force a live fetch for this one call. Use it for daily monitoring or any figure you are tracking over time. Accepts `true`, `1`, `false` or `0`; anything else returns 400 `invalid_fresh`. Defaults to false and costs exactly the same as a cached call.

One of: true, 1, false, 0

Example request

Live call. Successful calls are charged; failed and empty results are not.

curl
curl "https://fastfetchz.com/v1/instagram/search-hashtags?target=nasa" \
  -H "X-API-Key: $FASTFETCHZ_KEY"

Example response

200 application/json
{
  "success": true,
  "service": {
    "platform": "Instagram",
    "name": "Search / Hashtags",
    "slug": "search-hashtags"
  },
  "credits_charged": 1,
  "credits_remaining": 99,
  "latency_ms": 214,
  "data": {
    "hashtag": "space",
    "media_type": "all",
    "posts": [
      {
        "id": "3838985883538939939",
        "__typename": "XDTGraphVideo",
        "shortcode": "DVG0VI-E-Aj",
        "url": "https://www.instagram.com/reel/DVG0VI-E-Aj/",
        "caption": "What Happens Every 5 Seconds in Space?\n\nCredit: ProfessorOfUniverse\n\n#Space #Earth #Universe #spaceexplration",
        "thumbnail_src": "https://scontent-iad6-1.cdninstagram.com/v/t51.82787-15/642357485_18431441566116357_8090267136518258599_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=100&ig_cache_key=MzgzODk4NTg4MzUzODkzOTkzOTE4NDMxNDQxNTYzMTE2MzU3.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjMyMC5zZHIudmlkZW9fZGVmYXVsdF9jb3Zlcl9mcmFtZS5DMyJ9&_nc_ohc=5s6oNK8mEo8Q7kNvwFwdE8D&_nc_oc=Adpa-5FYH2s0kfF-zvQxhMx-m7Rm6jgO…",
        "display_url": "https://scontent-iad6-1.cdninstagram.com/v/t51.82787-15/642357485_18431441566116357_8090267136518258599_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=100&ig_cache_key=MzgzODk4NTg4MzUzODkzOTkzOTE4NDMxNDQxNTYzMTE2MzU3.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjMyMC5zZHIudmlkZW9fZGVmYXVsdF9jb3Zlcl9mcmFtZS5DMyJ9&_nc_ohc=5s6oNK8mEo8Q7kNvwFwdE8D&_nc_oc=Adpa-5FYH2s0kfF-zvQxhMx-m7Rm6jgO…",
        "video_url": "https://scontent-iad3-2.cdninstagram.com/o1/v/t2/f2/m367/AQMZLNCy7sW4CClN0s-MdrUV4R-b6T4s1P03x7zO1TigOA_isX6Cukl6_h8ZS0-dj-4nX9gzfseFjA24ZPmwc8FzBiI5reGPKND5WDc.mp4?_nc_cat=103&_nc_sid=5e9851&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_ohc=JAlA3EvNEHwQ7kNvwEECBf5&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MTg0MzE0NDE0…",
        "has_audio": true,
        "product_type": "clips",
        "video_duration": null,
        "clips_music_attribution_info": null,
        "is_video": true,
        "owner": {
          "id": "3565772356",
          "username": "morespaceart",
          "is_verified": false,
          "profile_pic_url": "https://scontent-iad3-1.cdninstagram.com/v/t51.2885-19/420111358_1142063426782504_4215840060484257811_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=101&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDI0LkMzIn0%3D&_nc_ohc=-lY9kuSmTU4Q7kNvwFumHCu&_nc_oc=AdotksTOxxJMyjyXV-XuzPiN8OqQD7VZQphtgHo2F3Akfh3m-S8e9DUWx4fZOKlKUYg&_nc_zt=24&_nc_ht=scontent-iad3-1.cdninstagram.com&_nc_ss=7fa8c…",
          "full_name": "Space For All Mankind"
        },
        "taken_at": "2026-02-23T16:07:48.000Z",
        "is_ad": false,
        "like_count": 3,
        "is_paid_partnership": false,
        "location": null,
        "comment_count": 0,
        "comments": []
      },
      {
        "id": "3965985982503139984",
        "__typename": "XDTGraphVideo",
        "shortcode": "DcKAz0HRzqQ",
        "url": "https://www.instagram.com/reel/DcKAz0HRzqQ/",
        "caption": "What are some things you’ll never understand? #space #nasa #astronomy #science",
        "thumbnail_src": "https://scontent-mia5-1.cdninstagram.com/v/t51.82787-15/774994030_18337443352266628_4266552931598767027_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=102&ig_cache_key=Mzk2NTk4NTk4MjUwMzEzOTk4NDE4MzM3NDQzMzQ5MjY2NjI4.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjcyMC5zZHIudmlkZW9fZGVmYXVsdF9jb3Zlcl9mcmFtZS5DMyJ9&_nc_ohc=31F6Gt0LVbAQ7kNvwFjltNv&_nc_oc=AdoCj39x8fO05QJBcXRH6oZuwCsQ_q3h…",
        "display_url": "https://scontent-mia5-1.cdninstagram.com/v/t51.82787-15/774994030_18337443352266628_4266552931598767027_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=102&ig_cache_key=Mzk2NTk4NTk4MjUwMzEzOTk4NDE4MzM3NDQzMzQ5MjY2NjI4.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjcyMC5zZHIudmlkZW9fZGVmYXVsdF9jb3Zlcl9mcmFtZS5DMyJ9&_nc_ohc=31F6Gt0LVbAQ7kNvwFjltNv&_nc_oc=AdoCj39x8fO05QJBcXRH6oZuwCsQ_q3h…",
        "video_url": "https://scontent-mia3-1.cdninstagram.com/o1/v/t2/f2/m86/AQPOGqPNxmpLA8Cke82v0JjKiw3Jz_eiscLXTlN2gs6Qso1i49yxbEYobp7lJe6MKFUy9uDlknKkwnPf4ZPBIsM0GtxnAq_2aoahkZw.mp4?_nc_cat=110&_nc_sid=5e9851&_nc_ht=scontent-mia3-1.cdninstagram.com&_nc_ohc=-kmRqWJii2cQ7kNvwEFlOIh&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MjI3NDQwOTAxN…",
        "has_audio": true,
        "product_type": "clips",
        "video_duration": null,
        "clips_music_attribution_info": null,
        "is_video": true,
        "owner": {
          "id": "7930746627",
          "username": "astro.alexandra",
          "is_verified": true,
          "profile_pic_url": "https://scontent-mia3-1.cdninstagram.com/v/t51.2885-19/456560114_799243112105938_7775397444193918853_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=110&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy44OTguQzMifQ%3D%3D&_nc_ohc=4tLkp_0TDTAQ7kNvwEbjCDr&_nc_oc=AdqRSDurLAOy6JfOFoEL1DUMMD-Ir_e1ukwvtS0ZnazfEPjNFFSEedz9CLld_3B1R0c&_nc_zt=24&_nc_ht=scontent-mia3-1.cdninstagram.com&_nc_ss=7f28…",
          "full_name": "Astro Alexandra"
        },
        "taken_at": "2026-08-17T21:34:27.000Z",
        "is_ad": false,
        "like_count": 30261,
        "is_paid_partnership": false,
        "location": null,
        "comment_count": 384,
        "comments": [
          {
            "id": "18093005225440138",
            "text": "I will forevor like every video of your channel. Love the content",
            "owner": {
              "id": "58402542680",
              "username": "allart_noplay",
              "is_verified": false,
              "profile_pic_url": "https://scontent-mia5-1.cdninstagram.com/v/t51.2885-19/358773336_3482054542050156_5322270368085501253_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=104&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=58erc3EcZNUQ7kNvwHwTMNd&_nc_oc=Adq2LMOn7p7O04cgCbAKMaZOuaD-_Nr61Sg_zcmyrx0IA1xIG1F7xqi62BslLMc-POw&_nc_zt=24&_nc_ht=scontent-mia5-1.cdninstagram.com&_nc_ss=7f289…",
              "full_name": ""
            },
            "like_count": 0,
            "created_at": "2026-09-07T02:29:03.000Z"
          },
          {
            "id": "17960078448196993",
            "text": "One for you ... how does body get consciousness? The body itself doesnt produce it .",
            "owner": {
              "id": "1934265682",
              "username": "samarendrachandel",
              "is_verified": false,
              "profile_pic_url": "https://scontent-mia3-3.cdninstagram.com/v/t51.82787-19/687812233_18552422179065683_5831980323506770635_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=108&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=h_gYvK9NVHQQ7kNvwHT52Sy&_nc_oc=AdqYK35VUPBYmxGj7QYHnv4LFAkZiF8CcUIkv_aHmw96YEggOrl-VAmlaU9vyWtP39E&_nc_zt=24&_nc_ht=scontent-mia3-3.cdninstagram.com&_nc_gid=DP…",
              "full_name": ""
            },
            "like_count": 0,
            "created_at": "2026-09-06T18:03:54.000Z"
          }
        ]
      }
    ],
    "cursor": "2"
  }
}

Getting more results

Each response includes a cursor. Pass it back as cursor to fetch the next 10 results. Repeat until no cursor is returned.

two calls
# Call 1 — first 10 results
curl "https://fastfetchz.com/v1/instagram/search-hashtags?target=nasa" \
  -H "X-API-Key: $FASTFETCHZ_KEY"
# -> { "data": { ... }, "cursor": "eyJwYWdlIjoyfQ" }

# Call 2 — next 10 results
curl "https://fastfetchz.com/v1/instagram/search-hashtags?target=nasa&cursor=eyJwYWdlIjoyfQ" \
  -H "X-API-Key: $FASTFETCHZ_KEY"

Limits

  • Maximum per call: 10 results.
  • Minimum per call: 1 result — a target with less data returns fewer results, and an empty result is still a successful call.
  • Each call fetches a full page of up to 10 and costs the same either way. Pass limit to receive fewer than that in the response.
  • Larger jobs are paginated with a cursor; there is no cap on how many pages you fetch.

What this costs in practice

100,000 results = 10,000 calls × 1 credits per call = 10,000 credits = $0.00

Priced at the Custom pack rate: 1,000,000 credits for $0.00.

Open in the pricing calculator

Guides using this endpoint

Error codes

401invalid_api_keyMissing or unrecognized X-API-Key header. No credits are charged.
402insufficient_creditsYour balance is below the cost of the call. Top up to continue.
403account_suspended / key_revokedThe account is suspended or the key was revoked.
429rate_limitedOver your account's requests-per-second limit. Retrying helps: the body carries retry_after_seconds and the response carries a Retry-After header. Not charged.
429monthly_cap_reachedThis key used the monthly call cap you set for it. Retrying will not help — raise the cap, use another key, or wait for the next calendar month. No Retry-After header is sent. Not charged.
500upstream_errorUnexpected failure while fulfilling the request. Not charged.