Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Instagram Profile Embed

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

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

Prix
À partir de $0.0012USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 0 facultatifs

Bac à sable

Entrée
Instagram username without the leading @.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
InstagramÀ partir de $0.0012 par appelJSON
InstagramÀ partir de $0.0011 par appelJSON
InstagramÀ partir de $0.001 par appelJSON
InstagramÀ partir de $0.0011 par appelJSON
InstagramÀ partir de $0.0011 par appelJSON
InstagramÀ partir de $0.0012 par appelJSON

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

Questions

FAQ

Comment utiliser l’API Instagram Profile Embed ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/instagram/embed avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Instagram Profile Embed ?

À partir de $0.0012 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Instagram Profile Embed accepte-t-elle ?

Obligatoire : handle (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Instagram Profile Embed ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Instagram ?

Non. Instagram Profile Embed fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Instagram séparément.