Instagram API

Instagram Posting API

Publish feed posts, reels, carousels, and stories to Instagram programmatically. PostPeer handles the Instagram Graph API complexity for you.

  • Feed posts, reels, and carousels via one endpoint
  • Image and video uploads with format validation
  • OAuth handled — no Facebook developer app needed
  • Schedule posts for optimal engagement times
No credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
Published
5 platforms
TwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XIGFBLITT
One API, every platform

How It Works

Add social media to your product in three steps.

01

Get Your API Key

Sign up and get your API key instantly — no sales calls, no complex onboarding.

02

Integrate in Minutes

A single endpoint to post, schedule, and manage content. Drop it into your product and go.

03

Your Users Post Everywhere

Your product now supports every major social platform — without you maintaining a single integration.

API Response Format

Clean, structured JSON that's easy to parse and integrate

Request

POST
curl -X POST https://api.postpeer.dev/v1/posts \
  -H "x-access-key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "New product launch! #startup #launch",
    "mediaItems": [
      { "url": "https://cdn.example.com/photo.jpg", "type": "image" }
    ],
    "platforms": [
      {
        "platform": "instagram",
        "accountId": "acc_ig_456"
      }
    ]
  }'

Response

JSON
{
  "postId": "post_def456",
  "status": "published",
  "platforms": [
    {
      "platform": "instagram",
      "status": "published",
      "platformPostId": "17890012345678",
      "platformPostUrl": "https://www.instagram.com/p/ABC123/"
    }
  ]
}

Everything You Need for Instagram Posting

Skip the Instagram Graph API complexity. PostPeer gives you a simple, unified endpoint for all Instagram publishing needs.

Feed Posts

Publish single-image or single-video feed posts with captions, hashtags, and location tags.

Reels

Upload and publish Instagram Reels with captions. PostPeer handles the async publishing flow Instagram requires.

Carousels

Create carousel posts with up to 10 images or videos. Pass multiple media items and PostPeer handles the multi-step upload.

Media Validation

PostPeer validates image dimensions, video duration, file size, and aspect ratios against Instagram's requirements before publishing.

Scheduled Publishing

Schedule Instagram posts for any time. PostPeer handles the publishing queue and delivers content at the right moment.

Cross-Post to Other Platforms

Publish the same content to Instagram + Twitter + TikTok + more in one request. Platform formatting handled automatically.

Frequently Asked Questions

Ready to Add Social Media to Your Product?

One API. Every platform. Start building with free credits.

Start Posting for FreeNo credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
Published
5 platforms
TwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XIGFBLITT
One API, every platform