Sand AISand AI MAGI-2MAGI-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 / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 0 необязательных

Песочница

Ввод
Instagram username without the leading @.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

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.

Посмотреть больше

Связанные 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

Вопросы

FAQ

Как использовать API Instagram Profile Embed?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/instagram/embed, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Instagram Profile Embed?

От $0.0012 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Instagram Profile Embed?

Обязательные: handle (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Instagram Profile Embed?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Instagram или API key?

Нет. Instagram Profile Embed работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Instagram.