eternalsocial.dev
Instagram

Get Instagram stories

POST
/api/instagram/stories

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Request Body

application/json

username*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/stories" \  -H "Content-Type: application/json" \  -d '{    "username": "instagram"  }'
{
  "success": true,
  "requestId": "string",
  "data": {
    "id": "string",
    "user": {
      "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
    },
    "items": [
      {
        "id": "string",
        "pk": "string",
        "taken_at": 0,
        "expiring_at": 0,
        "media_type": 0,
        "image_versions2": {
          "candidates": [
            {
              "url": "string",
              "width": 0,
              "height": 0
            }
          ]
        },
        "video_versions": [
          {
            "url": "string"
          }
        ],
        "video_duration": 0
      }
    ]
  },
  "itemCount": 0,
  "creditsCharged": 0
}
{
  "success": true,
  "requestId": "string",
  "status": "processing",
  "message": "string"
}
{
  "success": false,
  "error": "string",
  "requestId": "string"
}