Skip to content

Son güncelleme

Değişiklik günlüğü

Instagram API

SağlıklıSalt okunur

Herkese açık Instagram profilleri ve gönderileri JSON olarak: takipçi ve gönderi sayıları; açıklama, hashtag, beğeni, yorum, görüntülenme, görsel ve video bilgileriyle son gönderiler; ayrıca birden fazla içerik üreticisinin gönderilerini birleştiren tek bir akış. Kaynak: www.instagram.com.

Temel URL
https://api.maviapi.com/v1/sites/instagram
4
Uç noktalar
1 h ago
Son doğrulama
970ms
p50 gecikme
GET/profiles/{username}/recent-posts5 credits per call

Son Gönderiler

Herkese açık bir profilin en yeni gönderileri (Instagram, giriş yapılmadan en fazla en yeni 6 gönderiyi gösterir): id, shortcode, url, tür, açıklama, hashtag'ler, bahsetmeler, beğeni, yorum, video oynatma sayısı, yayın zamanı, kapak görseli, video dosyası ve süresi, boyut, konum, takipçi sayısıyla birlikte hesap sahibi ve karusel gönderilerdeki tüm görseller/videolar. Profilin toplam gönderi sayısını da döndürür. Bilinmeyen bir hesap için bulunamadı hatası verir.

Bearer auth. Pass your key as Authorization: Bearer <key> on every request.
stringRequiredin path

Instagram username, with or without @

stringOptionalin query

only posts of this kind: image, video or carousel (any kind when omitted)

stringOptionalin query

order of the posts: recent (newest first), likes or comments (most first)

