How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Instagram Media API

Photos, videos, stories, reels, and carousels

Instagram Media API is one of 9 APIs that Instagram publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Media. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, an API reference, authentication docs, and a changelog.

This API exposes 6 operations across 4 paths, and defines 4 schemas. It is described by OpenAPI 3.2.0, at version 21.0.

Requests are made against 2 base URLs: https://graph.facebook.com/v21.0, https://graph.instagram.com/v21.0.

6 operations 4 paths 4 schemas 1 DELETE4 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
21.0
Base URL
https://graph.instagram.com
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

Instagram Media API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 7 scopes.

  • oauth2 — OAuth 2.0 authentication via Instagram Login or Facebook Login.

Paths & Operations 6

Across 4 paths, the API surfaces 6 operations — 1 DELETE, 4 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Media 6

Photos, videos, stories, reels, and carousels

GET
/{user_id}/media
Instagram Get User Media
getUserMedia 5 params → 200
GET
/{user_id}/stories
Instagram Get User Stories
getUserStories 3 params → 200
GET
/{media_id}
Instagram Get Media
getMedia 3 params → 200
POST
/{media_id}
Instagram Update Media
updateMedia 1 param body → 200
DELETE
/{media_id}
Instagram Delete Media
deleteMedia 2 params → 200
GET
/{media_id}/children
Instagram Get Carousel Children
getMediaChildren 3 params → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Media (14 properties), Paging (3 properties), MediaList (2 properties), SuccessResponse (1 property). Each schema is shown below with its type and property counts.

Media
object
14 properties
MediaList
object
2 properties
Paging
object
3 properties
SuccessResponse
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

instagram-media-api-openapi.yml Raw ↑

Other APIs Instagram publishes across the network.

Instagram Messaging API
Instagram oEmbed API
Instagram Comments API
Instagram Hashtags API
Instagram Insights API
Instagram Mentions API
Instagram Publishing API
Instagram Users API
Where this information came from

This is an independent, third-party profile of Instagram Media API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.