FATOS Developer
Developer SiteConsole
  • FATOS Developer Introduction
  • FATOS API
    • Map
      • Map control
        • Sources
        • Layers
          • Style Specification
            • Fill
            • Line
            • Symbol
            • Circle
        • Building
        • Bounds
        • Center
        • Heading
        • Flyto
        • Tilt
        • Zoom
        • Marker
          • Instance Members
        • Polyline
        • Polygon
        • Circle
        • On/Off
        • Once
        • Language
        • Theme
        • Cluster
          • Instance Members
      • Button control
      • Utilities
        • Rectangle
        • Distance
        • Area
    • Search
      • Address
      • Geocoding
      • Geofencing
      • Detail
      • Public Transport
        • Bus Route
        • Bus Route Information
        • Bus Stop Information
        • Subway Station Information
        • Subway Station Timetable
        • Public Transit POI within Radius
        • Public Transit POI on Map
        • Subway Station Transfer Information
        • Real-time Bus Location Information
        • Real-time Bus Arrival Information
    • Routing
      • Route
      • Route for truck
      • Route_v2
      • Public Transit Route Search
      • Route Graphic Data
      • Bicycle
      • Pedestrian
    • Analyze
    • Tracking
  • FATOS SDK
    • Authentication
    • Platform
      • Android
        • Start
        • Component
      • iOS
        • Start
        • Component
      • React Native
        • Start
        • Component
  • Get your API Key
  • Release Note
    • FATOS Map API
    • API Server
    • RP Server
  • Troubleshooting
    • FAQ
Powered by GitBook
On this page
  • Parameter
  • Response
  • Response Sample

Was this helpful?

  1. FATOS API
  2. Search
  3. Public Transport

Bus Route

Returns the bus route list. Available only in Korea.

Method
Request URI
Response type

GET

https://api.fatos.biz/pubtrans/searchBusLane

json, xml

Parameter

Parameter
Required
Description
Sample

key

Y

Your API Key.

key=xxxxxxxxxxx

lang

N

Select Result Language

(Korean: 0, English: 1, Japanese: 2, Chinese (simplified): 3, Chinese (traditional): 4, Vietnamese: 5)

  • For Vietnamese, only in the metropolitan area

default = 0

lang=1

output

N

Output format (json, xml)

default = json

output=json

busNo

Y

Bus route number

busNo=6632

CID

N

City code

CID=1000

stationListYn

N

main station List default = no

stationListYn=no

displayCnt

N

Return result count

displayCnt=10

startNO

N

Page number among results

startNO=1

Response

NAME
Type
Description

result

node

Top node

totalCount

int

search results

totalCityList

node

List of cities

includeCity

node

List of cities

CID

int

City code

cityName

string

City name

lane

node

List of bus route information

busNo

string

Bus number

busID

int

Bus route ID

localBusID

string

Local Bus Route ID Metropolitan area: busCityCode of 1000 Seoul and Gyeonggi Province Use Real-Time Ulsan City: Provide both up and down route ID on one route Ex) Up/Down ID type.

type

int

Type of bus route Refer to the bus route type at the bottom of the document

busCityName

string

Transportation company approved city name

busCityCode

int

Transportation company approved city code

busStartPoint

string

the starting point of a bus route

busEndPoint

string

the last stop of the bus route

busFirstTime

string

First bus time

busLastTime

string

Last bus time

busInterval

string

Interval (minutes) or number of trips (#1)

mainBusStop

string

a major bus stop

bus_Ep_FirstTime

string

The first bus based on the last stop

bus_Ep_LastTime

string

Last bus based on the last stop

bus_Interval_Week

string

Weekday dispatch interval

bus_Interval_Sat

string

Saturday dispatch interval

bus_Interval_Sun

string

Sunday (holiday) dispatch interval

busCompanyNameKor

string

Transportation company name

busCompanyID

string

Transportation company ID

Response Sample

{
	"result": {
		"totalCityList": {
			"includeCity": [
				{
					"cityName": "서울",
					"CID": 1000
				}
			]
		},
		"totalCount": 1,
		"lane": [
			{
				"busNo": "6632",
				"busID": 1499,
				"localBusID": "100100309",
				"type": 12,
				"busCityName": "서울",
				"busCityCode": 1000,
				"busStartPoint": "강서공영차고지",
				"busEndPoint": "당산역",
				"busFirstTime": "04:30",
				"busLastTime": "23:00",
				"busInterval": "10",
				"bus_Interval_Week": "10",
				"bus_Interval_Sat": "11",
				"bus_Interval_Sun": "14",
				"busCompanyNameKor": "공항버스",
				"busCompanyID": "80"
			}
		]
	}
}
PreviousPublic TransportNextBus Route Information

Last updated 2 years ago

Was this helpful?