usernamestringe.g."natgeo"
posts_countintegere.g.32218
countintegere.g.6
postsobject[]22 fields
idstringe.g."4039253819871911016"
shortcodestringe.g."DgOT_LDGtxo"
urlstringe.g."https://www.instagram.com/p/DgOT_LDGtxo/"
typestringe.g."carousel"
product_typenull
captionstringe.g."Eel reproduction was first photographed in the wild by National Geographic photographer @tonywu98, and he and his team have continued to document this secretive event by spending hundreds of hours submerged in the waters of Kagoshima. National Geographic’s Pictures of the Year 2026 includes these moray eels in the act of ejecting their gametes, a process that occurs in less than two seconds.\n\nNational Geographic photographers ventured to places far and wide to capture the year’s most fascinating images. Out of millions of photos, just 25 were selected as our Pictures of the Year. See them all at the link in bio."
hashtagsstring[]
mentionsstring[]
like_countintegere.g.84983
comment_countintegere.g.275
view_countnull
taken_atstringe.g."2026-11-26T23:43:19.000Z"
display_urlstringe.g."https://scontent.cdninstagram.com/v/t51.82787-15/930382505_18723120067019133_7440139847351550069_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_cat=1&ig_cache_key=NDAzOTI1MjQ4NjY1MTkxOTQ4Mw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMjA0OC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=VogRwE_nH_4Q7kNvwEePunG&_nc_oc=Adp4QIYDL-KB5Jn5_rbWN0Ct0RhHqEmBHD_sZi88genX1GK9-jDUqGETvWiSm-ouPZw&_nc_zt=23&_nc_ht=scontent.cdninstagram.com&_nc_gid=Fdw29QrZDQfRLbdDQBmEPA&_nc_ss=79789&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQWqzC7PmJ5Fb9s2sKGvVw05nv5H01HQb-zRwwcj1_8DTA&oe=6B0F421D"
video_urlnull
video_durationnull
widthintegere.g.1080
heightintegere.g.1350
accessibility_captionnull
is_paid_partnershipbooleane.g.false
locationnull
ownerobject5 fields
idstringe.g."787132"
usernamestringe.g."natgeo"
is_verifiedbooleane.g.true
profile_pic_urlstringe.g."https://scontent.cdninstagram.com/v/t51.82787-19/683576066_18653628823019133_9051036240972105113_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ig_cache_key=GAKLvih9nsRnYEVCAJlFVLiBvZt9bmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy40MDAuQzMifQ%3D%3D&_nc_ohc=Fzq-SLmj7IoQ7kNvwGpGgyW&_nc_oc=AdoSMy3X79OMsDhxuGaGueLvYRgHskmAnnMjOhIp964NrFIS5KIhjVsiNvzJcx_on5M&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_gid=Fdw29QrZDQfRLbdDQBmEPA&_nc_ss=79789&_nc_ct=RQosPBUCFQIAAAA&oh=00_AQWjvhxastkp47DrsN6I5eZUvvrxnymxJhyvmUrshCO-HQ&oe=6B0F1CEB"
followers_countintegere.g.267196027
mediaobject[]8 fields
idstringe.g."4039252486651919483"
shortcodestringe.g."DgOTrxZADx7"
typestringe.g."image"
display_urlstringe.g."https://scontent.cdninstagram.com/v/t51.82787-15/930382505_18723120067019133_7440139847351550069_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_cat=1&ig_cache_key=NDAzOTI1MjQ4NjY1MTkxOTQ4Mw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMjA0OC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=VogRwE_nH_4Q7kNvwEePunG&_nc_oc=Adp4QIYDL-KB5Jn5_rbWN0Ct0RhHqEmBHD_sZi88genX1GK9-jDUqGETvWiSm-ouPZw&_nc_zt=23&_nc_ht=scontent.cdninstagram.com&_nc_gid=Fdw29QrZDQfRLbdDQBmEPA&_nc_ss=79789&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQWqzC7PmJ5Fb9s2sKGvVw05nv5H01HQb-zRwwcj1_8DTA&oe=6B0F421D"
video_urlnull
widthintegere.g.1080
heightintegere.g.1350
accessibility_captionnull
paginationobject3 fields
countintegere.g.6
has_morebooleane.g.false
next_cursornull
fetched_atstringe.g."2026-11-27T10:16:52.010Z"
ageintegere.g.0
Try itLive
GET
https://api.maviapi.com/v1/sites/instagram/profiles/natgeo/recent-posts?sort=recent
Request
curl "https://api.maviapi.com/v1/sites/instagram/profiles/natgeo/recent-posts?sort=recent" \
-H "Authorization: Bearer $MAVI_KEY"
Example3.7 KB
{
  "username": "natgeo",
  "posts_count": 32218,
  "count": 6,
  "posts": [
    {
      "id": "4039253819871911016",
      "shortcode": "DgOT_LDGtxo",
      "url": "https://www.instagram.com/p/DgOT_LDGtxo/",
      "type": "carousel",
      "product_type": null,
      "caption": "Eel reproduction was first photographed in the wild by National Geographic photographer @tonywu98, and he and his team have continued to document this secretive event by spending hundreds of hours submerged in the waters of Kagoshima. National Geographic’s Pictures of the Year 2026 includes these moray eels in the act of ejecting their gametes, a process that occurs in less than two seconds.\n\nNational Geographic photographers ventured to places far and wide to capture the year’s most fascinating images. Out of millions of photos, just 25 were selected as our Pictures of the Year. See them all at the link in bio.",
      "hashtags": [
        null
      ],
      "mentions": [
        "tonywu98"
      ],
      "like_count": 84983,
      "comment_count": 275,
      "view_count": null,
      "taken_at": "2026-11-26T23:43:19.000Z",
      "display_url": "https://scontent.cdninstagram.com/v/t51.82787-15/930382505_18723120067019133_7440139847351550069_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_cat=1&ig_cache_key=NDAzOTI1MjQ4NjY1MTkxOTQ4Mw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMjA0OC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=VogRwE_nH_4Q7kNvwEePunG&_nc_oc=Adp4QIYDL-KB5Jn5_rbWN0Ct0RhHqEmBHD_sZi88genX1GK9-jDUqGETvWiSm-ouPZw&_nc_zt=23&_nc_ht=scontent.cdninstagram.com&_nc_gid=Fdw29QrZDQfRLbdDQBmEPA&_nc_ss=79789&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQWqzC7PmJ5Fb9s2sKGvVw05nv5H01HQb-zRwwcj1_8DTA&oe=6B0F421D",
      "video_url": null,
      "video_duration": null,
      "width": 1080,
      "height": 1350,
      "accessibility_caption": null,
      "is_paid_partnership": false,
      "location": null,
      "owner": {
        "id": "787132",
        "username": "natgeo",
        "is_verified": true,
        "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.82787-19/683576066_18653628823019133_9051036240972105113_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ig_cache_key=GAKLvih9nsRnYEVCAJlFVLiBvZt9bmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy40MDAuQzMifQ%3D%3D&_nc_ohc=Fzq-SLmj7IoQ7kNvwGpGgyW&_nc_oc=AdoSMy3X79OMsDhxuGaGueLvYRgHskmAnnMjOhIp964NrFIS5KIhjVsiNvzJcx_on5M&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_gid=Fdw29QrZDQfRLbdDQBmEPA&_nc_ss=79789&_nc_ct=RQosPBUCFQIAAAA&oh=00_AQWjvhxastkp47DrsN6I5eZUvvrxnymxJhyvmUrshCO-HQ&oe=6B0F1CEB",
        "followers_count": 267196027
      },
      "media": [
        {
          "id": "4039252486651919483",
          "shortcode": "DgOTrxZADx7",
          "type": "image",
          "display_url": "https://scontent.cdninstagram.com/v/t51.82787-15/930382505_18723120067019133_7440139847351550069_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_cat=1&ig_cache_key=NDAzOTI1MjQ4NjY1MTkxOTQ4Mw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMjA0OC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=VogRwE_nH_4Q7kNvwEePunG&_nc_oc=Adp4QIYDL-KB5Jn5_rbWN0Ct0RhHqEmBHD_sZi88genX1GK9-jDUqGETvWiSm-ouPZw&_nc_zt=23&_nc_ht=scontent.cdninstagram.com&_nc_gid=Fdw29QrZDQfRLbdDQBmEPA&_nc_ss=79789&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQWqzC7PmJ5Fb9s2sKGvVw05nv5H01HQb-zRwwcj1_8DTA&oe=6B0F421D",
          "video_url": null,
          "width": 1080,
          "height": 1350,
          "accessibility_caption": null
        }
      ]
    }
  ],
  "pagination": {
    "count": 6,
    "has_more": false,
    "next_cursor": null
  },
  "fetched_at": "2026-11-27T10:16:52.010Z",
  "age": 0
}

