API Instagram

Instagram Публикации пользователя API

Постраничная сетка публикаций и reels профиля с подписями, URL медиа и вовлечённостью. Листайте через поле cursor.

0,68 USD/1 тыс. запросов, оплата за запрос, без подписки.

nasa (@nasa) • Instagram photos and videos
instagram.com/nasa/
nasaFollow
POSTS REELS TAGGED
1.8M9,200
Что вернул APIposts[0]
{
"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
}
Доступность
99,90%
30d · Вызовов: 444 354
Запросы
449 478
30 дн. · по неделям, последние недель: 12
Ответ
2,6s
медиана · 30d

Цены и поставщики

Цена API Instagram Публикации пользователя: один API, поставщиков 8, и любой может заменить другого

Первым обслуживает самый дешёвый поставщик. Если он не отвечает, его заменяет следующий в том же вызове.

Поставщик с пометкой Не обслуживает перестал отвечать стабильно и выведен из ротации, поэтому ваши вызовы идут к остальным. Он вернётся сам, как только снова начнёт отвечать стабильно.

Вы платите
6,80 USD
0,68 USD/1 тыс. запросов, только за то, чем пользуетесь. Без ежемесячного тарифа.
Ваши первые запросы (147) бесплатны за счёт стартового баланса 0,10 USD.

Попробовать

Получите Instagram Публикации пользователя одним запросом

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 `locationName`, 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.
Открыть в
Пример ответа
Бесплатные запуски возвращают только первые результаты: 3. Пополните ключ, чтобы получить полный ответ.

В этом примере показано полей: 12 из 48. Все поля

{
  "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
      }
    ]
  }
}

Полный справочник по параметрам и ответу: каждое поле, тип и пример для этого эндпоинта.

Справочник

Один запрос, один формат ответа.

Каждое поле, которое вы отправляете, и каждое поле, которое получаете, с реальным примером.

Проверено 2026-11-21 · доступность и задержка измерены за 30d

Тело запроса

JSON, отправляется на этот эндпоинт.

  • handlestring

    nasa

    Имя пользователя Instagram без ведущего @.

  • cursorstring

    0

    Курсор постраничной выдачи из nextCursor предыдущего ответа.

  • 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 `locationName`, 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.

Вы отправляете. Небольшое тело JSON. Показанные значения это примеры, замените их своими.

Ответ

JSON, по одному примеру значения на поле.

datadata
  • 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.

each postdata.posts[]

Populated whenever the provider has data for the entity.

  • audioIdstringможет потребовать

    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.

  • carouselCountintegerможет потребовать

    Number of slides, present on carousel posts only. Null when the serving source does not report it.

  • commentsinteger

    9200

  • countsHiddenbooleanможет потребовать

    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.

  • isPinnedbooleanможет потребовать

    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

  • locationIdstringможет потребовать

    Instagram location id the post is tagged at. Absent when the post has no location. Null when the serving source does not report it.

  • locationLatnumberможет потребовать

    Latitude of the tagged location, in decimal degrees. Null when the serving source does not report it.

  • locationLngnumberможет потребовать

    Longitude of the tagged location, in decimal degrees. Null when the serving source does not report it.

  • locationNamestringможет потребовать

    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.

  • paidPartnershipbooleanможет потребовать

    Whether the post is tagged as a paid partnership. Null when the serving source does not report it.

  • productTypestringможет потребовать

    Instagram's own surface label for the post, such as feed, clips or carousel_container. Null when the serving source does not report it.

  • resharesintegerможет потребовать

    Number of times the post has been reshared, when Instagram reports it. Null when the serving source does not report it.

  • soundAuthorstringможет потребовать

    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.

  • soundTitlestringможет потребовать

    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.

  • userIdstring

    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.

each coauthordata.posts[].coauthors[]

Accounts listed as coauthors of the post. Null when the serving source does not report it.

  • displayNamestring

    Account display name.

  • userIdstring

    Instagram's numeric account id, as a string.

  • usernamestring

    Instagram username without the leading @.

  • verifiedboolean

    Whether the account carries Instagram's verified badge.

each mediadata.posts[].media[]

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.

each taggedUserdata.posts[].taggedUsers[]

Accounts tagged in the media. Null when the serving source does not report it.

  • displayNamestring

    Account display name.

  • userIdstring

    Instagram's numeric account id, as a string.

  • usernamestring

    Instagram username without the leading @.

top level
  • 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.

Вы получаете. Именованные типизированные поля в одном формате, какой бы источник ни ответил.

Продаёте этот API? Полная схема, которую должен возвращать ваш эндпоинт.

Вопросы и ответы

Об API Instagram Публикации пользователя

AnyAPI Instagram Публикации пользователя API возвращает данные Instagram в виде нормализованного JSON одним вызовом POST к /v1/run/instagram.user_posts. Постраничная сетка публикаций и reels профиля с подписями, URL медиа и вовлечённостью. Листайте через поле cursor. AnyAPI направляет каждый запрос по источникам (их 8) и автоматически переключается, если один из них отказывает. Это стоит от 0,68 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. За последние 30 дней 99,9% вызовов Instagram Публикации пользователя через AnyAPI завершились успешно, медианное время ответа 2,6 с, измерено вызовов: 444 354.

