Skip to content
Endless Documentation

Instagram post comments

POST
/social/instagram_post_comments

Get the comments on an Instagram post by URL, newest pages first, up to limit. Use when the user asks about comments, reactions, or sentiment on a specific post.

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from authentication

In: header

Header Parameters

Endless-Api-Version?string

Pin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/social/instagram_post_comments" \  -H "Content-Type: application/json" \  -d '{    "organization_id": "string",    "input": {      "url": "http://example.com"    }  }'
{  "operation": "instagram_profile",  "result": {    "summary": "string",    "media_id": "string",    "truncated": true,    "comments": [      {        "pk": "string",        "created_at": 0,        "like_count": 0,        "text": "string",        "user": {          "pk": "string",          "id": "string",          "username": "string",          "full_name": "string",          "biography": "string",          "is_verified": true,          "is_private": true,          "follower_count": 0,          "following_count": 0,          "media_count": 0,          "category": "string",          "external_url": "string",          "profile_pic_url": "string"        }      }    ]  },  "requests": 0,  "credits_charged": 0}