Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Instagram Profile Embed

เอกสาร API
https://api.sandbase.ai/v1/api/instagram/embed

Fetch the public embed HTML for an Instagram profile by handle.

ราคา
เริ่มต้นที่ $0.0012USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
Instagram username without the leading @.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

Instagram Profile Embed API

Returns the public embed page for an Instagram profile as a single HTML string. It needs one input, the handle of the account without the leading @.

Use cases

  • Render a profile card for an Instagram account inside your own page or dashboard.
  • Parse the returned HTML to pull public profile details that the embed page shows.
  • Check whether a handle resolves to a public embed page before you run deeper lookups.
  • Archive a snapshot of how an account's embed page looked on a given day.

Request

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

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

Parameters

NameTypeRequiredDescription
handlestringYesInstagram username without the leading @.

Example response

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

{
  "data": {
    "html": "<!DOCTYPE html><html class=\"_9dls _ar44\" lang=\"en\" dir=\"ltr\"><head><link data-de…"
  },
  "found": true
}

Response fields

FieldMeaning
data.htmlThe full HTML document of the profile's embed page, returned as one string. Parse it or render it in an iframe.
foundtrue when the embed page was returned for the handle. A handle with no result returns found: false.

Notes

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Instagramเริ่มต้นที่ $0.0012 ต่อครั้งJSON
Instagramเริ่มต้นที่ $0.0011 ต่อครั้งJSON
Instagramเริ่มต้นที่ $0.001 ต่อครั้งJSON
Instagramเริ่มต้นที่ $0.0011 ต่อครั้งJSON
Instagramเริ่มต้นที่ $0.0011 ต่อครั้งJSON
Instagramเริ่มต้นที่ $0.0012 ต่อครั้งJSON

คู่มือ:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Instagram Profile Embed API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/instagram/embed โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Instagram Profile Embed API ราคาเท่าไร?

เริ่มต้นที่ $0.0012 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Instagram Profile Embed API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: handle (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Instagram Profile Embed API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Instagram ไหม?

ไม่จำเป็น Instagram Profile Embed ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก