Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Instagram Location Posts (V3)

Documentazione API
https://api.sandbase.ai/v1/api/instagram/v3/location-posts

Returns Instagram posts associated with a specific location. Supports sorting by ranked or recent media alongside pagination controls.

Prezzo
$0.008USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 4 opzionali

Playground

Input
Location ID (numeric)
Pagination cursor from previous response `page_info.end_cursor`
150
Posts per page (default 12, max 50) Intervallo: da 1 a 50.
Posts per page (default 12)
Post sort order
OutputEsempio
Rispostaoutputs · 9.7 KB · 159 righe
[
  {
    "data": {
      "_rid": "3ef1545b3f3dd",
      "count": 12,
      "data": {
        "location": {
          "edge_location_to_media": {
            "count": 12,
            "edges": [
              {
                "node": {
                  "caption_text": ".",
                  "code": "DWyE80lEp7z",
                  "comment_count": 0,
                  "id": "3869176801675878131_1425162018",
                  "is_video": false,
                  "like_count": 1,
                  "media_type": 1,
                  "owner": {
                    "full_name": "창원여드름/피부염증흉터/피부루틴 맞춤설계 다르아크네대표",
                    "is_verified": false,
                    "pk": "1425162018",
                    "username": "drr.acne_"
                  },
                  "pk": "3869176801675878131",
                  "shortcode": "DWyE80lEp7z",
                  "taken_at": null,
                  "thumbnail_url": "https://scontent-atl3-2.cdninstagram.com/v/t51.82787-15/660065958_18570801472010019_6499383383343631201_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=105&ig_cache_key=Mzg2OTE3NjgwMTY3NTg3ODEzMQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=pQz1yQatxScQ7kNvwEWckOf&_nc_oc=Adpnu_mozuR6eQVUvPBad6BTV2fsFKEi5RXforHpoGymO1_bFGu5kSJi2O7_GYqFPq4&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&se=8&_nc_ht=scontent-atl3-2.cdninstagram.com&_nc_gid=zWXiNmNM82pDRfV0yhfE1Q&_nc_ss=7a3ba&oh=00_AQPDUrP0c7ZOwAtSc84ibbLorlrNzwwWSigSEj6Sx_kBZg&oe=6AC1859C",
                  "video_url": null,
                  "view_count": 0
                }
              },
              {
                "node": {
                  "caption_text": "청소년여드름\n\n[자극은 최소화, 효과는 극대화!]\n압출 당일 자극 최소화는 기본!\n\n다르아크네에서는 단순한 압출로 끝나지 않아요.\n피부 자극을 줄이면서도, 붉은기•트러블\n흔적을 빠르게 진정시키는 전문 재생 관리까지 꼼꼼하게 진행합니다!\n\n 케어력 한 번의 관리로도 달라지는 피부톤과 결 예민해진 피부, \n저희가 책임지고 진정시켜 드릴게요.\n그 후 홈케어 관리는 필수, 맞춤홈케어 다르아크네에서시작하세요!\n\n#압출후관리#창원피부관리#여드름흉터#창원학생여드름#창원모공흉터",
                  "code": "DZlrTTlNgIr",
                  "comment_count": 0,
                  "id": "3919729493391311403_1425162018",
                  "is_video": false,
                  "like_count": 1,
                  "media_type": 1,
                  "owner": {
                    "full_name": "창원여드름/피부염증흉터/피부루틴 맞춤설계 다르아크네대표",
                    "is_verified": false,
                    "pk": "1425162018",
                    "username": "drr.acne_"
                  },
                  "pk": "3919729493391311403",
                  "shortcode": "DZlrTTlNgIr",
                  "taken_at": null,
                  "thumbnail_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.82787-15/722665770_18590062972010019_6561696673743076931_n.jpg?stp=dst-jpegr_e35_p1080x1080_tt6&_nc_cat=106&ig_cache_key=MzkxOTcyOTQ5MzM5MTMxMTQwMw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMzMyOS5oZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=VxGLuvkgvCUQ7kNvwFfoKEC&_nc_oc=AdpRTqA9GXhsLpYDw-9lS79xpohNmcSvE8fV9r51tM3SA4xnwepyS8rYnjlmyopTXZ4&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_gid=zWXiNmNM82pDRfV0yhfE1Q&_nc_ss=7a3ba&oh=00_AQNfTdZtHGjE2YfmpmmfO-_lmYTILwzTQSRJbVOIgYYQLQ&oe=6AC18BB3",
                  "video_url": null,
                  "view_count": 0
                }
              },
              {
                "node": {
                  "caption_text": "다르아크네는단순히 피지를 짜내는 압출이 아닌, \n피부 구조와 모공 방향, 염증 상태를 기반으로 한 전문 \n압출 기술로 피부 손상 없이 피지•트러블 씨앗을 제거합니다.\n\n모든 관리는 피부 진단 압출 단계 〉 진정•장벽 강화 케어로 \n체계적으로 진행되며,\n피부 상태에 따라 항염•재생 솔루션을 맞춤 적용합니다.\n\n눈에 보이는 즉각적인 변화뿐만 아니라, \n피부 본연의 회복력을 높이는 것이 르뮤즈의 목표입니다.\n여드름, 민감성, 재발성 트러블 등 쉽게 해결되지 않았던 \n피부 고민들을 섬세한 1:1 맞춤 관리로 케어해드립니다.\n\n✓ 여드름/트러블 집중 케어\n✓ 진정•보습 관리\n✓ 피부 장벽 강화 프로그램\n\n당신의 피부는 다시 빛날 수 있습니다.\n다르아크네에서  맑고 건강한 피부 여정을 시작하세요.\n\n#다르아크네#창원피부관리#창원여드름전문#창원여드름압출#창원흉터염증",
                  "code": "DVGCEtUEo_f",
                  "comment_count": 0,
                  "id": "3838764852005998559_1425162018",
                  "is_video": false,
                  "like_count": 1,
                  "media_type": 1,
                  "owner": {
                    "full_name": "창원여드름/피부염증흉터/피부루틴 맞춤설계 다르아크네대표",
                    "is_verified": false,
                    "pk": "1425162018",
                    "username": "drr.acne_"
                  },
                  "pk": "3838764852005998559",
                  "shortcode": "DVGCEtUEo_f",
                  "taken_at": null,
                  "thumbnail_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.82787-15/638288888_18560452984010019_8258178301607289553_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=110&ig_cache_key=MzgzODc2NDg1MjAwNTk5ODU1OQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTM1MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=brjgBYuzFkUQ7kNvwHCXLDp&_nc_oc=Adrv6upOjR6y-SEAoz3BJ2yvaCKFk5zG7sEPgPnZbeg_JvrnMH9WbZDWbwLPo5Lz3aY&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&se=8&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_gid=zWXiNmNM82pDRfV0yhfE1Q&_nc_ss=7a3ba&oh=00_AQO5HRS31XksqSyu7OW97-q_KjDUKc2jkMqro7xR5UlLPA&oe=6AC19402",
                  "video_url": null,
                  "view_count": 0
                }
              },
              "… 9 more items in the full response"
            ],
            "page_info": {
              "end_cursor": null,
              "has_next_page": false
            }
          }
        }
      },
      "items": [
        {
          "caption_text": ".",
          "code": "DWyE80lEp7z",
          "comment_count": 0,
          "id": "3869176801675878131_1425162018",
          "is_video": false,
          "like_count": 1,
          "media_type": 1,
          "owner": {
            "full_name": "창원여드름/피부염증흉터/피부루틴 맞춤설계 다르아크네대표",
            "is_verified": false,
            "pk": "1425162018",
            "username": "drr.acne_"
          },
          "pk": "3869176801675878131",
          "shortcode": "DWyE80lEp7z",
          "taken_at": null,
          "thumbnail_url": "https://scontent-atl3-2.cdninstagram.com/v/t51.82787-15/660065958_18570801472010019_6499383383343631201_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=105&ig_cache_key=Mzg2OTE3NjgwMTY3NTg3ODEzMQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=pQz1yQatxScQ7kNvwEWckOf&_nc_oc=Adpnu_mozuR6eQVUvPBad6BTV2fsFKEi5RXforHpoGymO1_bFGu5kSJi2O7_GYqFPq4&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&se=8&_nc_ht=scontent-atl3-2.cdninstagram.com&_nc_gid=zWXiNmNM82pDRfV0yhfE1Q&_nc_ss=7a3ba&oh=00_AQPDUrP0c7ZOwAtSc84ibbLorlrNzwwWSigSEj6Sx_kBZg&oe=6AC1859C",
          "video_url": null,
          "view_count": 0
        },
        {
          "caption_text": "청소년여드름\n\n[자극은 최소화, 효과는 극대화!]\n압출 당일 자극 최소화는 기본!\n\n다르아크네에서는 단순한 압출로 끝나지 않아요.\n피부 자극을 줄이면서도, 붉은기•트러블\n흔적을 빠르게 진정시키는 전문 재생 관리까지 꼼꼼하게 진행합니다!\n\n 케어력 한 번의 관리로도 달라지는 피부톤과 결 예민해진 피부, \n저희가 책임지고 진정시켜 드릴게요.\n그 후 홈케어 관리는 필수, 맞춤홈케어 다르아크네에서시작하세요!\n\n#압출후관리#창원피부관리#여드름흉터#창원학생여드름#창원모공흉터",
          "code": "DZlrTTlNgIr",
          "comment_count": 0,
          "id": "3919729493391311403_1425162018",
          "is_video": false,
          "like_count": 1,
          "media_type": 1,
          "owner": {
            "full_name": "창원여드름/피부염증흉터/피부루틴 맞춤설계 다르아크네대표",
            "is_verified": false,
            "pk": "1425162018",
            "username": "drr.acne_"
          },
          "pk": "3919729493391311403",
          "shortcode": "DZlrTTlNgIr",
          "taken_at": null,
          "thumbnail_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.82787-15/722665770_18590062972010019_6561696673743076931_n.jpg?stp=dst-jpegr_e35_p1080x1080_tt6&_nc_cat=106&ig_cache_key=MzkxOTcyOTQ5MzM5MTMxMTQwMw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMzMyOS5oZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=VxGLuvkgvCUQ7kNvwFfoKEC&_nc_oc=AdpRTqA9GXhsLpYDw-9lS79xpohNmcSvE8fV9r51tM3SA4xnwepyS8rYnjlmyopTXZ4&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_gid=zWXiNmNM82pDRfV0yhfE1Q&_nc_ss=7a3ba&oh=00_AQNfTdZtHGjE2YfmpmmfO-_lmYTILwzTQSRJbVOIgYYQLQ&oe=6AC18BB3",
          "video_url": null,
          "view_count": 0
        },
        {
          "caption_text": "다르아크네는단순히 피지를 짜내는 압출이 아닌, \n피부 구조와 모공 방향, 염증 상태를 기반으로 한 전문 \n압출 기술로 피부 손상 없이 피지•트러블 씨앗을 제거합니다.\n\n모든 관리는 피부 진단 압출 단계 〉 진정•장벽 강화 케어로 \n체계적으로 진행되며,\n피부 상태에 따라 항염•재생 솔루션을 맞춤 적용합니다.\n\n눈에 보이는 즉각적인 변화뿐만 아니라, \n피부 본연의 회복력을 높이는 것이 르뮤즈의 목표입니다.\n여드름, 민감성, 재발성 트러블 등 쉽게 해결되지 않았던 \n피부 고민들을 섬세한 1:1 맞춤 관리로 케어해드립니다.\n\n✓ 여드름/트러블 집중 케어\n✓ 진정•보습 관리\n✓ 피부 장벽 강화 프로그램\n\n당신의 피부는 다시 빛날 수 있습니다.\n다르아크네에서  맑고 건강한 피부 여정을 시작하세요.\n\n#다르아크네#창원피부관리#창원여드름전문#창원여드름압출#창원흉터염증",
          "code": "DVGCEtUEo_f",
          "comment_count": 0,
          "id": "3838764852005998559_1425162018",
          "is_video": false,
          "like_count": 1,
          "media_type": 1,
          "owner": {
            "full_name": "창원여드름/피부염증흉터/피부루틴 맞춤설계 다르아크네대표",
            "is_verified": false,
            "pk": "1425162018",
            "username": "drr.acne_"
          },
          "pk": "3838764852005998559",
          "shortcode": "DVGCEtUEo_f",
          "taken_at": null,
          "thumbnail_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.82787-15/638288888_18560452984010019_8258178301607289553_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=110&ig_cache_key=MzgzODc2NDg1MjAwNTk5ODU1OQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTM1MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=brjgBYuzFkUQ7kNvwHCXLDp&_nc_oc=Adrv6upOjR6y-SEAoz3BJ2yvaCKFk5zG7sEPgPnZbeg_JvrnMH9WbZDWbwLPo5Lz3aY&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&se=8&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_gid=zWXiNmNM82pDRfV0yhfE1Q&_nc_ss=7a3ba&oh=00_AQO5HRS31XksqSyu7OW97-q_KjDUKc2jkMqro7xR5UlLPA&oe=6AC19402",
          "video_url": null,
          "view_count": 0
        },
        "… 9 more items in the full response"
      ],
      "next_max_id": null,
      "tab": "ranked"
    }
  }
]

