INSTAGRAM API

Basic Profile

Retrieve basic profile from Instagram with a single API request.

GET/api/data/v1/instagram/basic-profile
1credit base costZero-credit cache supported

Request parameters

Up to 1 credit

Instagram user id

If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.]

Try in the console

Live requests use your prepaid balance. Cached responses cost zero where supported.

curl --request GET \
  --url 'https://fetchgoblin.com/api/data/v1/instagram/basic-profile' \
  --header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'

Response

Example
{
  "success": true,
  "friendship_status": null,
  "gating": null,
  "is_memorialized": false,
  "is_private": false,
  "has_story_archive": null,
  "supervision_info": null,
  "is_regulated_c18": false,
  "regulated_news_in_locations": [],
  "bio_links": [],
  "linked_fb_info": null,
  "text_post_app_badge_label": "zuck",
  "show_text_post_app_badge": true,
  "username": "zuck",
  "text_post_new_post_count": null,
  "pk": "314216",
  "live_broadcast_visibility": null,
  "live_broadcast_id": null,
  "profile_pic_url": "https://instagram.fpoz4-1.fna.fbcdn.net/v/t51.2885-19/550234512_18532404670058217_8758519395071163708_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fpoz4-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2QENWmroLq0Z2oxDXF-wYN4Txpcg88E2n5GZTMYtQgXKAlUWi1gMsQQilbgL7mYspgA&_nc_ohc=vS_PAWzWFjcQ7kNvwEe9m50&_nc_gid=AOVYXTTsY5VI85UshvRoHA&edm=ALGbJPMBAAAA&ccb=7-5&oh=00_AfcUDbyLkAcHCLaaiVpvfv4AvlKuZUdsos_eZmuWHS02NQ&oe=68EB29FB&_nc_sid=7d3ac5",
  "hd_profile_pic_url_info": {
    "url": "https://instagram.fpoz4-1.fna.fbcdn.net/v/t51.2885-19/550234512_18532404670058217_8758519395071163708_n.jpg?efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=instagram.fpoz4-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2QENWmroLq0Z2oxDXF-wYN4Txpcg88E2n5GZTMYtQgXKAlUWi1gMsQQilbgL7mYspgA&_nc_ohc=vS_PAWzWFjcQ7kNvwEe9m50&_nc_gid=AOVYXTTsY5VI85UshvRoHA&edm=ALGbJPMBAAAA&ccb=7-5&oh=00_AfcBW_k3ngIbA43oUKKZ9SPx-FtlrQSSbOWg8npnXGqCcg&oe=68EB29FB&_nc_sid=7d3ac5"
  },
  "is_unpublished": false,
  "latest_reel_media": 0,
  "has_profile_pic": null,
  "profile_pic_genai_tool_info": [],
  "biography": "I build stuff",
  "full_name": "Mark Zuckerberg",
  "is_verified": true,
  "show_account_transparency_details": true,
  "account_type": 3,
  "follower_count": 16101999,
  "mutual_followers_count": null,
  "profile_context_links_with_user_ids": null,
  "address_street": null,
  "city_name": null,
  "is_business": false,
  "zip": null,
  "biography_with_entities": {
    "entities": []
  },
  "category": null,
  "should_show_category": false,
  "account_badges": [],
  "ai_agent_type": null,
  "external_lynx_url": null,
  "external_url": "",
  "pronouns": [],
  "transparency_label": null,
  "transparency_product": null,
  "has_chaining": null,
  "remove_message_entrypoint": null,
  "fbid_v2": "17841401746480004",
  "is_embeds_disabled": false,
  "is_professional_account": null,
  "following_count": 617,
  "media_count": 409,
  "total_clips_count": 1,
  "latest_besties_reel_media": null,
  "reel_media_seen_timestamp": null,
  "id": "314216",
  "credits_charged": 1,
  "credits_remaining": 1000,
  "request_id": "00000000-0000-4000-8000-000000000000"
}
Example data from the API specification. Run a request to retrieve current data.

Response shape

This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.

View JSON Schema +
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "friendship_status": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "gating": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "is_memorialized": {
      "type": "boolean"
    },
    "is_private": {
      "type": "boolean"
    },
    "has_story_archive": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "supervision_info": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "is_regulated_c18": {
      "type": "boolean"
    },
    "regulated_news_in_locations": {
      "type": "array"
    },
    "bio_links": {
      "type": "array"
    },
    "linked_fb_info": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "text_post_app_badge_label": {
      "type": "string"
    },
    "show_text_post_app_badge": {
      "type": "boolean"
    },
    "username": {
      "type": "string"
    },
    "text_post_new_post_count": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "pk": {
      "type": "string"
    },
    "live_broadcast_visibility": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "live_broadcast_id": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "profile_pic_url": {
      "type": "string"
    },
    "hd_profile_pic_url_info": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        }
      }
    },
    "is_unpublished": {
      "type": "boolean"
    },
    "latest_reel_media": {
      "type": "integer"
    },
    "has_profile_pic": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "profile_pic_genai_tool_info": {
      "type": "array"
    },
    "biography": {
      "type": "string"
    },
    "full_name": {
      "type": "string"
    },
    "is_verified": {
      "type": "boolean"
    },
    "show_account_transparency_details": {
      "type": "boolean"
    },
    "account_type": {
      "type": "integer"
    },
    "follower_count": {
      "type": "integer"
    },
    "mutual_followers_count": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "profile_context_links_with_user_ids": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "address_street": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "city_name": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "is_business": {
      "type": "boolean"
    },
    "zip": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "biography_with_entities": {
      "type": "object",
      "properties": {
        "entities": {
          "type": "array"
        }
      }
    },
    "category": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "should_show_category": {
      "type": "boolean"
    },
    "account_badges": {
      "type": "array"
    },
    "ai_agent_type": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "external_lynx_url": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "external_url": {
      "type": "string"
    },
    "pronouns": {
      "type": "array"
    },
    "transparency_label": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "transparency_product": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "has_chaining": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "remove_message_entrypoint": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "fbid_v2": {
      "type": "string"
    },
    "is_embeds_disabled": {
      "type": "boolean"
    },
    "is_professional_account": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "following_count": {
      "type": "integer"
    },
    "media_count": {
      "type": "integer"
    },
    "total_clips_count": {
      "type": "integer"
    },
    "latest_besties_reel_media": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "reel_media_seen_timestamp": {
      "type": [
        "string",
        "object",
        "array",
        "number",
        "boolean",
        "null"
      ]
    },
    "id": {
      "type": "string"
    },
    "credits_charged": {
      "type": "integer",
      "minimum": 0,
      "description": "FetchGoblin credits charged for this request."
    },
    "credits_remaining": {
      "type": "integer",
      "description": "Your FetchGoblin credit balance after this request."
    },
    "request_id": {
      "type": "string",
      "format": "uuid",
      "description": "FetchGoblin request identifier."
    }
  }
}