DEVELOPER PLAYGROUND

Instagram API Trial

Explore the data. Build something great.

Free sample preview
◎

Profile

Returns a public profile and recent posts with engagement, music, collaborators, and pagination.

v3 schema
POST/api/instagram
Request parameters
Number of resultsDefault: 12Each page uses one API request. Collecting all results stops when finished, your quota is reached, or you press Stop.
curl --request POST '/api/instagram' \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: shz_live_YOUR_API_KEY' \
  --data '{
  "endpoint": "instagram-profile-v3",
  "body": {}
}'
Illustrative sample · no request used
{
  "success": true,
  "status": {
    "code": "OK",
    "message": "Illustrative sample response."
  },
  "data": {
    "profile": {
      "username": "sample_creator",
      "full_name": "Sample Creator",
      "profile_id": "sample_user_001",
      "biography": "Creator & storyteller. hello@example.com",
      "follower_count": 25000,
      "following_count": 320,
      "post_count": 145,
      "is_verified": false,
      "profile_picture": "https://example.com/avatar.jpg",
      "personalemail": "hello@example.com",
      "personalphoneno": null,
      "bio_contacts": {
        "source": "biography",
        "emails": [
          {
            "value": "hello@example.com",
            "classification": "unknown",
            "confidence": "high"
          }
        ],
        "phones": []
      }
    },
    "posts": [
      {
        "content_id": "sample_media_001",
        "content_link": "https://www.instagram.com/p/SAMPLE/",
        "published_date": 1780000000,
        "caption": "A sample caption from SocialHz.",
        "view_count": 12500,
        "like_count": 420,
        "comment_count": 18,
        "music_information": {
          "title": "Sample audio",
          "author": "sample_creator",
          "is_original": true
        },
        "tagged_users": [],
        "media_links": {
          "high": "https://example.com/sample-video.mp4"
        }
      }
    ],
    "pagination": {
      "has_more": true,
      "next_cursor": "sample_next_page_token"
    }
  },
  "meta": {
    "sample": true,
    "billable": false,
    "duration_ms": 0
  }
}