Tutorial · Instagram · cURL, Python, Node.js, PHP, Go, Ruby

Get the reels that use an Instagram sound

Reels that use an audio. Complete code for GET /v1/instagram/audio/{audio}/reels in six languages and both official SDKs, each tested against the documented response.

Short answer. One call returns reels that use one audio, in the reel shape: shortcode, counts.views, likes, comments, video_url, duration_seconds and owner.

Facts checked 2 December 2026. Prices change: follow the links before you decide.

Why call it

  • Find the creators who used a campaign sound: each reel names its owner.
  • Source clips around a trending sound for clipping platforms.
  • Measure how a sound spreads for music-marketing reports.

The request

GET https://api.handlehaul.com/v1/instagram/audio/{audio}/reels with your key in the X-Api-Key header. Reels that use an audio. Reels that use an audio. 1 credit a page. Docs: https://api.handlehaul.com/docs/instagram-audio-api

Parameters for Reels that use an audio
ParameterInDescription
audio requiredpathNumeric audio id.
cursorquerynext_cursor from the previous page (opaque, sealed).
freshquerytrue skips the cache (full price).

Code in 6 languages

Each sample is a complete program: it reads the key from HANDLEHAUL_API_KEY, waits and retries when the API answers 429 (using Retry-After), stops with the error code on anything else, and follows pagination.next_cursor for up to 3 pages. The SDK versions do the retries for you.

instagram-audio-reels.sh

# Reels that use an audio. --retry waits out a 429 using its Retry-After header;
# --fail exits with code 22 on any other error (drop it to read the error JSON).
# Next page: add --data-urlencode "cursor=<pagination.next_cursor>" (stop when it is null).
curl -sS --fail --retry 3 "https://api.handlehaul.com/v1/instagram/audio/1899325052268228/reels" \
  -H "X-Api-Key: $HANDLEHAUL_API_KEY"
Generated from the OpenAPI spec (2026-12-02); every sample was syntax-checked and run against a local mock serving the response below. Language guides: Python, Node.js, PHP, Go, Ruby, cURL.

Response

A list in data, with pagination.next_cursor and has_more, and meta with what the call cost. Example values; same media shape as reels, from the API docs. Lists are cut to two rows here.

200 · application/json
{
  "data": [
    {
      "id": "8648737465156945468",
      "shortcode": "HgGfObOSsY8",
      "url": "https://www.instagram.com/reel/HgGfObOSsY8/",
      "taken_at": "2026-11-28T11:56:05.000Z",
      "media_type": "reel",
      "caption": "studio aurora · sample post 1",
      "counts": {
        "likes": 1335,
        "comments": 68,
        "views": 7344
      },
      "thumbnail_url": "https://scontent.cdninstagram.com/…/8648737465156945468.jpg",
      "video_url": "https://scontent.cdninstagram.com/…/8648737465156945468.mp4",
      "duration_seconds": 7,
      "owner": {
        "id": "8452629168",
        "username": "aurora.luna30",
        "full_name": "Aurora Luna",
        "is_private": false,
        "is_verified": false,
        "profile_pic_url": "https://scontent.cdninstagram.com/…/8452629168.jpg"
      },
      "location": {
        "id": "588975479",
        "name": "pixel Café"
      },
      "audio": {
        "id": "7902057293122027",
        "title": "ivy mila",
        "artist": "river kai"
      },
      "carousel": null
    }
  ],
  "pagination": {
    "next_cursor": "Ym9v…sealed…",
    "has_more": true,
    "page_size": 12
  },
  "meta": {
    "request_id": "req_…",
    "cached": false,
    "cache_age_seconds": 0,
    "credits_charged": 1,
    "credits_remaining": 26943
  }
}

Cost, cache and limits

  • 1 credit per page. At $1.40 to $0.80 per 1,000 calls; the samples stop after 3 pages, so one run costs 3 credits at most. Cache hits, failed calls and 429 answers are free; meta.credits_charged says what each call cost.
  • Cache. Answers are cached for 15 minutes. Add fresh=true to force a live call (billed).
  • Speed. Over your plan's requests-per-second limit the API answers 429 rate_limited with Retry-After; the samples wait that long and retry.
  • Testing. A kd_test_ key returns sample data in this exact shape at no cost, so you can run the code before you spend anything.

Things to know

  • Get the audio id first: from a reel's audio.id, audio search or trending audio.
  • The route has no sort option. Sort rows by counts.views yourself if you need the most viewed.
  • Rows use the same shape as an account's reels, so one parser handles both.

Next steps

Instagram reels using audio API: questions

How do I find the reels that use a sound on Instagram?
Call GET /v1/instagram/audio/{audio}/reels with the audio id and follow pagination.next_cursor for more.
Can I sort reels that use an audio by views?
Not on this route: it has no sort option. Sort by counts.views in your code, or use an account's reels route with sort=views.

Run it on real data

One key for Instagram and TikTok. $1.40 to $0.80 per 1,000 calls; failed calls and cache hits are free.

Want to test first? Sandbox keys are free and unlimited, with sample data in the live schema.