Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Instagram Profile Embed

Dokumentasi API
https://api.sandbase.ai/v1/api/instagram/embed

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

Harga
Dari $0.0012USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib Β· 0 opsional

Playground

Input
Instagram username without the leading @.
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

README API

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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
InstagramDari $0.0012 per panggilanJSON
InstagramDari $0.0011 per panggilanJSON
InstagramDari $0.001 per panggilanJSON
InstagramDari $0.0011 per panggilanJSON
InstagramDari $0.0011 per panggilanJSON
InstagramDari $0.0012 per panggilanJSON

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

Pertanyaan

FAQ

Bagaimana cara menggunakan API Instagram Profile Embed?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/instagram/embed dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Instagram Profile Embed?

Mulai dari $0.0012 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Instagram Profile Embed?

Wajib: handle (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Instagram Profile Embed?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Instagram?

Tidak. Instagram Profile Embed berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Instagram secara terpisah.