API para Instagram: Posts do usuário
Grade paginada dos posts e reels de um perfil, com legendas, URLs de mídia e engajamento. Pagine com o campo cursor.
US$ 0,80/mil req., pague por requisição, sem assinatura.
1.8M9,200{"id": "3401000000000000000","url": "https://www.instagram.com/p/C8aBcDeFgHi/","caption": "A new view of the Pillars of Creation.","likes": 1840000,"comments": 9200,"createdUtc": 1717945200,"username": "nasa","verified": true,... 23 campos a mais}
Preços e provedores
Preços do endpoint Posts do usuário da API para Instagram: uma API, 7 provedores intercambiáveis
O provedor mais barato atende primeiro. Se ele falhar, o próximo assume na mesma chamada.
Um provedor marcado como Fora de serviço parou de responder de forma confiável e foi retirado do rodízio, então suas chamadas vão para os outros. Ele volta sozinho assim que responder de forma confiável de novo.
Teste
Obtenha Posts do usuário do Instagram em uma só requisição
Este exemplo mostra 12 de 48 campos. Ver todos os campos
{
"found": true,
"data": {
"nextCursor": "QVFEX2Z",
"posts": [
{
"id": "3401000000000000000",
"url": "https://www.instagram.com/p/C8aBcDeFgHi/",
"caption": "A new view of the Pillars of Creation.",
"likes": 1840000,
"comments": 9200,
"createdUtc": 1717945200,
"username": "nasa",
"verified": true
}
]
}
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Uma requisição, um formato de resposta.
Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.
Última verificação em 2026-11-14 · disponibilidade e latência medidas em 30d
Corpo da requisição
JSON, enviado via POST para este endpoint.
- handlestring
nasa
Nome de usuário do Instagram, sem o @ inicial.
- cursorstring
0
Cursor de paginação do nextCursor de uma resposta anterior.
- requireFieldsarray
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 `userId`, 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
JSON, um valor de exemplo por campo.
- nextCursorstring
QVFEX2Z
Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.
Populated whenever the provider has data for the entity.
- audioIdstringpode ser exigido
Instagram audio id of the post's sound, licensed track or original audio, the audioId instagram.audio_reels takes to list other reels using it. Absent when the post has no sound. Null when the serving source does not report it.
- avatarUrlstring
Profile picture URL of the posting account.
- captionstring
A new view of the Pillars of Creation.
Populated whenever the provider has data for the entity.
- carouselCountintegerpode ser exigido
Number of slides, present on carousel posts only. Null when the serving source does not report it.
- commentsinteger
9200
- countsHiddenbooleanpode ser exigido
Whether the author has hidden the like and view counts. Null when the serving source does not report it.
- createdUtcnumber
1717945200
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- displayNamestring
Display name of the posting account.
- durationSecondsnumber
Video duration in seconds. Absent on photo posts.
- hashtagsstring[]
Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.
- idstring
3401000000000000000
Instagram media id. Populated whenever the provider has data for the entity.
- isPinnedbooleanpode ser exigido
Whether the post is pinned to the top of a profile grid. On a collaboration post this can be true because a coauthor pinned it to their own profile. Null when the serving source does not report it.
- likesinteger
1840000
- locationIdstringpode ser exigido
Instagram location id the post is tagged at. Absent when the post has no location. Null when the serving source does not report it.
- locationLatnumberpode ser exigido
Latitude of the tagged location, in decimal degrees. Null when the serving source does not report it.
- locationLngnumberpode ser exigido
Longitude of the tagged location, in decimal degrees. Null when the serving source does not report it.
- locationNamestringpode ser exigido
Name of the location the post is tagged at. Null when the serving source does not report it.
- mentionsstring[]
Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.
- paidPartnershipbooleanpode ser exigido
Whether the post is tagged as a paid partnership. Null when the serving source does not report it.
- productTypestringpode ser exigido
Instagram's own surface label for the post, such as feed, clips or carousel_container. Null when the serving source does not report it.
- resharesintegerpode ser exigido
Number of times the post has been reshared, when Instagram reports it. Null when the serving source does not report it.
- soundAuthorstringpode ser exigido
Credited artist of a licensed track, or the username of the account whose original audio it is. Absent when the post has no sound. Null when the serving source does not report it.
- soundTitlestringpode ser exigido
Name of the sound on a reel or a post with music. "Original audio" means the creator's own audio rather than a licensed track. Absent when the post has no sound. Null when the serving source does not report it.
- urlstring
https://www.instagram.com/p/C8aBcDeFgHi/
Populated whenever the provider has data for the entity.
- userIdstringpode ser exigido
Instagram user id of the posting account. Null when the serving source does not report it.
- usernamestring
nasa
Username of the account that posted. A profile feed includes collaborator posts, so this is not always the requested handle. Populated whenever the provider has data for the entity.
- verifiedboolean
true
True when the posting account is verified.
- viewsinteger
Play count, present on video posts and reels only.
Accounts listed as coauthors of the post. Null when the serving source does not report it.
- displayNamestring
Account display name.
- userIdstringpode ser exigido
Instagram's numeric account id, as a string.
- usernamestring
Instagram username without the leading @.
- verifiedboolean
Whether the account carries Instagram's verified badge.
Photo, video, and GIF attachments on the post. Empty when the post has none.
- heightinteger
Pixel height of the media item, when the lane reports it.
- typestring
One of photo, video, or gif.
- urlstring
Image URL. For a video or GIF this is the poster/thumbnail frame.
- videoUrlstring
Playable video file URL. Present only for video and gif items.
- widthinteger
Pixel width of the media item, when the lane reports it.
Accounts tagged in the media. Null when the serving source does not report it.
- displayNamestring
Account display name.
- userIdstringpode ser exigido
Instagram's numeric account id, as a string.
- usernamestring
Instagram username without the leading @.
- foundboolean
true
- 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.
Vende esta API? Veja o schema completo que o seu endpoint precisa retornar.
Dúvidas frequentes
Sobre o endpoint Posts do usuário da API para Instagram
O endpoint Posts do usuário da AnyAPI para Instagram retorna dados de Instagram em JSON normalizado com uma chamada POST para /v1/run/instagram.user_posts. Grade paginada dos posts e reels de um perfil, com legendas, URLs de mídia e engajamento. Pagine com o campo cursor. A AnyAPI distribui cada requisição entre 7 fontes, com failover automático quando uma falha. Custa a partir de US$ 0,80 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 99,9% das chamadas ao endpoint Posts do usuário da API para Instagram feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 2,6 segundos, em 346.642 chamadas medidas.