AnyAPIInstagramSocial

Instagram Post

anyapi.instagram.post.detail

Fetch a single Instagram post or reel by URL (media URLs, like count, owner, type) as normalized JSON.

価格
$0.0015/successカタログ価格で提供
成功率
100%直近 30 日 · 20,527 回
レイテンシ p50
3.7 sp95 17 s
最終確認
2026/09/19動作確認済み
POSThttps://toolswitch.dev/v1/tools/anyapi.instagram.post.detailBeta
  • プラットフォームのクォータを使用
  • 同期レスポンス
  • 公開データを読み取る

パラメータ

パラメータ型必須説明例
リクエストボディ(JSON)
url文字列必須Full Instagram post or reel URL, carrying the media shortcode: /p/, /reel/, /reels/, or /tv/. A profile URL such as https://www.instagram.com/username names no post, so it is rejected instead of charged for an empty result.https://www.instagram.com/reel/DWzrfE2kaY8/
requirePlayCount真偽値任意Set true to be served only by a source that reports a reel's play count. The default cheapest source does not carry play counts, so `plays` is absent from its responses; opting in guarantees the field when Instagram exposes it, at a higher price per request.
  • リクエストボディ(JSON)
  • url文字列必須

    Full Instagram post or reel URL, carrying the media shortcode: /p/, /reel/, /reels/, or /tv/. A profile URL such as https://www.instagram.com/username names no post, so it is rejected instead of charged for an empty result.

    例:https://www.instagram.com/reel/DWzrfE2kaY8/

  • requirePlayCount真偽値任意

    Set true to be served only by a source that reports a reel's play count. The default cheapest source does not carry play counts, so `plays` is absent from its responses; opting in guarantees the field when Instagram exposes it, at a higher price per request.

レスポンス例

JSON
{
  "items": 0,
  "output": {
    "data": {
      "id": "3869627756355626556",
      "type": "XDTGraphVideo",
      "likes": 7841,
      "owner": "luizaerundina",
      "videoUrl": "https://scontent-lga3-2.cdninstagram.com/o1/v/t2/f2/m86/AQOV72b2a-56UCKOTs-VlyIoMj1n51CK-X4w8DdkEF6HO0H8X7VGrPaeuqsiP2YFenn_34qQzakQeTWKAjgnozQcBn8V2OfRuqhl7Qg.mp4?_nc_cat=101&_nc_sid=5e9851&_nc_ht=scontent-lga3-2.cdninstagram.com&_nc_ohc=4uxIp5kWx3UQ7kNvwEWBEB0&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MTc5NTc0MTMxMTkxMTAxMDQsImFzc2V0X2FnZV9kYXlzIjoxNjUsInZpX3VzZWNhc2VfaWQiOjEwMDk5LCJkdXJhdGlvbl9zIjo1MCwidXJsZ2VuX… [1054 chars total]",
      "shortcode": "DWzrfE2kaY8",
      "displayUrl": "https://scontent-lga3-2.cdninstagram.com/v/t51.71878-15/659518550_880748474975974_6325858974241787694_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=101&ig_cache_key=Mzg2OTYyNzc1NjM1NTYyNjU1NjE3OTU3NDEzMjYwMTEwMTA0.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjY0MC5zZHIudmlkZW9fbmZyYW1lX2NvdmVyX2ZyYW1lLkMzIn0%3D&_nc_ohc=uvfYfckrvqoQ7kNvwHGepOl&_nc_oc=AdrlxsZQxopx35ir4UJFoNOLMn10CTqO3sRFUIjFO9KhjZpTauRhaySd0ZRrcMX2KQY&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-lga3-2.cdninstagr… [615 chars total]"
    },
    "found": true
  },
  "source": {
    "id": "anonymous-badger",
    "kind": "anonymous",
    "name": "Badger",
    "artworkKey": "badger"
  },
  "costUsd": 0.0005,
  "provider": "AnyAPI",
  "replayed": false,
  "resultId": "98e9f157-f4f9-46b2-af7c-2a43eba46331"
}

コード例

$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。

Beta
curl -X POST 'https://toolswitch.dev/v1/tools/anyapi.instagram.post.detail' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"url":"https://www.instagram.com/reel/DWzrfE2kaY8/"}'

このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.0015/success です。サービス料を含みます。