API para Instagram: Posts marcados
Liste os posts em que um usuário do Instagram foi marcado, com paginação por cursor (autor, legenda, curtidas, comentários).
Rede de provedores
Provedores ordenados por tráfego
Teste
Faça sua primeira requisição
{
"data": {
"nextCursor": "example",
"posts": [
{
"author": "Alex Rivera",
"avatarUrl": "https://example.com/image.jpg",
"caption": "A short example description of this item.",
"comments": 12500,
"createdUtc": 12.5,
"id": "a1b2c3d4",
"likes": 12500,
"url": "https://example.com/page",
"verified": true,
"views": 12500
}
]
},
"found": true,
"reason": "not_found"
}interface InstagramTaggedPostsResponse {
data: {
nextCursor: string | null;
posts: {
author: string;
avatarUrl?: string;
caption: string;
comments: number;
createdUtc: number;
id: string;
likes: number | null;
url: string;
verified?: boolean;
views?: number;
}[];
} | null;
found: boolean;
reason?: "not_found";
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Requisição, resposta e preço
Última verificação em 2026-09-29 · disponibilidade e latência medidas em 30dcurl -X POST https://api.getanyapi.com/v1/run/instagram.tagged_posts \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"nasa"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| handle | string | "nasa"Nome de usuário do Instagram, sem o @ inicial. |
| cursor | string | Cursor de paginação do nextCursor de uma resposta anterior. |
| Resposta | ||
| data | object | |
| data.nextCursor | string | Opaque cursor for the next page of tagged posts, or null when this lane has no more. Pass it back as cursor to continue. |
| data.posts | object[] | Posts that tag the requested account, newest first. Populated whenever the provider has data for the entity. |
| data.posts[].author | string | Username of the account that posted and applied the tag, without the @ prefix. Populated whenever the provider has data for the entity. |
| data.posts[].avatarUrl | string | URL of the posting account's profile avatar image. |
| data.posts[].caption | string | The post's caption text. Empty when the post has none. Populated whenever the provider has data for the entity. |
| data.posts[].comments | integer | Number of comments on the post. |
| data.posts[].createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. |
| data.posts[].id | string | The post's numeric Instagram media ID, as a string. Populated whenever the provider has data for the entity. |
| data.posts[].likes | integer | Number of likes on the post. Null when the source does not report it, including when the owner hides like counts. |
| data.posts[].url | string | Canonical URL of the post, with tracking query params stripped. Populated whenever the provider has data for the entity. |
| data.posts[].verified | boolean | True when the posting account carries a verified badge. |
| data.posts[].views | integer | Number of views on the post, when the upstream reports one. |
| found | boolean | |
| reason | "not_found" | Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost. |
| Preço | ||
| Preço por requisição | USD | US$ 0,0015 |
| Preço /mil req. | USD | US$ 1,50 |
Dúvidas frequentes
Sobre o endpoint Posts marcados da API para Instagram
O endpoint Posts marcados da AnyAPI para Instagram retorna dados de Instagram em JSON normalizado com uma chamada POST para /v1/run/instagram.tagged_posts. Liste os posts em que um usuário do Instagram foi marcado, com paginação por cursor (autor, legenda, curtidas, comentários). A AnyAPI distribui cada requisição entre 4 fontes, com failover automático quando uma falha. Custa a partir de US$ 1,50 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Posts marcados da API para Instagram feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 6,3 segundos, em 154 chamadas medidas.