Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Instagram Hashtag Recent Posts

Documentación de la API
https://api.sandbase.ai/v1/api/instagram/hashtag-recent-posts

Instagram posts published under a hashtag, newest first, read from its live chronological feed rather than a web search index. Built for monitoring: results arrive within a couple of minutes of posting, so engagement counts are usually still zero and reels do not appear (Instagram keeps those on a separate tab). For engagement-ranked results use instagram.hashtag_top_posts; for older relevance-ranked results use instagram.search_hashtag.

Precio
Desde $0.0012USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 1 opcionales

Entorno de pruebas

Entrada
Hashtag to monitor, without the leading #.
Pagination cursor from a previous response's nextCursor.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

Instagram Hashtag Recent Posts API

Returns Instagram posts published under a hashtag, newest first, from the hashtag's chronological feed. You send a hashtag without the leading #, and each post includes caption, author, media links and counts.

Use cases

  • Monitor a brand or campaign hashtag and catch new posts within minutes of publishing.
  • Spot new paid partnership posts in a niche like skincare by checking paidPartnership.
  • Collect fresh creator accounts posting under a topic by reading username, userId and verified.
  • Feed new post URLs into a moderation or reposting queue.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/hashtag-recent-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hashtag": "skincare"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
hashtagstringYesHashtag to monitor, without the leading #.
cursorstringNoPagination cursor from a previous response's nextCursor.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "nextCursor": "cur_Kic15fMDA4fH3OYn2e--Sw",
    "posts": [
      {
        "avatarUrl": "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-19/743081754_18056615780522…",
        "caption": "الليزر الكوري لتصغير الانف 🔥🔥🔥🔥#fypシ❤️💞❤️ #اكسبلورر #dubai #skincare #fforever",
        "comments": 0,
        "countsHidden": false,
        "createdUtc": 1793691103,
        "displayName": "Huda.altaaye",
        "hashtags": [
          "#fypシ❤️💞❤️"
        ],
        "height": 1760,
        "id": "4022091320108946819",
        "likes": 0,
        "media": [
          {
            "type": "photo",
            "url": "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-15/884648679_18085354025522…"
          }
        ],
        "mentions": []
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.posts[].url / data.posts[].shortcodeLink to the post on Instagram and its short ID. The shortcode is the part of the URL after /p/.
data.posts[].idNumeric ID of the post, returned as a string.
data.posts[].captionCaption text of the post, including its hashtags.
data.posts[].hashtags / data.posts[].mentionsLists of hashtags and @mentions found in the caption. Each hashtag keeps its leading #.
data.posts[].username / data.posts[].displayName / data.posts[].userIdHandle, display name and numeric account ID of the author. displayName can be an empty string.
data.posts[].verified / data.posts[].privateWhether the author account is verified and whether it is private.
data.posts[].likes / data.posts[].commentsLike and comment counts at the time of the call. They are often 0 on new posts.
data.posts[].countsHiddentrue when the author hides the counts, so likes and comments of 0 do not mean no engagement.
data.posts[].createdUtcPublish time as a Unix timestamp in seconds.
data.posts[].media[].type / data.posts[].media[].urlType of each media item (such as photo) and its URL. Carousel posts list several items, and carouselCount gives the item count.
data.posts[].productType / data.posts[].paidPartnershipPost format, such as feed or carousel_container, and whether the post is marked as a paid partnership.

Notes

  • Use data.nextCursor as the cursor parameter in the next request to get the next page of older posts.
  • Send the hashtag without the leading #, for example skincare.
  • Reels do not appear here. For engagement-ranked posts, call Instagram Hashtag Top Posts.
  • To get full details for one post, pass its URL or shortcode to Instagram Post Details.

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
InstagramDesde $0.0012 por llamadaJSON
InstagramDesde $0.0011 por llamadaJSON
InstagramDesde $0.001 por llamadaJSON
InstagramDesde $0.0011 por llamadaJSON
InstagramDesde $0.0012 por llamadaJSON
InstagramDesde $0.0011 por llamadaJSON

Guías:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Instagram Hashtag Recent Posts?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/instagram/hashtag-recent-posts con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Instagram Hashtag Recent Posts?

Desde $0.0012 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Instagram Hashtag Recent Posts?

Requeridos: hashtag (string). Opcionales: cursor (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Instagram Hashtag Recent Posts?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Instagram?

No. Instagram Hashtag Recent Posts funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Instagram por separado.