Instagram Reels API
Get the reels of a public Instagram account, newest first or sorted by views, with play counts, likes, comments, the video URL, duration and the audio each reel uses.
GET /v1/users/{user}/reels: Reels of an account (about 12 a page)GET /v1/audio/{audio}/reels: Reels that use an audio (see the Audio API)
Cost: 1 credit per successful call (free from cache). Failed calls and private accounts are free. Naming the account by a username we have to look up adds 1 credit; send the numeric id to skip it (details).
Every example on this page follows what you type here.
GET /v1/users/natgeo/reels
Sample data in the live schema. Use private_x, ghost_x or hidden_x to see errors.
Parameters
userpathrequired@12345 for an all-digit username. Private accounts answer 403 private_account (free).byqueryoptionalusername or id: says which one user is, instead of guessing from the digits.sortqueryoptionalrecent (default) or views (most viewed first).cursorqueryoptionalpagination.next_cursor from the previous page.freshqueryoptionaltrue skips the cache.FAQ
How do I get the view count of Instagram reels with an API?
Call GET /v1/users/{username}/reels. Each reel has counts.views (plays), counts.likes and counts.comments. Add sort=views to get the most viewed first.
Can I get the audio used in a reel?
Yes. Each reel carries an audio object (id, title, artist). Use the id with GET /v1/audio/{id}/reels to find other reels with the same sound.