Skip to content
Sign in Waitlist
Docs/API reference/Instagram/Instagram comments

Instagram comments

GET /v1/instagram/comments scope read

Instagram comments (Meta API).

HeadersAuthorization: Bearer praeko_… and X-Praeko-Contract: en. Always send both.

Legacy Portuguese alias (still answered, marked as deprecated): /v1/instagram/comentarios.

Example

curl "https://praeko.app/v1/instagram/comments" \
  -H "Authorization: Bearer $PRAEKO_KEY" \
  -H "X-Praeko-Contract: en"

Response

Success status When
200 Success.
Response 200
{
  "comments": [
    {
      "id": "17900123456789012",
      "network": "instagram",
      "mediaId": "17858893269123456",
      "author": "tristao.dev",
      "text": "This is awesome, which database do you use?",
      "publishedAt": "2026-11-04T16:46:50+0000",
      "likes": 1,
      "fromOwner": false,
      "hidden": false,
      "replyCount": 1,
      "answered": true,
      "replies": [
        {
          "id": "17900123456789999",
          "network": "instagram",
          "mediaId": "17858893269123456",
          "author": "dev.ocioso",
          "text": "Thanks! It's Cloudflare D1.",
          "publishedAt": "2026-11-04T19:00:00+0000",
          "likes": 0,
          "fromOwner": true,
          "hidden": false
        }
      ],
      "media": {
        "id": "17858893269123456",
        "title": "Monday Reel: the failing test",
        "thumbnail": "https://cdn.example.com/reel.jpg",
        "type": "reel",
        "permalink": "https://www.instagram.com/reel/DAbCdEfGhIj/",
        "publishedAt": "2026-11-04T10:57:00+0000"
      },
      "resolved": false
    }
  ],
  "mediaItems": [
    {
      "id": "17858893269123456",
      "network": "instagram",
      "title": "Monday Reel: the failing test",
      "caption": "Monday Reel: the failing test",
      "type": "reel",
      "thumbnail": "https://cdn.example.com/reel.jpg",
      "permalink": "https://www.instagram.com/reel/DAbCdEfGhIj/",
      "publishedAt": "2026-11-04T10:57:00+0000",
      "likes": 34,
      "comments": 2,
      "pending": 0
    }
  ],
  "next": null,
  "pending": 0,
  "sort": "recent"
}

Errors

No errors specific to this route besides the common ones.

Errors on any route

Status code When
401 unauthorized The Authorization: Bearer … header is missing.
401 invalid_api_key The key does not exist.
401 revoked_api_key The key has been revoked.
401 expired_api_key The key has expired.
403 forbidden The key's scope is not enough for this route (see the scope badge).
429 rate_limited The per-minute request limit was exceeded.

The body of every error is { "error": { "code", "message", "details"? } }. See all error codes.

Try it

Try it

The live test uses your key and your account. It stays off when you are not signed in.

Sign in to try it
Question or mistake on this page? contato@praeko.appView .md

Type to search pages, routes and error codes.