Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Instagram Location Posts (V2)

API-Dokumentation
https://api.sandbase.ai/v1/api/instagram/v2/location-posts

Returns public Instagram posts tagged at a designated location. Requires a location ID and supports pagination tokens for browsing subsequent results.

Preis
$0.002USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 1 optional
100 kostenlose Aufrufe / TagDie ersten 100 Aufrufe pro Tag kostenlos (organisationsweit geteilt) · Zurücksetzung um 00:00 UTC. Danach Abrechnung pro Aufruf.

Playground

Eingabe
Location ID
Pagination token from previous response
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

Instagram Location Posts (V2) API

Returns public Instagram posts tagged at one location. You send a location_id and get a page of posts, a total count, and a pagination_token for the next page.

Use cases

  • Collect recent public posts from a landmark, venue or neighborhood to see what visitors share.
  • Count how many posts are tagged at a place using data.count.
  • Page through a location's posts to build a media feed for a travel or local-guide site.
  • Pull post codes from a location to open each post in a related post-detail call.

Request

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

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

Parameters

NameTypeRequiredDescription
location_idstringYesLocation ID
pagination_tokenstringNoPagination token from previous response

Example response

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

{
  "data": {
    "count": 63,
    "items": [
      {
        "are_remixes_crosspostable": true,
        "boost_unavailable_identifier": null,
        "boost_unavailable_reason": null,
        "boost_unavailable_reason_v2": null,
        "can_reshare": true,
        "can_save": true,
        "caption": null,
        "caption_is_edited": false,
        "clips_metadata": {
          "achievements_info": {
            "num_earned_achievements": null,
            "show_achievements": false
          },
          "additional_audio_info": {
            "additional_audio_username": null,
            "audio_reattribution_info": {
              "should_allow_restore": false
            }
          },
          "asset_recommendation_info": null,
          "audio_canonical_id": "18452354581120915",
          "audio_ranking_info": {
            "best_audio_cluster_id": "1162699206086923"
          },
          "audio_type": "original_sounds",
          "basel_template_info_for_ig_app": {
            "is_basel_template": null,
            "original_template_media_id": null,
            "should_show_reuse_setting_for_owner": false,
            "use_template_deeplink": null
          },
          "branded_content_tag_info": {
            "can_add_tag": false
          }
        },
        "clips_tab_pinned_user_ids": [],
        "coauthor_producer_can_see_organic_insights": false,
        "coauthor_producers": []
      }
    ]
  },
  "pagination_token": "HE1lBBsp…"
}

Response fields

FieldMeaning
data.countNumber of posts reported for this location.
data.items[]One post tagged at the location. Posts can be single media, reels (with clips_metadata) or carousels (with carousel_media).
data.items[].codeShort post code, such as DfRKBtKMS51. Use it to build the post URL or to look the post up in another API.
data.items[].fbidNumeric ID string for the post.
data.items[].caption.created_at / data.items[].caption.created_at_utcUnix timestamp in seconds for when the caption was created. In this response both fields hold the same value. caption is null when the post has no caption.
data.items[].comment_countNumber of comments on the post.
data.items[].carousel_media_countNumber of items in a carousel post. Only carousel posts include it. carousel_media may list fewer items than this count.
data.items[].carousel_media[].idID of one item inside a carousel post.
data.items[].clips_metadata.audio_typeType of audio on a reel, such as original_sounds or licensed_music.
pagination_tokenToken for the next page of results. Send it back as pagination_token.

Notes

Pricing

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

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Instagram$0.002 pro AufrufJSON
Instagram$0.002 pro AufrufJSON
Instagram$0.002 pro AufrufJSON
Instagram$0.002 pro AufrufJSON
Instagram$0.002 pro AufrufJSON
Instagram$0.002 pro AufrufJSON

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

Fragen

FAQ

Wie verwende ich die Instagram Location Posts (V2) API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/instagram/v2/location-posts mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Instagram Location Posts (V2) API?

$0.002 pro Aufruf. Jede Organisation erhält 100 kostenlose Aufrufe pro UTC-Tag, gemeinsam über alle berechtigten SandBase APIs einschließlich dieser hier; danach wird jeder Aufruf zu diesem Preis von Ihrem SandBase-Guthaben abgerechnet. Es gibt kein Abo.

Welche Parameter akzeptiert die Instagram Location Posts (V2) API?

Erforderlich: location_id (string). Optional: pagination_token (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Instagram Location Posts (V2) API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Instagram-Entwicklerkonto oder einen API-Schlüssel?

Nein. Instagram Location Posts (V2) läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Instagram API beantragen.