API para Instagram: Stories (versão completa)
Obtenha os stories ativos agora de uma conta pública do Instagram pelo nome de usuário, com mídia, tipo, dimensões, horário de publicação e expiração de 24 horas.
Rede de provedores
Provedores ordenados por tráfego
Teste
Faça sua primeira requisição
{
"data": {
"items": [
{
"avatarUrl": "https://example.com/image.jpg",
"code": "a1b2c3d4",
"createdUtc": 12.5,
"displayName": "Alex Rivera",
"expiresUtc": 12.5,
"height": 42,
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"mediaType": 42,
"paidPartnership": true,
"private": false,
"productType": "general",
"userId": "a1b2c3d4",
"username": "alex_rivera",
"verified": true,
"videoUrl": "https://example.com/page",
"width": 1024
}
]
},
"found": true,
"reason": "not_found"
}interface InstagramStoriesFullResponse {
data: {
items: {
avatarUrl?: string;
code?: string;
createdUtc?: number;
displayName?: string;
expiresUtc?: number;
height?: number;
id: string;
image?: string;
mediaType?: number;
paidPartnership?: boolean;
private?: boolean;
productType?: string;
userId?: string;
username?: string;
verified?: boolean;
videoUrl?: string;
width?: 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.stories_full \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"username":"natgeo"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| username | string | "natgeo"Nome de usuário do Instagram, sem o @. |
| Resposta | ||
| data | object | Wrapper holding the story items array, or null when nothing was found. |
| data.items | object[] | Currently live story records for the requested account, with media, type, dimensions, posting time, and expiry. Populated whenever the provider has data for the entity. |
| data.items[].avatarUrl | string | Profile picture URL of the story owner. |
| data.items[].code | string | Instagram media shortcode. Populated whenever the provider has data for the entity. |
| data.items[].createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity. |
| data.items[].displayName | string | Display name of the story owner. |
| data.items[].expiresUtc | number | Expiry UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity. |
| data.items[].height | integer | Media pixel height. Populated whenever the provider has data for the entity. |
| data.items[].id | string | Story identifier. Populated whenever the provider has data for the entity. |
| data.items[].image | string | Direct URL to the story image (highest resolution). Populated whenever the provider has data for the entity. |
| data.items[].mediaType | integer | Media type: 1 = image, 2 = video. Populated whenever the provider has data for the entity. |
| data.items[].paidPartnership | boolean | True when the story is tagged as a paid partnership. |
| data.items[].private | boolean | True when the owner's account is private. |
| data.items[].productType | string | Instagram product type of the media, for example story. |
| data.items[].userId | string | Instagram user id of the story owner. |
| data.items[].username | string | Owner username. Populated whenever the provider has data for the entity. |
| data.items[].verified | boolean | True when the owner's account carries a verified badge. |
| data.items[].videoUrl | string | Direct URL to the story video, when the story is a video. Populated whenever the provider has data for the entity. |
| data.items[].width | integer | Media pixel width. Populated whenever the provider has data for the entity. |
| found | boolean | True when stories were found; false when the lookup returned nothing. |
| 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,0022 |
| Preço /mil req. | USD | US$ 2,20 |
Dúvidas frequentes
Sobre o endpoint Stories (versão completa) da API para Instagram
O endpoint Stories (versão completa) da AnyAPI para Instagram retorna dados de Instagram em JSON normalizado com uma chamada POST para /v1/run/instagram.stories_full. Obtenha os stories ativos agora de uma conta pública do Instagram pelo nome de usuário, com mídia, tipo, dimensões, horário de publicação e expiração de 24 horas. A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa a partir de US$ 2,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 95,8% das chamadas ao endpoint Stories (versão completa) da API para Instagram feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 4,1 segundos, em 48 chamadas medidas.