Esempi

Seleziona un esempio per caricare i suoi input e il risultato nel playground.

README API

Instagram Location Posts (V3) API

Returns Instagram posts tagged at one location. It needs a numeric location_id and returns caption, like and comment counts, media type and owner details for each post. You can pick the ranked or recent tab and page through results.

Use cases

  • Collect public posts tagged at a restaurant, clinic or shop to see what people post about it.
  • Find the accounts that post most often at a venue by reading owner.username across pages.
  • Compare ranked and recent posts for a place to see which content gets the most likes.
  • Pull captions and hashtags from a local area to study how businesses and visitors describe a place.

Request

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

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

Parameters

NameTypeRequiredDescription
location_idstringYesLocation ID (numeric)
afterstringNoPagination cursor from previous response page_info.end_cursor
firstintegerNoPosts per page (default 12, max 50)
page_size_overrideintegerNoPosts per page (default 12)
tabstringNoPost sort order

Example response

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

{
  "_rid": "3432617742581",
  "count": 12,
  "data": {
    "location": {
      "edge_location_to_media": {
        "count": 12,
        "edges": [
          {
            "node": {
              "caption_text": "청소년여드름\n\n[자극은 최소화, 효과는 극대화!]\n압출 당일 자극 최소화는 기본!\n\n다르아크네에서는 단순한 압출로 끝나지 않아요.\n피부 자극을 …",
              "code": "DZlrTTlNgIr",
              "comment_count": 0,
              "id": "3919729493391311403_1425162018",
              "is_video": false,
              "like_count": 1,
              "media_type": 1,
              "owner": {
                "full_name": "창원여드름/피부염증흉터/피부루틴 맞춤설계 다르아크네대표",
                "is_verified": false,
                "pk": "1425162018",
                "username": "drr.acne_"
              }
            }
          }
        ],
        "page_info": {
          "end_cursor": null,
          "has_next_page": false
        }
      }
    }
  },
  "items": [
    {
      "caption_text": "청소년여드름\n\n[자극은 최소화, 효과는 극대화!]\n압출 당일 자극 최소화는 기본!\n\n다르아크네에서는 단순한 압출로 끝나지 않아요.\n피부 자극을 …",
      "code": "DZlrTTlNgIr",
      "comment_count": 0,
      "id": "3919729493391311403_1425162018",
      "is_video": false,
      "like_count": 1,
      "media_type": 1,
      "owner": {
        "full_name": "창원여드름/피부염증흉터/피부루틴 맞춤설계 다르아크네대표",
        "is_verified": false,
        "pk": "1425162018",
        "username": "drr.acne_"
      },
      "pk": "3919729493391311403",
      "shortcode": "DZlrTTlNgIr",
      "taken_at": null,
      "thumbnail_url": "https://scontent-lga3-3.cdninstagram.com/v/t51.82787-15/722665770_18590062972010…"
    }
  ],
  "next_max_id": null,
  "tab": "ranked"
}