Это стоит от 0,68 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. Вы пополняете один кошелёк в долларах США, и каждый вызов списывает с него. По некоторым неудавшимся запросам, оплаченным из кошелька, возникают расходы на обработку; мы передаём их по себестоимости, без наценки, а сумма списания указана в ответе с ошибкой.

Постраничная сетка публикаций и reels профиля с подписями, URL медиа и вовлечённостью. Листайте через поле cursor. Ответ это нормализованный JSON с тем же конвертом, что возвращает каждый эндпоинт AnyAPI, поэтому разбор второго эндпоинта это смена URL и ничего больше.

За последние 30 дней 99,9% вызовов Instagram Публикации пользователя через AnyAPI завершились успешно, медианное время ответа 2,6 с, измерено вызовов: 444 354. Это собственные измерения AnyAPI по трафику через шлюз, пересчитываемые непрерывно, а не опубликованный целевой уровень обслуживания.

Да. Новый аккаунт AnyAPI стартует с бесплатным балансом 0,10 USD, карта не нужна. Этого хватает на 147 вызовов Instagram Публикации пользователя по 0,00068 USD за каждый.

AnyAPI в том же запросе обращается к следующему из источников (их 8), начиная с самого дешёвого, поэтому отказ одного источника не ломает ваш вызов.

Отправьте запрос POST на https://api.getanyapi.com/v1/run/instagram.user_posts с вашим ключом AnyAPI в заголовке "Authorization: Bearer" и входными данными в теле JSON. Один и тот же ключ и один и тот же кошелёк работают на каждом эндпоинте AnyAPI.

Нет. Вы пополняете один предоплаченный баланс AnyAPI в долларах США, и каждый запрос списывает с него. Ежемесячного тарифа и минимума нет, а один и тот же баланс оплачивает каждый эндпоинт AnyAPI.

Да. Установите @getanyapi/sdk из npm для TypeScript или getanyapi из pip для Python. Оба вызывают любой эндпоинт AnyAPI с одним и тем же ключом, а ещё подойдёт любой HTTP-клиент.

Да. Агент может подключиться к MCP-серверу AnyAPI по адресу https://api.getanyapi.com/mcp или создать собственный бесплатный пробный ключ одним POST без аутентификации на https://api.getanyapi.com/agent/signup и вызывать этот эндпоинт по HTTP.
Ещё для вызова

Другие эндпоинты Instagram

Профильот 0,54 USD /1 тыс. запросовПубликацияот 0,38 USD /1 тыс. запросовReels пользователяот 0,68 USD /1 тыс. запросовКомментарии к публикацииот 0,72 USD /1 тыс. запросовПоиск по хештегуот 1,20 USD /1 тыс. запросовAccount aboutот 2,20 USD /1 тыс. запросовReels с аудиоот 1,10 USD /1 тыс. запросовБазовый профильот 0,80 USD /1 тыс. запросовComment likersот 1,10 USD /1 тыс. запросовОтветы на комментарийот 1,10 USD /1 тыс. запросовВстраиваниеот 1,20 USD /1 тыс. запросовПодписчикиот 1,73 USD /1 тыс. запросовПодпискиот 1,73 USD /1 тыс. запросовАналитика хештегаот 1,10 USD /1 тыс. запросовНедавние публикации по хештегуот 1,88 USD /1 тыс. запросовЛучшие публикации по хештегуот 1,88 USD /1 тыс. запросовДанные подборкиот 1,10 USD /1 тыс. запросовLocation detailsот 1,10 USD /1 тыс. запросовПубликации по местуот 1,10 USD /1 тыс. запросовТранскрипт медиаот 1,20 USD /1 тыс. запросовЛайкнувшие публикациюот 1,10 USD /1 тыс. запросовКонтакты профиляот 0,40 USD /1 тыс. запросовТранскрипт reelот 5,94 USD /1 тыс. минут аудиоПоиск reelsот 1,88 USD /1 тыс. запросовПоискот 1,26 USD /1 тыс. запросовSearch audioот 1,10 USD /1 тыс. запросовПоиск подписчиковот 2,20 USD /1 тыс. запросовПоиск подписокот 2,20 USD /1 тыс. запросовПоиск местоположенийот 1,10 USD /1 тыс. запросовПоиск профилейот 1,20 USD /1 тыс. запросовКонтакты из поиска профилейот 6,67 USD /1 тыс. профилейПохожие профилиот 1,75 USD /1 тыс. запросовStories, полные данныеот 2,20 USD /1 тыс. запросовStories, краткая версияот 1,88 USD /1 тыс. запросовИсторияот 2,20 USD /1 тыс. запросовSuggested profilesот 2,20 USD /1 тыс. запросовПубликации с отметкойот 1,88 USD /1 тыс. запросовТрендовые reelsот 1,20 USD /1 тыс. запросовПодборки пользователяот 1,20 USD /1 тыс. запросовUser reels logged inот 1,73 USD /1 тыс. запросовРепосты пользователяот 1,10 USD /1 тыс. запросовПоиск reels в вебеот 1,20 USD /1 тыс. запросов