eternalsocial.dev
Instagram

Search Instagram users, hashtags, and places

POST
/api/instagram/search

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from /auth/login or API key from /keys

In: header

Request Body

application/json

query*string
Length1 <= length
webhookUrl?string

Webhook URL to receive results. If provided, request returns immediately.

Formaturi

Response Body

application/json

application/json

application/json

curl -X POST "http://localhost:3222/api/instagram/search" \  -H "Content-Type: application/json" \  -d '{    "query": "photography"  }'
{
  "success": true,
  "requestId": "string",
  "data": {
    "users": [
      {
        "pk": "string",
        "pk_id": "string",
        "id": "string",
        "strong_id__": "string",
        "fbid_v2": "string",
        "username": "string",
        "full_name": "string",
        "profile_pic_url": "string",
        "profile_pic_id": "string",
        "has_anonymous_profile_picture": true,
        "is_verified": true,
        "is_private": true,
        "third_party_downloads_enabled": 0,
        "account_badges": [
          null
        ],
        "latest_reel_media": 0,
        "is_verified_search_boosted": true,
        "is_ring_creator": true,
        "show_ring_award": true,
        "social_context": null,
        "search_social_context": "string",
        "search_social_context_snippet_type": 0,
        "should_show_category": true,
        "has_opt_eligible_shop": true,
        "show_text_post_app_badge": true,
        "show_ig_app_switcher_badge": true,
        "unseen_count": 0,
        "friendship_status": null
      }
    ],
    "hashtags": [
      {
        "id": "string",
        "name": "string",
        "media_count": 0,
        "profile_pic_url": "string"
      }
    ],
    "places": [
      {
        "location": {
          "pk": "string",
          "name": "string",
          "address": "string",
          "city": "string",
          "lat": 0,
          "lng": 0
        }
      }
    ]
  },
  "itemCount": 0,
  "creditsCharged": 0
}
{
  "success": true,
  "requestId": "string",
  "status": "processing",
  "message": "string"
}
{
  "success": false,
  "error": "string",
  "requestId": "string"
}