Get all the data, no code

Collect every page of GET /profiles/natgeo/recent-posts into a dataset, for one request or for a whole list of them, then download it as CSV or JSON. A page costs the same as one call of the endpoint; the download is free.

Use Instagram API from Claude, ChatGPT and your coding tools

Add this URL as a custom connector and sign in to maviapi. Nothing to install.

How to connect
https://mcp.maviapi.com/mcp

Or run it locally, with each endpoint of Instagram API as its own tool:

claude mcp add maviapi -e MAVIAPI_TOOLS=instagram -- npx -y '@maviapi/mcp'

Import Instagram API into Postman and other tools

How to import

Paste a link into Postman, Insomnia, an agent framework or a no-code tool to get every endpoint with its parameters and response fields. The link always serves the current endpoints, so importing it again picks up new ones.

  • OpenAPI 3.1
    https://api.maviapi.com/v1/apis/instagram/openapi.json
  • Postman
    https://api.maviapi.com/v1/apis/instagram/postman.json

The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.

Instagram API ile geliştirin

Başlangıç için bir uç nokta seçin

  • Son Gönderiler GET /profiles/{username}/recent-posts

    Herkese açık bir profilin en yeni gönderileri (Instagram, giriş yapılmadan en fazla en yeni 6 gönderiyi gösterir): id, shortcode, url, tür, açıklama, hashtag'ler, bahsetmeler, beğeni, yorum, video oynatma sayısı, yayın zamanı, kapak görseli, video dosyası ve süresi, boyut, konum, takipçi sayısıyla birlikte hesap sahibi ve karusel gönderilerdeki tüm görseller/videolar. Profilin toplam gönderi sayısını da döndürür. Bilinmeyen bir hesap için bulunamadı hatası verir.

    GET /profiles/{username}/recent-posts için parametreler ve yanıt alanları
    İstek parametreleri
    AdTür / konumZorunluAçıklama
    usernamestring / pathEvetInstagram username, with or without @
    typestring / queryHayıronly posts of this kind: image, video or carousel (any kind when omitted)
    sortstring / queryHayırorder of the posts: recent (newest first), likes or comments (most first) İzin verilen değerler: recent, likes, comments.
    Yanıt alanları
    AlanTürAçıklama
    usernamestring
    posts_countinteger
    countinteger
    postsobject[]
    posts[].idstring
    posts[].shortcodestring
    posts[].urlstring
    posts[].typestring
    posts[].product_typenull
    posts[].captionstring
    posts[].hashtagsstring[]
    posts[].mentionsstring[]
    posts[].like_countinteger
    posts[].comment_countinteger
    posts[].view_countnull
    posts[].taken_atstring
    posts[].display_urlstring
    posts[].video_urlnull
    posts[].video_durationnull
    posts[].widthinteger
    posts[].heightinteger
    posts[].accessibility_captionnull
    posts[].is_paid_partnershipboolean
    posts[].locationnull
    posts[].ownerobject
    posts[].owner.idstring
    posts[].owner.usernamestring
    posts[].owner.is_verifiedboolean
    posts[].owner.profile_pic_urlstring
    posts[].owner.followers_countinteger
    posts[].mediaobject[]
    posts[].media[].idstring
    posts[].media[].shortcodestring
    posts[].media[].typestring
    posts[].media[].display_urlstring
    posts[].media[].video_urlnull
    posts[].media[].widthinteger
    posts[].media[].heightinteger
    posts[].media[].accessibility_captionnull
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Akış GET /feed

    En fazla 5 herkese açık profilin en yeni gönderilerinden (her birinden en fazla 6) oluşan tek bir birleşik akış. Her gönderide açıklama, hashtag'ler, bahsetmeler, beğeni, yorum, video oynatma sayısı, zaman, görseller/video ve paylaşan hesabın takipçi sayısı yer alır. Ayrıca her profil için bir satır (ad, takipçi, doğrulama, akıştaki gönderiler) bulunur. Bulunamayan bir profil, akışın tamamını başarısız kılmak yerine "not_found" hatasıyla listelenir (gizliyse veya yüklenemiyorsa "unavailable").

    GET /feed için parametreler ve yanıt alanları
    İstek parametreleri
    AdTür / konumZorunluAçıklama
    usernamesstring / queryHayırcomma-separated Instagram usernames, 1 to 5 (e.g. natgeo,nasa)
    sortstring / queryHayırorder of the posts: recent (newest first), likes or comments (most first) İzin verilen değerler: recent, likes, comments.
    typestring / queryHayıronly posts of this kind: image, video or carousel (any kind when omitted)
    Yanıt alanları
    AlanTürAçıklama
    sortstring
    typenull
    profilesobject[]
    profiles[].usernamestring
    profiles[].full_namestring
    profiles[].followers_countinteger
    profiles[].is_verifiedboolean
    profiles[].postsinteger
    profiles[].errornull
    countinteger
    postsobject[]
    posts[].idstring
    posts[].shortcodestring
    posts[].urlstring
    posts[].typestring
    posts[].product_typenull
    posts[].captionstring
    posts[].hashtagsstring[]
    posts[].mentionsstring[]
    posts[].like_countinteger
    posts[].comment_countinteger
    posts[].view_countnull
    posts[].taken_atstring
    posts[].display_urlstring
    posts[].video_urlnull
    posts[].video_durationnull
    posts[].widthinteger
    posts[].heightinteger
    posts[].accessibility_captionnull
    posts[].is_paid_partnershipboolean
    posts[].locationnull
    posts[].ownerobject
    posts[].owner.idstring
    posts[].owner.usernamestring
    posts[].owner.is_verifiedboolean
    posts[].owner.profile_pic_urlstring
    posts[].owner.followers_countinteger
    posts[].mediaobject[]
    posts[].media[].idstring
    posts[].media[].shortcodestring
    posts[].media[].typestring
    posts[].media[].display_urlstring
    posts[].media[].video_urlnull
    posts[].media[].widthinteger
    posts[].media[].heightinteger
    posts[].media[].accessibility_captionnull
    fetched_atstring
    ageinteger
  • Profil GET /profiles/{username}

    Herkese açık bir Instagram profili: id, ad, doğrulama durumu, takipçi ve gönderi sayıları, profil fotoğrafı, yayında bir hikaye olup olmadığı, zamirler ve en yeni 6 gönderi (tür, beğeni, yorum, zaman, kapak görseli). Var olmayan bir hesap için bulunamadı hatası verir.

    GET /profiles/{username} için parametreler ve yanıt alanları
    İstek parametreleri
    AdTür / konumZorunluAçıklama
    usernamestring / pathEvetInstagram username, with or without @ (a profile URL works too)
    Yanıt alanları
    AlanTürAçıklama
    idstring
    usernamestring
    full_namestring
    is_verifiedboolean
    profile_pic_urlstring
    followers_countinteger
    posts_countinteger
    has_public_storyboolean
    pronounsstring[]
    urlstring
    recent_postsobject[]
    recent_posts[].shortcodestring
    recent_posts[].urlstring
    recent_posts[].typestring
    recent_posts[].like_countinteger
    recent_posts[].comment_countinteger
    recent_posts[].taken_atstring
    recent_posts[].display_urlstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • Gönderi GET /posts/{shortcode}

    Herkese açık tek bir gönderi veya reel: id, tür, reel işareti, açıklama, hashtag'ler, bahsetmeler, beğeni, yorum, video oynatma sayısı, yüklenme zamanı, kapak görseli, video dosyası ve süresi, boyut, konum, takipçi sayısıyla birlikte paylaşan hesap (tek görselli gönderilerde yuvarlanmış olarak, ör. 267000000) ve karusel gönderilerdeki tüm görseller/videolar. Var olmayan veya herkese açık olmayan bir gönderi için bulunamadı hatası verir.

    GET /posts/{shortcode} için parametreler ve yanıt alanları
    İstek parametreleri
    AdTür / konumZorunluAçıklama
    shortcodestring / pathEvetpost shortcode, the id in instagram.com/p/<shortcode>/ (a full post or reel URL works too)
    Yanıt alanları
    AlanTürAçıklama
    idstring
    shortcodestring
    urlstring
    typestring
    product_typenull
    captionstring
    hashtagsstring[]
    mentionsstring[]
    like_countinteger
    comment_countinteger
    view_countnull
    taken_atstring
    display_urlstring
    video_urlnull
    video_durationnull
    widthinteger
    heightinteger
    accessibility_captionstring
    is_paid_partnershipnull
    locationnull
    ownerobject
    owner.idstring
    owner.usernamestring
    owner.is_verifiedboolean
    owner.profile_pic_urlstring
    owner.followers_countinteger
    mediaobject[]
    media[].idstring
    media[].shortcodestring
    media[].typestring
    media[].display_urlstring
    media[].video_urlnull
    media[].widthinteger
    media[].heightinteger
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger

