周辺バス停検索
API名:
概要:
緯度経度から周辺のバス停を検索します。
※本機能を利用するには別途契約が必要です。
情報元について:
バス停情報元:ジョルダン株式会社
このAPIが返却する上記情報は、情報元の提供規準に準拠します。
URI:
https://test.core.its-mo.com/zmaps/api/apicore/core/v1_0/jorudan/station_latlon
<API使用例>
https://test.core.its-mo.com/zmaps/api/apicore/core/v1_0/jorudan/station_latlon?if_clientid=JSZxxxxxxxxxx|xxxxx&if_auth_type=ip&latlon=35.677439,139.771631
リクエストパラメータ
| パラメータ | 必須 | デフォルト値 | 説明 | ||||
|---|---|---|---|---|---|---|---|
| latlon | ○ | - |
緯度経度 緯度経度を指定します。 |
||||
| radius | 500 |
検索範囲指定 検索半径を指定します。(単位:m) 指定できる半径は 0~20000 です。 |
|||||
| datatype | bus |
検索データ種別指定
|
|||||
| datum | TOKYO |
測地系 入出力緯度経度の測地系を指定します。 |
|||||
| limit | 0,100 |
検索結果取得件数 検索結果取得件数を指定します。 取得開始位置の指定範囲は 0~10000 です。 10001 以上の指定をした場合は10000 指定と同様の結果となります。 取得件数の指定範囲は 1~1000 です。 1001以上の指定をした場合は1000指定と同様の結果となります。 |
|||||
| llunit | dec |
緯度経度形式 緯度経度形式を指定します。 |
出力データ
出力フォーマット
{"status": {"code": "0000",
"text": "OK"},
"info": {"hit": 2},
"item": [{"text": "上野駅入谷口",
"code": null,
"point": {"lat": 35.710916,
"lon": 139.781583},
"kana": "うえのえきいりやぐち",
"datatype": "bus",
"line": [],
"corp": ["高速バス"],
"distance": 61}
...]}
| キー名 | データ型 | 説明 | ||||||
|---|---|---|---|---|---|---|---|---|
| status | object | ステータス情報が入ります。 | ||||||
| code | string |
ステータスコードが入ります。
|
||||||
| text | string | ステータス内容に関するテキスト情報が入ります。 | ||||||
| info | object | 検索結果の情報が入ります | ||||||
| hit | number | 入力された条件に対してヒットした件数が入ります | ||||||
| item | object | 検索結果の情報が入ります。 | ||||||
| text | string | バス停名称が入ります。 | ||||||
| code | string |
常にnullが入ります。 ※本項目は将来拡張予定です。 |
||||||
| point | string | 代表点緯度経度が入ります。 | ||||||
| kana | string | バス停かな名称が入ります。 | ||||||
| datatype | string |
データ種別を表す文字列が入ります。 "bus" が入ります。 ※本項目は将来拡張予定です。 |
||||||
| line | array |
常に空配列が入ります。 ※本項目は将来拡張予定です。 |
||||||
| corp | array | バス会社名が入ります。 | ||||||
| distance | number |
検索地点と代表点の距離が入ります。 単位はメートルです。 |
||||||
出力例
[バス停検索の出力例]
https://test.core.its-mo.com/zmaps/api/apicore/core/v1_0/jorudan/station_latlon?
if_clientid=JSZxxxxxxxxxx|xxxxx&if_auth_type=ip&latlon=35.710351,139.781674&radius=200&datatype=bus
{"status":{"code":"0000",
"text":"OK"},
"info":{"hit":2},
"item":[{"text":"上野駅入谷口",
"code":null,
"point":{"lat":35.7109167,
"lon":139.7815833},
"kana": "うえのえきいりやぐち",
"datatype":"bus",
"line":[],
"corp":["高速バス"],
"distance":61},
{"text":"上野駅",
"code":null,
"point":{"lat":35.7086389,
"lon":139.7813333},
"kana":null,
"datatype":"bus",
"line":[],
"corp":["高速バス"],
"distance":187}]}
[検索結果が0件の例] https://test.core.its-mo.com/zmaps/api/apicore/core/v1_0/jorudan/station_latlon?
if_clientid=JSZxxxxxxxxxx|xxxxx&if_auth_type=ip&latlon=00.677439,139.771631
{"status":{"code":"0000",
"text":"OK"},
"info":{"hit":0},
"item":[]}