usernamestringจำเป็น
Instagram username (required)
https://api.sandbase.ai/v1/api/instagram/v3/user-profileReturns complete profile details for an Instagram account, including follower counts, media metrics, and bio links based on the provided username.
[
{
"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"
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
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.
external_url to find the website an account links to.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.
| Name | Type | Required | Description |
|---|---|---|---|
username | string | Yes | Instagram username (required) |
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
}
| Field | Meaning |
|---|---|
username / full_name | The account handle and the display name shown on the profile. |
id / pk | The numeric account ID as a string. Both fields hold the same value in this response. |
biography | The bio text of the profile. |
external_url | The link shown in the bio. |
follower_count / edge_followed_by.count | Number of accounts that follow this account. Both fields hold the same value. |
following_count / edge_follow.count | Number of accounts this account follows. |
media_count / edge_owner_to_timeline_media.count | Number of posts on the account. |
is_verified / is_private | Booleans that show whether the account has a verified badge and whether it is private. |
profile_pic_url / profile_pic_url_hd | Links to the profile picture, in a standard and a larger version. |
category | The account category label. It can be an empty string. |
@ sign, for example nasa.$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
usernamestringจำเป็นInstagram username (required)
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"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"
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Instagram User Profile (V3)API นี้ Instagram | $0.008 ต่อการเรียก | JSON |
Instagram | $0.008 ต่อการเรียก | JSON |
Instagram | $0.008 ต่อการเรียก | JSON |
Instagram | $0.008 ต่อการเรียก | JSON |
Instagram | $0.002 ต่อการเรียก | JSON |
Instagram | $0.008 ต่อการเรียก | JSON |
คู่มือ:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/instagram/v3/user-profile โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.008 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: username (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Instagram User Profile (V3) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก