API para Instagram: Detalhes do destaque
Obtenha os detalhes e os itens de mídia de um único destaque de stories do Instagram pelo ID.
Preços
Um preço, em dólares
Teste
Faça sua primeira requisição
{
"data": {
"avatarUrl": "https://example.com/image.jpg",
"coverUrl": "https://example.com/page",
"createdUtc": 12.5,
"id": "a1b2c3d4",
"items": [
{
"code": "a1b2c3d4",
"createdUtc": 12.5,
"durationSeconds": 12.5,
"hasAudio": true,
"height": 42,
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"mediaType": 42,
"paidPartnership": true,
"productType": "general",
"videoUrl": "https://example.com/page",
"width": 1024
}
],
"mediaCount": 12500,
"ownerHandle": "alex_rivera",
"title": "Example title"
},
"found": true,
"reason": "not_found"
}interface InstagramHighlightDetailResponse {
data: {
avatarUrl?: string;
coverUrl: string;
createdUtc: number;
id: string;
items?: {
code?: string;
createdUtc?: number;
durationSeconds?: number;
hasAudio?: boolean;
height?: number;
id?: string;
image?: string;
mediaType?: number;
paidPartnership?: boolean;
productType?: string;
videoUrl?: string;
width?: number;
}[];
mediaCount: number;
ownerHandle: string;
title: string;
} | 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.highlight_detail \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"18201653992314974"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| id | string | "18201653992314974"O ID do destaque cujos detalhes buscar. |
| Resposta | ||
| data | object | The highlight record, or null when nothing was found. |
| data.avatarUrl | string | Profile picture URL of the account that owns the highlight. |
| data.coverUrl | string | URL of the highlight cover image. Populated whenever the provider has data for the entity. |
| data.createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. |
| data.id | string | Highlight identifier. Populated whenever the provider has data for the entity. |
| data.items | object[] | The media items inside the highlight, in the order the upstream returned them. |
| data.items[].code | string | Instagram media shortcode. |
| data.items[].createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. |
| data.items[].durationSeconds | number | Video duration in seconds, when the item is a video. |
| data.items[].hasAudio | boolean | True when the media carries an audio track. |
| data.items[].height | integer | Media pixel height. |
| data.items[].id | string | Media identifier. |
| data.items[].image | string | Direct URL to the media image (highest resolution). |
| data.items[].mediaType | integer | Media type: 1 = image, 2 = video. |
| data.items[].paidPartnership | boolean | True when the item is tagged as a paid partnership. |
| data.items[].productType | string | Instagram product type of the media, for example story. |
| data.items[].videoUrl | string | Direct URL to the media video, when the item is a video. |
| data.items[].width | integer | Media pixel width. |
| data.mediaCount | integer | Number of media items in the highlight. |
| data.ownerHandle | string | Handle of the account that owns the highlight. Populated whenever the provider has data for the entity. |
| data.title | string | Highlight title. Populated whenever the provider has data for the entity. |
| found | boolean | True when the highlight was 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,0012 |
| Preço /mil req. | USD | US$ 1,20 |
Dúvidas frequentes
Sobre o endpoint Detalhes do destaque da API para Instagram
O endpoint Detalhes do destaque da AnyAPI para Instagram retorna dados de Instagram em JSON normalizado com uma chamada POST para /v1/run/instagram.highlight_detail. Obtenha os detalhes e os itens de mídia de um único destaque de stories do Instagram pelo ID. A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. Custa a partir de US$ 1,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Detalhes do destaque da API para Instagram feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 2,0 segundos, em 112 chamadas medidas.