Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Instagram Hashtag Recent Posts

Документация 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.

Цена
От $0.0012USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 1 необязательных

Песочница

Ввод
Hashtag to monitor, without the leading #.
Pagination cursor from a previous response's nextCursor.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по 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.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
InstagramОт $0.0012 за запросJSON
InstagramОт $0.0011 за запросJSON
InstagramОт $0.001 за запросJSON
InstagramОт $0.0011 за запросJSON
InstagramОт $0.0012 за запросJSON
InstagramОт $0.0011 за запросJSON

Руководства:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API Instagram Hashtag Recent Posts?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/instagram/hashtag-recent-posts, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Instagram Hashtag Recent Posts?

От $0.0012 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Instagram Hashtag Recent Posts?

Обязательные: hashtag (string). Необязательные: cursor (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Instagram Hashtag Recent Posts?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Instagram или API key?

Нет. Instagram Hashtag Recent Posts работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Instagram.