Skip to content
Endless Documentation

Instagram post

POST
/social/instagram_post

Fetch a single Instagram post by URL. Returns engagement metrics (likes, comments, plays/views), caption, and the author.

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" \  -H "Content-Type: application/json" \  -d '{    "organization_id": "string",    "input": {      "url": "http://example.com"    }  }'
{  "operation": "instagram_profile",  "result": {    "pk": "string",    "id": "string",    "code": "string",    "media_type": 0,    "product_type": "string",    "taken_at": 0,    "like_count": 0,    "comment_count": 0,    "play_count": 0,    "view_count": 0,    "permalink": "string",    "caption_text": "string",    "image_url": "string",    "carousel_image_urls": [      "string"    ],    "summary": "string",    "author": {      "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}