Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Instagram User Profile (V3)

Tài liệu API
https://api.sandbase.ai/v1/api/instagram/v3/user-profile

Returns complete profile details for an Instagram account, including follower counts, media metrics, and bio links based on the provided username.

Giá
$0.008USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
Instagram username (required)
Đầu raVí dụ
Phản hồioutputs · 1.7 KB · 30 dòng
[
  {
    "data": {
      "_rid": "3e73dea209d07",
      "biography": "Making the seemingly impossible, possible. ✨",
      "category": "",
      "edge_follow": {
        "count": 90
      },
      "edge_followed_by": {
        "count": 104283560
      },
      "edge_owner_to_timeline_media": {
        "count": 4947
      },
      "external_url": "https://www.nasa.gov",
      "follower_count": 104283560,
      "following_count": 90,
      "full_name": "NASA",
      "id": "528817151",
      "is_private": false,
      "is_verified": true,
      "media_count": 4947,
      "pk": "528817151",
      "profile_pic_url": "https://instagram.flas1-2.fna.fbcdn.net/v/t51.2885-19/29090066_159271188110124_1152068159029641216_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=1&ig_cache_key=GBLhuwEsG5c225AAAAAAAADj9-wPbkULAAAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=IH6O6jrh8mQQ7kNvwGNE2NG&_nc_oc=AdqLyaPt68eEn1B1aXstHEM88rKC9GTZQEmcVWUFBrHdo-o0hMlMpTNi41mBf1zcXao&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=instagram.flas1-2.fna&_nc_ss=7e3ba&oh=00_AQPDf5MLqqfvRZU7NaZnUn1GRB0KPPavlsV6urCIDW4TIQ&oe=6ACAD169",
      "profile_pic_url_hd": "https://instagram.flas1-2.fna.fbcdn.net/v/t51.2885-19/29090066_159271188110124_1152068159029641216_n.jpg?stp=dst-jpg_e0_s640x640_tt6&_nc_cat=1&ig_cache_key=GBLhuwEsG5c225AAAAAAAADj9-wPbkULAAAB6406400j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=IH6O6jrh8mQQ7kNvwGNE2NG&_nc_oc=AdqLyaPt68eEn1B1aXstHEM88rKC9GTZQEmcVWUFBrHdo-o0hMlMpTNi41mBf1zcXao&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=instagram.flas1-2.fna&_nc_ss=7e3ba&oh=00_AQMMm-J6HOM-ga3Y0jIjpwFZew77zsrZLUhMtSyMAbVS6g&oe=6ACAD169",
      "username": "nasa"
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Instagram User Profile (V3) API

Returns public profile details for an Instagram account, including the display name, bio, follower and following counts, post count, and profile picture URLs. It needs one input, the account username.

Use cases

  • Track the follower count of a brand or public figure over time.
  • Check whether an account is verified or private before you process it.
  • Read the bio and external_url to find the website an account links to.
  • Get the numeric account ID and profile picture URL to save with a user record.

Request

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

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

Parameters

NameTypeRequiredDescription
usernamestringYesInstagram username (required)

Example response

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

{
  "_rid": "35a785539570a",
  "biography": "Making the seemingly impossible, possible. ✨",
  "category": "",
  "edge_follow": {
    "count": 90
  },
  "edge_followed_by": {
    "count": 104427280
  },
  "edge_owner_to_timeline_media": {
    "count": 4987
  },
  "external_url": "https://www.nasa.gov",
  "follower_count": 104427280,
  "following_count": 90,
  "full_name": "NASA",
  "id": "528817151",
  "is_private": false
}

Response fields

FieldMeaning
username / full_nameThe account handle and the display name shown on the profile.
id / pkThe numeric account ID as a string. Both fields hold the same value in this response.
biographyThe bio text of the profile.
external_urlThe link shown in the bio.
follower_count / edge_followed_by.countNumber of accounts that follow this account. Both fields hold the same value.
following_count / edge_follow.countNumber of accounts this account follows.
media_count / edge_owner_to_timeline_media.countNumber of posts on the account.
is_verified / is_privateBooleans that show whether the account has a verified badge and whether it is private.
profile_pic_url / profile_pic_url_hdLinks to the profile picture, in a standard and a larger version.
categoryThe account category label. It can be an empty string.

Notes

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Instagram$0.008 mỗi lần gọiJSON
Instagram$0.008 mỗi lần gọiJSON
Instagram$0.008 mỗi lần gọiJSON
Instagram$0.008 mỗi lần gọiJSON
Instagram$0.002 mỗi lần gọiJSON
Instagram$0.008 mỗi lần gọiJSON

Hướng dẫn:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Instagram User Profile (V3)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/instagram/v3/user-profile với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Instagram User Profile (V3) có giá bao nhiêu?

$0.008 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Instagram User Profile (V3) chấp nhận những tham số nào?

Bắt buộc: username (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Instagram User Profile (V3) trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Instagram không?

Không. Instagram User Profile (V3) chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Instagram.