Instagram verilerini CSV olarak indirin

Aşağıdaki her liste, her kayıt bir satır olacak şekilde CSV dosyası olarak iner. Listeyi yukarıdaki konsolun altındaki "Get all the data, no code" kartıyla bir veri setine toplayın. Liste sayfa sayfa okunur, sonra CSV, JSON veya JSONL olarak indirirsiniz.

ListeCSV sütunları
Son GönderilerGET /profiles/{username}/recent-postsid, shortcode, url, type, product_type, caption, hashtags, mentions, like_count, comment_count, view_count, taken_at, display_url, video_url, video_duration, width, height, accessibility_caption, is_paid_partnership, location, owner, media
ProfilGET /profiles/{username}shortcode, url, type, like_count, comment_count, taken_at, display_url
GönderiGET /posts/{shortcode}id, shortcode, type, display_url, video_url, width, height

İç içe bir değer (liste ya da nesne) tek hücreye JSON olarak yazılır. Veri setleri ve dışa aktarma nasıl çalışır

Instagram API hakkında sorular

Ne aldığınız, ne kadar tuttuğu ve nasıl çağrılacağı.

Resmi bir Instagram API var mı?

Evet, Instagram tarafından sunulan bir API var: Instagram Platform (kontrol tarihi: 2026-11-25). Bu Instagram API ise ondan ayrı ve resmi olmayan bir API’dir: instagram.com üzerindeki herkese açık veriler için maviapi tarafından sunulan bağımsız, barındırılan bir hizmettir. Instagram tarafından yapılmamış, onaylanmamış ve desteklenmemektedir.

