Ir para o conteúdo
Documentação do Endless

Instagram profile

POST
/social/instagram_profile

Look up an Instagram profile by @username. Use whenever the user asks about follower counts, bio, verification, or basic account info.

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_profile" \  -H "Content-Type: application/json" \  -d '{    "organization_id": "string",    "input": {      "username": "string"    }  }'
{  "operation": "instagram_profile",  "result": {    "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",    "summary": "string"  },  "requests": 0,  "credits_charged": 0}