Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Instagram User Profile

API 文件
https://api.sandbase.ai/v1/api/instagram/user-detail

Get an Instagram user profile by username. Use it to review a known account before creator research, brand monitoring, or related post analysis.

價格
$0.014286美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 0 個選填

Playground

輸入
The Instagram username whose profile details are to be retrieved.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Instagram User Profile API

Returns the public profile of one Instagram account, including bio, bio links, follower and following counts, and the first page of recent posts and videos. It needs one input: the account username.

Use cases

  • Check the follower count and verified status of a creator before you contact them.
  • Read the bio, external link and business contact fields to find how a brand wants to be reached.
  • Track follower and post totals for a brand account over repeated calls.
  • Pull the related profiles list to find similar accounts for competitor or creator research.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/user-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username": "instagram"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
usernamestringYesThe Instagram username whose profile details are to be retrieved.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "attempts": "0",
  "data": {
    "user": {
      "ai_agent_owner_username": null,
      "ai_agent_type": null,
      "bio_links": [
        {
          "link_type": "external",
          "lynx_url": "https://l.instagram.com/?u=http%3A%2F%2Fhelp.instagram.com%2F&e=AUB7qfn3OfnzWlG5…",
          "title": "",
          "url": "http://help.instagram.com"
        }
      ],
      "biography": "Discover what's new on Instagram 🔎✨",
      "biography_with_entities": {
        "entities": [],
        "raw_text": "Discover what's new on Instagram 🔎✨"
      },
      "blocked_by_viewer": false,
      "business_address_json": null,
      "business_category_name": null,
      "business_contact_method": "UNKNOWN",
      "business_email": null,
      "business_phone_number": null,
      "category_enum": null
    }
  },
  "status": "ok"
}

Response fields

FieldMeaning
data.user.full_nameDisplay name of the account.
data.user.biographyBio text shown on the profile. biography_with_entities.raw_text holds the same text.
data.user.edge_followed_by.count / data.user.edge_follow.countNumber of followers and number of accounts the user follows.
data.user.edge_owner_to_timeline_media.countTotal number of posts on the account.
data.user.edge_owner_to_timeline_media.edges[].nodeOne recent post. It includes __typename (such as GraphVideo or GraphSidecar), display_url, dimensions, comments_disabled, accessibility_caption and edge_liked_by.count.
data.user.edge_owner_to_timeline_media.page_info.end_cursor / data.user.edge_owner_to_timeline_media.page_info.has_next_pageCursor for the next page of posts and a flag that shows whether more posts exist.
data.user.edge_felix_video_timeline.countTotal number of videos in the video timeline. The edges list holds the first page of those videos.
data.user.bio_links[].url / data.user.bio_links[].titleLinks listed in the bio with their titles. lynx_url is the Instagram redirect version of the same link.
data.user.external_urlMain external link on the profile.
data.user.edge_related_profiles.edges[].node.username / data.user.edge_related_profiles.edges[].node.is_verifiedUsername and verified flag of each related account. Each node also has full_name and id.
data.user.business_email / data.user.business_phone_number / data.user.business_category_nameBusiness contact and category details. They are null when the account does not set them.

Notes

  • Pass the handle without the @ sign as username, for example instagram.
  • Post lists are the first page only. The end_cursor values appear in each page_info, but this API takes only username as input.
  • To look up an account by numeric ID, use Instagram User Profile by ID.
  • For a lighter profile call, try Instagram Basic Profile.

Pricing

$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
Instagram每次呼叫 $0.014286JSON
Instagram每次呼叫 $0.0011 起JSON
Instagram每次呼叫 $0.001 起JSON
Instagram每次呼叫 $0.0011 起JSON
Instagram每次呼叫 $0.0012 起JSON
Instagram每次呼叫 $0.0011 起JSON

指南:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Instagram User Profile API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/instagram/user-detail。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Instagram User Profile API 的費用是多少?

每次 $0.014286,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Instagram User Profile API 接受哪些參數?

必要:username (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Instagram User Profile API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Instagram 開發者帳號或 API 金鑰嗎?

不需要。Instagram User Profile 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Instagram API 存取權。