API de Instagram: Historias (completo)
Obtén las historias activas en este momento de una cuenta pública de Instagram por nombre de usuario, con contenido multimedia, tipo, dimensiones, hora de publicación y vencimiento a las 24 horas.
US$2.20/1k solic., pagas por solicitud, sin suscripción.

{"id": "3993371135160947333","username": "nba","mediaType": 2,"image": "https://scontent.cdninstagram.com/v/t51.71878-15/nba_story_frame.jpg?stp=dst-jpg&_nc_ht=scontent.cdninstagram.com&_nc_cat=1","videoUrl": "https://scontent.cdninstagram.com/o1/v/t2/f2/m78/nba_story.mp4?_nc_ht=scontent.cdninstagram.com&_nc_cat=110","width": 1080,"height": 1920,"durationSeconds": 17.466,... 13 campos más}
Precios y proveedores
Precios del endpoint Historias (completo) de la API de Instagram: una API, 2 proveedores intercambiables
El proveedor más barato responde primero. Si falla, el siguiente toma el relevo en la misma llamada.
Pruébalo
Obtén Historias (completo) de Instagram en una sola solicitud
Este ejemplo muestra 24 de 25 campos. Ver todos los campos
{
"found": true,
"data": {
"items": [
{
"id": "3993371135160947333",
"username": "nba",
"mediaType": 2,
"image": "https://scontent.cdninstagram.com/v/t51.71878-15/nba_story_frame.jpg?stp=dst-jpg&_nc_ht=scontent.cdninstagram.com&_nc_cat=1",
"videoUrl": "https://scontent.cdninstagram.com/o1/v/t2/f2/m78/nba_story.mp4?_nc_ht=scontent.cdninstagram.com&_nc_cat=110",
"width": 1080,
"height": 1920,
"durationSeconds": 17.466,
"createdUtc": 1790266907,
"expiresUtc": 1790353307,
"code": "DdrTeO_kRKF",
"userId": "20824486",
"displayName": "NBA",
"avatarUrl": "https://scontent.cdninstagram.com/v/t51.82787-19/nba_profile.jpg?stp=dst-jpg&_nc_ht=scontent.cdninstagram.com&_nc_cat=1",
"verified": true,
"private": false,
"productType": "story",
"paidPartnership": true,
"soundTitle": "Original audio",
"soundAuthor": "footlocker",
"audioId": "28825397337055428"
},
{
"id": "3993398120334519850",
"username": "nba",
"mediaType": 1,
"image": "https://scontent.cdninstagram.com/v/t51.71878-15/nba_story_frame_2.jpg?stp=dst-jpg&_nc_ht=scontent.cdninstagram.com&_nc_cat=1",
"videoUrl": "",
"width": 1080,
"height": 1920,
"createdUtc": 1790270407,
"expiresUtc": 1790356807,
"code": "DdrZmK3kQ7p",
"userId": "20824486",
"displayName": "NBA",
"avatarUrl": "https://scontent.cdninstagram.com/v/t51.82787-19/nba_profile.jpg?stp=dst-jpg&_nc_ht=scontent.cdninstagram.com&_nc_cat=1",
"verified": true,
"private": false,
"productType": "story",
"paidPartnership": false
}
]
}
}Referencia completa de parámetros y respuesta: cada campo, tipo y ejemplo de este endpoint.
Referencia
Una solicitud, un formato de respuesta.
Cada campo que envías y cada campo que recibes, cada uno con un ejemplo real.
Verificado por última vez el 2026-11-14 · disponibilidad y latencia medidas en 30d
Cuerpo de la solicitud
JSON, enviado por POST a este endpoint.
- usernamestring
nba
Nombre de usuario de Instagram, sin la @.
- 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 `soundTitle`, 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 story that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Respuesta
JSON, un valor de ejemplo por campo.
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.
- audioIdstringse puede exigir
28825397337055428
Instagram audio id of the sound; pass it to instagram.audio_reels as audioId to list reels using it. Null when the story has no music sticker or this source does not report it.
- avatarUrlstring
https://scontent.cdninstagram.com/v/t51.82787-19/nba_profile.jpg?stp=dst-jpg&_nc_ht=scontent.cdninstagram.com&_nc_cat=1
Profile picture URL of the story owner.
- codestring
DdrTeO_kRKF
Instagram media shortcode. Populated whenever the provider has data for the entity.
- createdUtcnumber
1790266907
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.
- displayNamestring
NBA
Display name of the story owner.
- durationSecondsnumber
17.466
Video duration in seconds. Null on a photo story, or when this source does not report it.
- expiresUtcnumber
1790353307
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.
- heightinteger
1920
Media pixel height. Populated whenever the provider has data for the entity.
- idstring
3993371135160947333
Story identifier. Populated whenever the provider has data for the entity.
- imagestring
https://scontent.cdninstagram.com/v/t51.71878-15/nba_story_frame.jpg?stp=dst-jpg&_nc_ht=scontent.cdninstagram.com&_nc_cat=1
Direct URL to the story image (highest resolution). Populated whenever the provider has data for the entity.
- mediaTypeinteger
2
Media type: 1 = image, 2 = video. Populated whenever the provider has data for the entity.
- paidPartnershipboolean
true
True when the story is tagged as a paid partnership.
- privateboolean
false
True when the owner's account is private.
- productTypestring
story
Instagram product type of the media, for example story.
- soundAuthorstringse puede exigir
footlocker
Credited author of the sound. Null when the story has no music sticker or this source does not report it.
- soundTitlestringse puede exigir
Original audio
Name of the sound on the story's music sticker. "Original audio" means the creator's own audio rather than a licensed track. Null when the story has no music sticker or this source does not report it.
- userIdstring
20824486
Instagram user id of the story owner.
- usernamestring
nba
Owner username. Populated whenever the provider has data for the entity.
- verifiedboolean
true
True when the owner's account carries a verified badge.
- videoUrlstring
https://scontent.cdninstagram.com/o1/v/t2/f2/m78/nba_story.mp4?_nc_ht=scontent.cdninstagram.com&_nc_cat=110
Direct URL to the story video, when the story is a video. Populated whenever the provider has data for the entity.
- widthinteger
1080
Media pixel width. Populated whenever the provider has data for the entity.
- foundboolean
true
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.
Preguntas frecuentes
Acerca del endpoint Historias (completo) de la API de Instagram
El endpoint Historias (completo) de AnyAPI para Instagram devuelve datos de Instagram como JSON normalizado con una sola llamada POST a /v1/run/instagram.stories_full. Obtén las historias activas en este momento de una cuenta pública de Instagram por nombre de usuario, con contenido multimedia, tipo, dimensiones, hora de publicación y vencimiento a las 24 horas. AnyAPI enruta cada solicitud entre 2 fuentes y recurre automáticamente a otra cuando una falla. Cuesta desde US$2.20 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. En los últimos 30 días, el 99.4% de las llamadas al endpoint Historias (completo) de la API de Instagram a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 1.5 segundos en 10.566 llamadas medidas.