Instagram API ile hangi verileri alabilirim?

Instagram API 4 uç nokta sunar. Her biri, yukarıda belgelenen parametre ve alanlarla JSON döndürür:

  • GET /profiles/{username}/recent-posts: Herkese açık bir profilin en yeni gönderileri (Instagram, giriş yapılmadan en fazla en yeni 6 gönderiyi gösterir): id, shortcode, url, tür, açıklama…
  • GET /feed: En fazla 5 herkese açık profilin en yeni gönderilerinden (her birinden en fazla 6) oluşan tek bir birleşik akış.
  • GET /profiles/{username}: Herkese açık bir Instagram profili: id, ad, doğrulama durumu, takipçi ve gönderi sayıları, profil fotoğrafı, yayında bir hikaye olup olmadığı, zamirler ve en…
  • GET /posts/{shortcode}: Herkese açık tek bir gönderi veya reel: id, tür, reel işareti, açıklama, hashtag'ler, bahsetmeler, beğeni, yorum, video oynatma sayısı, yüklenme zamanı, kapak…

Instagram API ücreti ne kadar?

Çağrılar maviapi planınızdaki kredilerle ödenir ve yalnızca başarılı çağrılar ücretlendirilir. Bu API’nin her uç noktası çağrı başına 5 kredi tutar. Hobby planında (ayda 49 dolar, 250.000 kredi) 1.000 çağrı yaklaşık 0,98 dolar tutar. Başarısız çağrılar ücretsizdir. Ücretsiz Free planı, kredi kartı gerektirmeden ayda 1.000 kredi verir. Sonrası için planlara ve kredi fiyatlarına göz atın.

