API de Instagram: Búsqueda por hashtag
Publicaciones recientes de un hashtag con paginación por cursor: shortcode, tipo, descripción y URL del contenido.
US$1.20/1k solic., pagas por solicitud, sin suscripción.
#spacex
FollowTop posts

{"id": "3714950709444987377","shortcode": "DOOJ_zSjcnx","type": "XDTGraphVideo","url": "https://www.instagram.com/reel/DOOJ_zSjcnx/","caption": "Launch day! 🚀 #spacex","displayUrl": "https://instagram.com/reel/DOOJ_zSjcnx/media.jpg","avatarUrl": string,"comments": integer,... 18 campos más}
Precios
Precios del endpoint Búsqueda por hashtag de la API de Instagram
Pruébalo
Obtén Búsqueda por hashtag de Instagram en una sola solicitud
Este ejemplo muestra 9 de 31 campos. Ver todos los campos
{
"found": true,
"data": {
"posts": [
{
"id": "3714950709444987377",
"shortcode": "DOOJ_zSjcnx",
"type": "XDTGraphVideo",
"url": "https://www.instagram.com/reel/DOOJ_zSjcnx/",
"caption": "Launch day! 🚀 #spacex",
"displayUrl": "https://instagram.com/reel/DOOJ_zSjcnx/media.jpg"
}
]
}
}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.
- hashtagstring
spacex
Hashtag que buscar, sin el # inicial.
- cursorstring
Cursor de paginación de una respuesta anterior.
- datePostedenum
Limita los resultados a publicaciones hechas dentro de este periodo.
- mediaTypeenum
Filtra por tipo de contenido. Uno de all, reel.
Respuesta
JSON, un valor de ejemplo por campo.
- nextCursorstring
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.
- avatarUrlstring
Profile picture URL of the posting account.
- captionstring
Launch day! 🚀 #spacex
Post caption text, including its hashtags.
- commentsinteger
Comment count.
- createdUtcnumber
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- displayNamestring
Display name of the posting account.
- displayUrlstring
https://instagram.com/reel/DOOJ_zSjcnx/media.jpg
Poster image URL. For a video this is the cover frame. Populated whenever the provider has data for the entity.
- durationSecondsnumber
Video duration in seconds. Absent on photo posts.
- hasAudioboolean
True when the media carries an audio track.
- hashtagsstring[]
Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.
- idstring
3714950709444987377
Instagram media id. Populated whenever the provider has data for the entity.
- isAdboolean
True when the post is a paid advertisement.
- likesinteger
Like count. Absent when the account hides it.
- locationIdstring
Instagram location id the post is tagged at.
- locationLatnumber
Latitude of the tagged location, in decimal degrees.
- locationLngnumber
Longitude of the tagged location, in decimal degrees.
- locationNamestring
Name of the location the post is tagged at.
- mentionsstring[]
Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.
- paidPartnershipboolean
True when the post is tagged as a paid partnership.
- productTypestring
Instagram product type of the media, for example feed, clips or igtv.
- shortcodestring
DOOJ_zSjcnx
Short code in the post permalink. Populated whenever the provider has data for the entity.
- typestring
XDTGraphVideo
Instagram media typename, for example XDTGraphVideo or XDTGraphImage.
- urlstring
https://www.instagram.com/reel/DOOJ_zSjcnx/
Canonical permalink to the post. Populated whenever the provider has data for the entity.
- userIdstring
Instagram user id of the posting account.
- usernamestring
Username of the account that posted. Populated whenever the provider has data for the entity.
- verifiedboolean
True when the posting account is verified.
- videoUrlstring
Playable video file URL. Present only on video posts.
- 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.
Preguntas frecuentes
Acerca del endpoint Búsqueda por hashtag de la API de Instagram
El endpoint Búsqueda por hashtag de AnyAPI para Instagram devuelve datos de Instagram como JSON normalizado con una sola llamada POST a /v1/run/instagram.search_hashtag. Publicaciones recientes de un hashtag con paginación por cursor: shortcode, tipo, descripción y URL del contenido. AnyAPI devuelve un único esquema normalizado sin importar qué fuente atienda la solicitud. Cuesta desde US$1.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.9% de las llamadas al endpoint Búsqueda por hashtag de la API de Instagram a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 12.6 segundos en 274.220 llamadas medidas.