Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Instagram Location Details (V1)

Docs API
https://api.sandbase.ai/v1/api/instagram/v1/location-info

Returns detailed metadata and profile information for a specified Instagram location using its unique identifier.

Prix
$0.001USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 0 facultatifs

Bac à sable

Entrée
Location ID
SortieExemple
Réponseoutputs · 568 B · 27 lignes
[
  {
    "data": {
      "attempts": "1000",
      "location_info": {
        "category": "Country/Region",
        "hours": {
          "status": ""
        },
        "ig_business": {
          "profile": null
        },
        "lat": -25.751409,
        "lng": 28.203527,
        "location_address": "",
        "location_city": "",
        "location_id": "703457703",
        "location_zip": "",
        "media_count": 77207,
        "name": "NewYork. America",
        "phone": "",
        "price_range": 0,
        "slug": "newyork-america"
      }
    }
  }
]

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'API

Instagram Location Details (V1) API

Returns metadata for one Instagram location, including its name, category, coordinates, and the number of posts tagged there. It needs a single location_id.

Use cases

  • Show the name and map position of a place that appears on an Instagram post.
  • Compare how many posts are tagged at different locations using media_count.
  • Check whether a location has address, phone, or business profile data before you use it.
  • Find the slug for a location to build a readable label in a report.

Request

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

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

Parameters

NameTypeRequiredDescription
location_idstringYesLocation ID

Example response

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

{
  "attempts": "30",
  "location_info": {
    "category": "Country/Region",
    "hours": {
      "status": ""
    },
    "ig_business": {
      "profile": null
    },
    "lat": -25.751409,
    "lng": 28.203527,
    "location_address": "",
    "location_city": "",
    "location_id": "703457703",
    "location_zip": "",
    "media_count": 78252,
    "name": "NewYork. America",
    "phone": ""
  }
}

Response fields

FieldMeaning
location_info.nameDisplay name of the location. It is the name users see when they tag the place.
location_info.location_idID of the location, returned as a string. It matches the location_id you sent.
location_info.slugURL-style name of the location, in lowercase with hyphens.
location_info.categoryType of place, for example Country/Region.
location_info.lat / location_info.lngLatitude and longitude of the location in decimal degrees.
location_info.media_countNumber of posts tagged at this location.
location_info.location_address / location_info.location_city / location_info.location_zipStreet address, city, and postal code. These can be empty strings when the location has no address data.
location_info.phoneContact phone number. It is an empty string when none is listed.
location_info.price_rangePrice range value for the location. It is 0 in this response.
location_info.ig_business.profileLinked Instagram business profile. It is null when the location has none.

Notes

  • Coordinates and name come from the location record. In the sample, the name is NewYork. America while the coordinates are at -25.751409, 28.203527, so check that they fit your use.
  • To get posts tagged at this place, call Instagram Location Posts (V1) with the same location ID.
  • To find location IDs by city, use Instagram City Locations. To find them by name, use Instagram Location Search.

Pricing

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

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Instagram$0.001 par appelJSON
Instagram$0.001 par appelJSON
Instagram$0.001 par appelJSON
Instagram$0.001 par appelJSON
Instagram$0.001 par appelJSON
Instagram$0.001 par appelJSON

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

Questions

FAQ

Comment utiliser l’API Instagram Location Details (V1) ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/instagram/v1/location-info avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Instagram Location Details (V1) ?

$0.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Instagram Location Details (V1) accepte-t-elle ?

Obligatoire : location_id (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Instagram Location Details (V1) ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Instagram ?

Non. Instagram Location Details (V1) fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Instagram séparément.