Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Instagram Location Search

APIドキュメント
https://api.sandbase.ai/v1/api/instagram/v2/search-locations

Searches Instagram locations matching a specified query term. Returns a list of place candidates with their IDs, names, and Facebook place identifiers.

料金
$0.002USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 0 件
毎日 100 回まで無料1日あたり最初の 100 回は無料です(組織内で共有)· 00:00 UTC にリセットされます。それ以降は従量課金です。

プレイグラウンド

入力
Search keyword (location name, city, etc.)
出力例
レスポンスoutputs · 1.3 KB · 45 行
[
  {
    "data": {
      "data": {
        "count": 30,
        "items": [
          {
            "address": "",
            "city": "",
            "external_source": "facebook_places",
            "facebook_places_id": 1619558008055426,
            "id": "1619558008055426",
            "latitude": 48.85907505,
            "longitude": 2.30746037,
            "name": "Paris, France",
            "short_name": "Paris"
          },
          {
            "address": "3655 Las Vegas Blvd S",
            "city": "",
            "external_source": "facebook_places",
            "facebook_places_id": 203320451997,
            "id": "203320451997",
            "latitude": 36.112495391046,
            "longitude": -115.17049104022,
            "name": "Paris Las Vegas Hotel & Casino",
            "short_name": "Paris Las Vegas Hotel & Casino"
          },
          {
            "address": "",
            "city": "",
            "external_source": "facebook_places",
            "facebook_places_id": 124963102002,
            "id": "5870982",
            "latitude": 48.8559907,
            "longitude": 2.3529373,
            "name": "Paris, France",
            "short_name": "Paris"
          },
          "… 27 more items in the full response"
        ]
      }
    }
  }
]

例

例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。

API README

Instagram Location Search API

Returns a list of Instagram locations that match a search term. You send a keyword such as a place name or city, and each result includes an ID, name, coordinates, and a Facebook place ID.

Use cases

  • Find the Instagram location ID for a landmark, hotel, or city before pulling posts tagged there.
  • Build a place autocomplete that maps typed text to Instagram location entries.
  • Plot candidate places on a map using the returned latitude and longitude.
  • Tell apart places with similar names by comparing their address and city values.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/search-locations" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "paris"}'

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

Parameters

NameTypeRequiredDescription
keywordstringYesSearch keyword (location name, city, etc.)

Example response

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

{
  "data": {
    "count": 30,
    "items": [
      {
        "address": "3655 Las Vegas Blvd S",
        "city": "",
        "external_source": "facebook_places",
        "facebook_places_id": 203320451997,
        "id": "203320451997",
        "latitude": 36.112384416244,
        "longitude": -115.17106896803,
        "name": "Paris Las Vegas Hotel & Casino",
        "short_name": "Paris Las Vegas Hotel & Casino"
      }
    ]
  }
}

Response fields

FieldMeaning
data.countNumber of location results returned for the keyword.
data.items[].idInstagram location ID as a string. Use it as the location identifier in other location calls.
data.items[].name / data.items[].short_nameDisplay name of the place. In the sample, both fields hold the same value.
data.items[].facebook_places_idNumeric Facebook place identifier for the location. It matches id for some results and differs for others.
data.items[].latitude / data.items[].longitudeCoordinates of the place in decimal degrees.
data.items[].addressStreet address of the place. It is an empty string when none is available.
data.items[].cityCity label for the place, such as Paris, France. It is an empty string when none is available.
data.items[].external_sourceSource label for the place record. The sample shows facebook_places.

Notes

  • The keyword parameter is the only input. It takes a location name or city, for example paris.
  • Results can include places that only contain the keyword in the name, such as a hotel in Las Vegas, so check latitude, longitude, and city before you pick one.
  • Use id as a string. Do not use facebook_places_id in its place, because the two values can differ.
  • To find locations near a point instead of by name, use Instagram Location Search by Coordinates (V2). To get posts for a chosen place, use Instagram Location Posts (V2).

Pricing

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

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
Instagram$0.002 / 回JSON
Instagram$0.002 / 回JSON
Instagram$0.002 / 回JSON
Instagram$0.002 / 回JSON
Instagram$0.002 / 回JSON
Instagram$0.002 / 回JSON

ガイド:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

質問

FAQ

Instagram Location Search API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/instagram/v2/search-locations に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Instagram Location Search API の料金はいくらですか?

1回あたり $0.002。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。

Instagram Location Search API はどのパラメータを受け付けますか?

必須: keyword (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Instagram Location Search API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

Instagram の開発者アカウントまたは API key は必要ですか?

いいえ。Instagram Location Search は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Instagram の API アクセスを別途申請する必要はありません。