Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Instagram Publishing API

Content creation and publishing workflow

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

Tagged areas include Publishing. 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 4 operations across 4 paths, and defines 2 schemas. It is described by OpenAPI 3.0.3, at version 21.0.

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

4 operations 4 paths 2 schemas 2 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

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

Authentication & Security 1

Instagram Publishing 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 4

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

Publishing 4

Content creation and publishing workflow

POST
/{user_id}/media
Instagram Create Media Container
createMediaContainer 1 param body → 200
POST
/{user_id}/media_publish
Instagram Publish Media Container
publishMedia 1 param body → 200
GET
/{user_id}/content_publishing_limit
Instagram Get Content Publishing Limit
getContentPublishingLimit 3 params → 200
GET
/{container_id}
Instagram Get Container Status
getContainer 3 params → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are CreateContainerRequest (8 properties), ContainerResponse (1 property). Each schema is shown below with its type and property counts.

ContainerResponse
object
1 property
CreateContainerRequest
object
8 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

instagram-publishing-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 Media API
Instagram Mentions API
Instagram Users API