Response fields

FieldMeaning
items[]Flat list of posts on this page. It repeats the posts in data.location.edge_location_to_media.edges[].node, so you can read either one.
items[].caption_textCaption text of the post. Long captions may be cut, and hashtags appear inside the text.
items[].shortcode / items[].codeShort code of the post, as used in Instagram post URLs. Pass it to a post details API.
items[].id / items[].pkid joins the post ID and the owner ID with an underscore. pk is the post ID alone.
items[].like_count / items[].comment_count / items[].view_countEngagement counts for the post.
items[].media_type / items[].is_videomedia_type is a numeric code for the post format. In this response 1 is a single image post and 8 is a post with no thumbnail. is_video is a true or false flag.
items[].owner.username / items[].owner.full_name / items[].owner.pk / items[].owner.is_verifiedAccount that published the post: handle, display name, numeric user ID and verified flag.
items[].thumbnail_url / items[].video_urlLink to a preview image and to a video file. Either can be null.
data.location.edge_location_to_media.page_infoPagination state. has_next_page tells you if more posts exist, and end_cursor holds the cursor for the next page.
tabSort order applied to this response. This request returned ranked.

Notes

  • Pass page_info.end_cursor from the response as after to get the next page. When has_next_page is false, end_cursor is null and there are no more pages.
  • Use first to set posts per page (1 to 50, default 12). Set tab to ranked or recent to change the order.
  • taken_at was null in this response, so do not rely on it for post dates.
  • To read one post in full, call Instagram Post Info by Shortcode with the shortcode. Use Instagram Location Details (V3) for the place itself.

Pricing

$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Instagram$0.008 per chiamataJSON
Instagram$0.008 per chiamataJSON
Instagram$0.008 per chiamataJSON
Instagram$0.008 per chiamataJSON
Instagram$0.002 per chiamataJSON
Instagram$0.008 per chiamataJSON

Guide:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API Instagram Location Posts (V3)?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/instagram/v3/location-posts con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Instagram Location Posts (V3)?

$0.008 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Instagram Location Posts (V3)?

Richiesti: location_id (string). Facoltativi: after (string), first (integer), page_size_override (integer) e tab (uno tra ranked, recent). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Instagram Location Posts (V3)?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Instagram?

No. Instagram Location Posts (V3) funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Instagram.