handlestringobrigatório
Instagram username without the leading @.
https://api.sandbase.ai/v1/api/instagram/tagged-postsList the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
This API returns a page of Instagram posts that a given user is tagged in. It needs an Instagram handle without the leading @. Each post includes the author, caption, engagement counts, tagged users, and sound details where present.
nasa.likes, comments, reshares, and views.locationName, locationLat, and locationLng.url values of tagged reels and feed posts for a review or moderation queue.curl -X POST "https://api.sandbase.ai/v1/api/instagram/tagged-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle": "nasa"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | Instagram username without the leading @. |
cursor | string | No | Pagination cursor from a previous response's nextCursor. |
requireFields | array | No | Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example audioId, and it is served only by a source that returns every one of |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"nextCursor": "cur_yHFk0Kv5Y5je_8NgQW11og",
"posts": [
{
"audioId": "1455782958355315",
"author": "exoplanet_emma",
"avatarUrl": "https://scontent-ord5-1.cdninstagram.com/v/t51.2885-19/343267148_538566048451511…",
"caption": "Still on cloud 9 from this weekend 🚀✨\n\n📁 Astrophysics aerospace rocket launch ex…",
"comments": 8,
"createdUtc": 1788205763,
"durationSeconds": 10.842,
"hashtags": [],
"id": "3976079382136818132",
"likes": 3,
"mentions": [],
"paidPartnership": false
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.posts[].id / data.posts[].url | The post's ID and its public Instagram link. |
data.posts[].author | Username of the account that published the post. |
data.posts[].caption | Caption text of the post. Long captions can be shortened. |
data.posts[].likes / comments / reshares / views | Engagement counts for the post. views is missing on some feed posts. |
data.posts[].createdUtc | Creation time of the post as a Unix timestamp in seconds. |
data.posts[].productType | Post format, for example clips for reels or feed for standard posts. |
data.posts[].taggedUsers[].username / userId / displayName | The accounts tagged in the post, with their username, numeric ID, and display name. |
data.posts[].hashtags / mentions | Hashtags and @mentions found in the caption, as lists of strings. |
data.posts[].audioId / soundTitle / soundAuthor | ID, title, and author of the sound used in the post. Present on posts that carry audio. |
data.posts[].locationName / locationLat / locationLng | Name and coordinates of the tagged location. Only present when the post has a location. |
data.nextCursor from the response as cursor in the next request.handle without the @, for example nasa.requireFields to audioId or carouselCount only if you need that field on every post. This can route the call to a dearer source and raise the price.Billed at the actual cost of each call, about $0.00188 for the request above. Failed calls are not charged.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/tagged-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"handle": "nasa"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
handlestringobrigatórioInstagram username without the leading @.
cursorstringPagination cursor from a previous response's nextCursor.
requireFieldsarrayOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `audioId`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Instagram Tagged PostsEsta API Instagram | A partir de $0.00188 por chamada | JSON |
Instagram | A partir de $0.0011 por chamada | JSON |
Instagram | A partir de $0.001 por chamada | JSON |
Instagram | A partir de $0.0011 por chamada | JSON |
Instagram | A partir de $0.0012 por chamada | JSON |
Instagram | A partir de $0.0011 por chamada | JSON |
Guias:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/instagram/tagged-posts com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
A partir de $0.00188 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: handle (string). Opcionais: cursor (string) e requireFields (array). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Instagram Tagged Posts funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Instagram separadamente.