Instagram API

Cheapest Instagram Posts API

Get public Instagram post metadata without high per-request fees. Our Instagram Posts API resolves posts by URL/code/id and lists user feeds — built for teams that need cheap, reliable media data.

Try on RapidAPI

Prefer /v2/media/info/by/url (or by/code / by/id) for single-post lookups — these are the maintained media-info routes. For timelines, page the GraphQL user medias endpoint with the cursor from the previous response.

Downstream you can attach comments and likers endpoints to measure engagement on each post.

Highlights

  • Cheapest Instagram API pricing — free BASIC · PRO from $9.99/mo
  • Media by URL, shortcode or id
  • User timeline / grid medias
  • Works for feed posts used in analytics
  • Chain with comments and likers APIs

Use cases

  • Ingest campaign posts from shared URLs
  • Build a public content archive for a brand account
  • Score posts by likes and comment volume

Featured endpoints

GET /v2/media/info/by/url

Post by URL

Fetch media info from a public Instagram post URL.

GET /v2/media/info/by/code

Post by shortcode

Fetch media info using the /p/{code}/ shortcode.

GET /gql/user/medias

User post feed

List medias for a user id with pagination.

FAQ

Does this download the image file?

The Instagram Posts API returns metadata and media URLs in JSON. Your app can download assets separately if the URLs are public.

Reels vs feed posts?

Media-info routes cover public media objects. For reel-centric feeds, also see the Instagram Reels API endpoints.

Related