平均待ち時間探索
平均待ち時間による探索のみの経路探索です。
GET /v1/{format}/search/course/plain
parameters
※ Requiredの「△」は、特定の条件においてそのパラメータが必須になることを示します。詳しくはパラメータのDescriptionを参照してください。
Name | Type | Required | Description |
---|---|---|---|
format | string | ◯ | レスポンスのデータ形式の指定。必須 指定できる値: - xml: xml形式のデータ - json: json形式のデータ ※クエリパラメータではなくパスに値を指定します。 |
key | string | ◯ | アクセスキー。必須 |
from | string | ◯ | 出発駅。駅コード、駅の名称 、座標情報、住所情報または 地点データ を指定できます。必須 |
to | string | ◯ | 到着駅。駅コード、駅の名称 、座標情報、住所情報または 地点データ を指定できます。必須 |
via | string | --- | 経由駅。駅コード、駅の名称、座標情報、または住所情報を指定できます。座標情報を指定した場合は座標から、住所情報を指定した場合は住所から、最も近い駅を指定したものとみなします。複数指定不可。省略可。省略時は指定なしとなります。 |
date | int | --- | 探索日付。省略可 Format: YYYYMMDD Default: 現在日付 |
plane | string | --- | 飛行機。省略可 指定できる値: - true: 利用する - false: 利用しない Default: true |
shinkansen | string | --- | 新幹線(のぞみ含む)。省略可 指定できる値: - true: 利用する - false: 利用しない Default: true |
limitedExpress | string | --- | 特急。省略可 指定できる値: - true: 利用する - false: 利用しない Default: true |
bus | string | --- | バス(路線バス・高速バス)。省略可 指定できる値: - true: 利用する - false: 利用しない Default: true |
gcs | string | --- | リクエストやレスポンスに座標が含まれる場合、座標の測地系を指定することができます。また、リクエストパラメータの座標情報はgcsパラメータとは別の測地系を個別に指定可能です。省略可 指定できる値: - tokyo: 日本測地系 - wgs84: 世界測地系 Default: tokyo |
response
経路探索と同等
example
GET /v1/xml/search/course/plain?key=アクセスキーを入力してください&from=25077&to=29090
<?xml version="1.0" encoding="UTF-8"?>
<ResultSet apiVersion="1.27.0.0" engineVersion="202103_04a">
<Course searchType="plain" dataType="plain">
<Route timeOther="17" timeOnBoard="64" exhaustCO2="3884" index="1" exhaustCO2atPassengerCar="27382" distance="1942" timeWalk="0" transferCount="1">
<Point index="1">
<Station code="25077">
<Name>名古屋</Name>
<Type>train</Type>
<Yomi>なごや</Yomi>
</Station>
<Prefecture code="23">
<Name>愛知県</Name>
</Prefecture>
<GeoPoint longi="136.53.8.0" lati="35.10.3.0" longi_d="136.885556" gcs="tokyo" lati_d="35.1675" />
</Point>
<Line direction="Down" stopStationCount="1" teiki3Index="1" chargeIndex="2" timeOnBoard="49" exhaustCO2="3732" fareIndex="1" index="1" exhaustCO2atPassengerCar="26310" distance="1866" teiki1Index="1">
<Name>JR新幹線のぞみ</Name>
<Type detail="shinkansen">train</Type>
<ArrivalState>
<Type>normal</Type>
<Datetime operation="today">2021-03-11</Datetime>
</ArrivalState>
<Destination />
<TypicalName>JR新幹線のぞみ</TypicalName>
<TimeReliability>none</TimeReliability>
<DepartureState>
<Type>normal</Type>
<Datetime operation="today">2021-03-11</Datetime>
</DepartureState>
<Color>051102255</Color>
</Line>
<Point index="2">
<Station code="25978">
<Name>新大阪</Name>
<Type>train</Type>
<Yomi>しんおおさか</Yomi>
</Station>
<Prefecture code="27">
<Name>大阪府</Name>
</Prefecture>
<GeoPoint longi="135.30.10.0" lati="34.43.48.0" longi_d="135.502778" gcs="tokyo" lati_d="34.73" />
</Point>
<Line direction="Down" stopStationCount="6" teiki3Index="2" teiki6Index="1" timeOnBoard="15" exhaustCO2="152" fareIndex="2" index="2" exhaustCO2atPassengerCar="1071" distance="76" teiki1Index="2">
<Name>OsakaMetro御堂筋線</Name>
<Type>train</Type>
<ArrivalState>
<Type>normal</Type>
<Datetime operation="today">2021-03-11</Datetime>
</ArrivalState>
<Destination />
<TypicalName>OsakaMetro御堂筋線</TypicalName>
<TimeReliability>none</TimeReliability>
<DepartureState>
<Type>normal</Type>
<Datetime operation="today">2021-03-11</Datetime>
</DepartureState>
<LineSymbol code="226">
<Name>M</Name>
</LineSymbol>
<Color>255000012</Color>
</Line>
<Point index="3">
<Station code="29090">
<Name>なんば</Name>
<Type>train</Type>
<Yomi>なんば</Yomi>
</Station>
<Prefecture code="27">
<Name>大阪府</Name>
</Prefecture>
<GeoPoint longi="135.30.6.0" lati="34.39.47.0" longi_d="135.501667" gcs="tokyo" lati_d="34.663056" />
</Point>
</Route>
<Price kind="ChargeSummary">
<Oneway>2530</Oneway>
<Round>5060</Round>
</Price>
<Price fareRevisionStatus="none" toLineIndex="1" fromLineIndex="1" kind="Charge" index="1" selected="false">
<Name>指定席</Name>
<Type>Reserved</Type>
<Oneway>3270</Oneway>
<RevisionStatus>latest</RevisionStatus>
<Round>6540</Round>
<Rate area="Main">Regular</Rate>
</Price>
<Price fareRevisionStatus="none" toLineIndex="1" fromLineIndex="1" kind="Charge" index="2" selected="true">
<Name>自由席</Name>
<Type>Free</Type>
<Oneway>2530</Oneway>
<RevisionStatus>latest</RevisionStatus>
<Round>5060</Round>
</Price>
<Price fareRevisionStatus="none" toLineIndex="1" fromLineIndex="1" kind="Charge" index="3" selected="false">
<Name>グリーン</Name>
<Type>Green</Type>
<Oneway>5540</Oneway>
<RevisionStatus>latest</RevisionStatus>
<Round>11080</Round>
</Price>
<Price fareRevisionStatus="none" toLineIndex="1" fromLineIndex="1" kind="Fare" index="1" selected="true">
<Type>Fare</Type>
<Oneway>3410</Oneway>
<RevisionStatus>latest</RevisionStatus>
<Round>6820</Round>
</Price>
<Price fareRevisionStatus="none" toLineIndex="2" fromLineIndex="2" kind="Fare" index="2" selected="true">
<Type>Fare</Type>
<Oneway>280</Oneway>
<RevisionStatus>latest</RevisionStatus>
<Round>560</Round>
</Price>
<Price kind="FareSummary">
<Oneway>3690</Oneway>
<Round>7380</Round>
</Price>
<Price kind="Teiki1Summary">
<Oneway>149810</Oneway>
</Price>
<Price fareRevisionStatus="none" toLineIndex="1" fromLineIndex="1" kind="Teiki1" index="1" selected="true">
<Type>Teiki1</Type>
<Oneway>139160</Oneway>
<RevisionStatus>latest</RevisionStatus>
</Price>
<Price fareRevisionStatus="none" toLineIndex="2" fromLineIndex="2" kind="Teiki1" index="2" selected="true">
<Type>Teiki1</Type>
<Oneway>10650</Oneway>
<RevisionStatus>latest</RevisionStatus>
</Price>
<Price kind="Teiki3Summary">
<Oneway>427020</Oneway>
</Price>
<Price fareRevisionStatus="none" toLineIndex="1" fromLineIndex="1" kind="Teiki3" index="1" selected="true">
<Type>Teiki3</Type>
<Oneway>396660</Oneway>
<RevisionStatus>latest</RevisionStatus>
</Price>
<Price fareRevisionStatus="none" toLineIndex="2" fromLineIndex="2" kind="Teiki3" index="2" selected="true">
<Type>Teiki3</Type>
<Oneway>30360</Oneway>
<RevisionStatus>latest</RevisionStatus>
</Price>
<Price kind="Teiki6Summary" />
<Price fareRevisionStatus="none" toLineIndex="2" fromLineIndex="2" kind="Teiki6" index="1" selected="true">
<Type>Teiki6</Type>
<Oneway>57510</Oneway>
<RevisionStatus>latest</RevisionStatus>
</Price>
<SerializeData>VkV4QaECp7zIAsMCpgE0YoADpgE0Yn8EkcIBQwAAAAKmATRifwPJAQECAQMBBAEHAQgBCgIPQkAAEAYFk8ECpWH1wQKlZXrBAqVxogaSwwEEAgEDwQEcwwEEAgEDwQGlB_YHksYBpgE0YocDgQSBBQAGAggAxgGmATRihwIBA4EEgQUACAAIksUEAQUBBgEHpIYIAcYCAQQCBQEGAQelAasIAgmSwQMBwwEBAgEDAQ|RxQGTAAECApLDAQACAAMAwwEBAgEDAQOSwwEAAgADAMMBAQIBAwEEkgABBZIAAA**--T32212332323191:F3321122120000:A23121141:--5ed448319077bea3d5c8cd06401e04a8077b13a6--0--0--0--223</SerializeData>
<Teiki>
<SerializeData>VkV4QaECp2_IAQEDpgE0YocEk8EBpWH1wQGlZXrBAaVxogWSxAEBAgEDpIYEpWV6xAEBAgEDpQGrBKVxogaRxQGlYfUCpWV6AwAEAAUGB5LFAaVh9QKlZXoDAAQABQDFAaVlegKlcaIDAQQBBQAIAQoB--f4a4c6f1804b0659117f600646213a10b8aac85b--0--114</SerializeData>
<DetailRoute>名古屋:JR新幹線のぞみ:Down:新大阪:OsakaMetro御堂筋線:Down:なんば</DetailRoute>
<DisplayRoute>名古屋--JR東海道新幹線--新大阪--OsakaMetro御堂筋線--なんば</DisplayRoute>
</Teiki>
</Course>
:
</ResultSet>
GET /v1/json/search/course/plain?key=アクセスキーを入力してください&from=25077&to=29090
{
"ResultSet": {
"apiVersion": "1.27.0.0",
"engineVersion": "202103_04a",
"Course": [
{
"searchType": "plain",
"dataType": "plain",
"SerializeData": "VkV4QaECp7zIAsMCpgE0YoADpgE0Yn8EkcIBQwAAAAKmATRifwPJAQECAQMBBAEHAQgBCgIPQkAAEAYFk8ECpWH1wQKlZXrBAqVxogaSwwEEAgEDwQEcwwEEAgEDwQGlB_YHksYBpgE0YocDgQSBBQAGAggAxgGmATRihwIBA4EEgQUACAAIksUEAQUBBgEHpIYIAcYCAQQCBQEGAQelAasIAgmSwQMBwwEBAgEDAQ|RxQGTAAECApLDAQACAAMAwwEBAgEDAQOSwwEAAgADAMMBAQIBAwEEkgABBZIAAA**--T32212332323191:F3321122120000:A23121141:--5ed448319077bea3d5c8cd06401e04a8077b13a6--0--0--0--223",
"Price": [
{
"kind": "ChargeSummary",
"Oneway": "2530",
"Round": "5060"
},
{
"fareRevisionStatus": "none",
"toLineIndex": "1",
"fromLineIndex": "1",
"kind": "Charge",
"index": "1",
"selected": "false",
"Name": "指定席",
"Type": "Reserved",
"Oneway": "3270",
"RevisionStatus": "latest",
"Round": "6540",
"Rate": {
"text": "Regular",
"area": "Main"
}
},
{
"fareRevisionStatus": "none",
"toLineIndex": "1",
"fromLineIndex": "1",
"kind": "Charge",
"index": "2",
"selected": "true",
"Name": "自由席",
"Type": "Free",
"Oneway": "2530",
"RevisionStatus": "latest",
"Round": "5060"
},
{
"fareRevisionStatus": "none",
"toLineIndex": "1",
"fromLineIndex": "1",
"kind": "Charge",
"index": "3",
"selected": "false",
"Name": "グリーン",
"Type": "Green",
"Oneway": "5540",
"RevisionStatus": "latest",
"Round": "11080"
},
{
"fareRevisionStatus": "none",
"toLineIndex": "1",
"fromLineIndex": "1",
"kind": "Fare",
"index": "1",
"selected": "true",
"Type": "Fare",
"Oneway": "3410",
"RevisionStatus": "latest",
"Round": "6820"
},
{
"fareRevisionStatus": "none",
"toLineIndex": "2",
"fromLineIndex": "2",
"kind": "Fare",
"index": "2",
"selected": "true",
"Type": "Fare",
"Oneway": "280",
"RevisionStatus": "latest",
"Round": "560"
},
{
"kind": "FareSummary",
"Oneway": "3690",
"Round": "7380"
},
{
"kind": "Teiki1Summary",
"Oneway": "149810"
},
{
"fareRevisionStatus": "none",
"toLineIndex": "1",
"fromLineIndex": "1",
"kind": "Teiki1",
"index": "1",
"selected": "true",
"Type": "Teiki1",
"Oneway": "139160",
"RevisionStatus": "latest"
},
{
"fareRevisionStatus": "none",
"toLineIndex": "2",
"fromLineIndex": "2",
"kind": "Teiki1",
"index": "2",
"selected": "true",
"Type": "Teiki1",
"Oneway": "10650",
"RevisionStatus": "latest"
},
{
"kind": "Teiki3Summary",
"Oneway": "427020"
},
{
"fareRevisionStatus": "none",
"toLineIndex": "1",
"fromLineIndex": "1",
"kind": "Teiki3",
"index": "1",
"selected": "true",
"Type": "Teiki3",
"Oneway": "396660",
"RevisionStatus": "latest"
},
{
"fareRevisionStatus": "none",
"toLineIndex": "2",
"fromLineIndex": "2",
"kind": "Teiki3",
"index": "2",
"selected": "true",
"Type": "Teiki3",
"Oneway": "30360",
"RevisionStatus": "latest"
},
{
"kind": "Teiki6Summary"
},
{
"fareRevisionStatus": "none",
"toLineIndex": "2",
"fromLineIndex": "2",
"kind": "Teiki6",
"index": "1",
"selected": "true",
"Type": "Teiki6",
"Oneway": "57510",
"RevisionStatus": "latest"
}
],
"Teiki": {
"SerializeData": "VkV4QaECp2_IAQEDpgE0YocEk8EBpWH1wQGlZXrBAaVxogWSxAEBAgEDpIYEpWV6xAEBAgEDpQGrBKVxogaRxQGlYfUCpWV6AwAEAAUGB5LFAaVh9QKlZXoDAAQABQDFAaVlegKlcaIDAQQBBQAIAQoB--f4a4c6f1804b0659117f600646213a10b8aac85b--0--114",
"DetailRoute": "名古屋:JR新幹線のぞみ:Down:新大阪:OsakaMetro御堂筋線:Down:なんば",
"DisplayRoute": "名古屋--JR東海道新幹線--新大阪--OsakaMetro御堂筋線--なんば"
},
"Route": {
"timeOther": "17",
"timeOnBoard": "64",
"exhaustCO2": "3884",
"exhaustCO2atPassengerCar": "27382",
"distance": "1942",
"timeWalk": "0",
"transferCount": "1",
"Line": [
{
"direction": "Down",
"stopStationCount": "1",
"teiki3Index": "1",
"chargeIndex": "2",
"timeOnBoard": "49",
"exhaustCO2": "3732",
"fareIndex": "1",
"exhaustCO2atPassengerCar": "26310",
"distance": "1866",
"teiki1Index": "1",
"Name": "JR新幹線のぞみ",
"Type": {
"text": "train",
"detail": "shinkansen"
},
"ArrivalState": {
"Type": "normal",
"Datetime": {
"text": "2021-03-11",
"operation": "today"
}
},
"TypicalName": "JR新幹線のぞみ",
"TimeReliability": "none",
"DepartureState": {
"Type": "normal",
"Datetime": {
"text": "2021-03-11",
"operation": "today"
}
},
"Color": "051102255"
},
{
"direction": "Down",
"stopStationCount": "6",
"teiki3Index": "2",
"teiki6Index": "1",
"timeOnBoard": "15",
"exhaustCO2": "152",
"fareIndex": "2",
"exhaustCO2atPassengerCar": "1071",
"distance": "76",
"teiki1Index": "2",
"Name": "OsakaMetro御堂筋線",
"Type": "train",
"ArrivalState": {
"Type": "normal",
"Datetime": {
"text": "2021-03-11",
"operation": "today"
}
},
"TypicalName": "OsakaMetro御堂筋線",
"TimeReliability": "none",
"DepartureState": {
"Type": "normal",
"Datetime": {
"text": "2021-03-11",
"operation": "today"
}
},
"LineSymbol": {
"code": "226",
"Name": "M"
},
"Color": "255000012"
}
],
"Point": [
{
"Station": {
"code": "25077",
"Name": "名古屋",
"Type": "train",
"Yomi": "なごや"
},
"Prefecture": {
"code": "23",
"Name": "愛知県"
},
"GeoPoint": {
"longi": "136.53.8.0",
"lati": "35.10.3.0",
"longi_d": "136.885556",
"gcs": "tokyo",
"lati_d": "35.1675"
}
},
{
"Station": {
"code": "25978",
"Name": "新大阪",
"Type": "train",
"Yomi": "しんおおさか"
},
"Prefecture": {
"code": "27",
"Name": "大阪府"
},
"GeoPoint": {
"longi": "135.30.10.0",
"lati": "34.43.48.0",
"longi_d": "135.502778",
"gcs": "tokyo",
"lati_d": "34.73"
}
},
{
"Station": {
"code": "29090",
"Name": "なんば",
"Type": "train",
"Yomi": "なんば"
},
"Prefecture": {
"code": "27",
"Name": "大阪府"
},
"GeoPoint": {
"longi": "135.30.6.0",
"lati": "34.39.47.0",
"longi_d": "135.501667",
"gcs": "tokyo",
"lati_d": "34.663056"
}
}
]
}
},
:
]
}
}