Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Instagram Profile Embed

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

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

Cena
Od $0.0012USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 0 opcjonalnych

Playground

Wejście
Instagram username without the leading @.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
InstagramOd $0.0012 za wywołanieJSON
InstagramOd $0.0011 za wywołanieJSON
InstagramOd $0.001 za wywołanieJSON
InstagramOd $0.0011 za wywołanieJSON
InstagramOd $0.0011 za wywołanieJSON
InstagramOd $0.0012 za wywołanieJSON

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

Pytania

FAQ

Jak używać API Instagram Profile Embed?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/instagram/embed z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Instagram Profile Embed?

Od $0.0012 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Instagram Profile Embed?

Wymagane: handle (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Instagram Profile Embed?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Instagram lub klucza API?

Nie. Instagram Profile Embed działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Instagram.