Instagram API nasıl çağrılır?

API anahtarınızı Authorization başlığına ekleyerek uç noktaya bir HTTPS isteği gönderin. Örneğin GET /profiles/{username}/recent-posts:

cURL
curl 'https://api.maviapi.com/v1/sites/instagram/profiles/natgeo/recent-posts' \
  -H "Authorization: Bearer $MAVI_KEY"

Anahtarınızı API anahtarları sayfanızda oluşturun ya da önce herhangi bir uç noktayı yukarıdaki konsolda ücretsiz test anahtarıyla deneyin.

Instagram verisini JSON olarak almanın yolları nelerdir?

Instagram verisini JSON olarak almanın her yolu farklı bir ihtiyaca uyar:

  • Instagram Platform: Yazma erişimi, hesap verisi veya Instagram ile bir anlaşma gerektiğinde daha uygundur.
  • Kendi scraper’ınız: Tam kontrol sizdedir; ancak ayrıştırma, engellenen istekler ve instagram.com her değiştiğinde gereken onarım da sizin işinizdir. Nadiren değişen bir sayfadan tek seferlik veri almak için daha uygundur.
  • Apify: Çalıştırdığınız Actor’lardan oluşan bir pazar yeri; girdi, çıktı ve fiyatı her Actor belirler. İhtiyacınızı karşılayan hazır bir Actor varsa veya kendi kodunuzu barındırmak istiyorsanız daha uygundur. Karşılaştırma: maviapi vs Apify.
  • RapidAPI: Birçok sağlayıcının eklediği API’lerden oluşan, tek RapidAPI anahtarıyla çağrılan ve API başına fiyatlanan bir merkez. Zaten kullanıyorsanız ve oradaki bir API ihtiyacınızı karşılıyorsa daha uygundur. Kaynak: RapidAPI docs.
  • maviapi: Bu sayfadaki Instagram API: belgelenmiş 4 uç nokta, yayınlanmış yanıt şeması ve tüm katalog için tek anahtar. Bu veri ürününüzün bir parçasıysa ve scraper bakımı yapmak istemiyorsanız daha uygundur.

instagram.com sayfa düzenini değiştirirse ne olur?

Kodunuz değişmez. instagram.com sayfalarını değiştirdiğinde maviapi, Instagram API hizmetini çalışır durumda tutar; aynı uç noktaları çağırmaya devam eder ve burada belgelenen yapıda JSON alırsınız. Güncel durumunu durum sayfasında, neyin değiştiğini ise değişiklik günlüğünde görebilirsiniz.

Bir güncelleme Instagram API entegrasyonumu bozar mı?

Hayır. Kullandığınız bir uç noktanın yapısı hiçbir zaman değişmez: yeni alanlar, isteğe bağlı parametreler ve uç noktalar onun yanına eklenir; bir çağrıyı bozacak bir değişiklik yeni bir uç nokta olarak yayınlanır. Tanımadığınız yanıt alanlarını yok sayın ve yenilikler için değişiklik günlüğünü takip edin.

  • YouTube API

    JSON olarak YouTube verisi: video, Shorts, kanal ve oynatma listesi araması, video detayları ve yorumları, kanal…

  • Tripadvisor API

    Tripadvisor'dan seyahat planlama verisi: konum arama, ayrıca konuma (geo_id) göre gezilecek yerler, restoranlar ve…

  • Google Maps API

    maps.google.com'dan yapılandırılmış veri.