Geo
Get cities
GET https://api.basset.ws/geo/cities?iata_code=:iata_code
Query Parameters
Name
Type
Description
language
string
ISO 639-1 language code
iata_code
string
List of comma separated IATA Codes
[
{
"id": "59cd3585d592ce06fa61375c",
"name": {
"en": "Miami",
"es": "Miami",
"pt": "Miami"
},
"iata_code": "MIA",
"country_id": "59c2a51bd592ce268b9312ea"
},
{
"id": "5a26e0960f048bdce746ff8a",
"name": {
"en": "New York City",
"es": "Nueva York",
"pt": "Nova York"
},
"iata_code": "NYC",
"country_id": "59c2a51bd592ce268b9312ea"
}
]Get countries
GET https://api.basset.ws/countries?alpha3_code=code
Query Parameters
Name
Type
Description
language
string
ISO 639-1 language code
alpha2_code
string
List of comma separated Alpha2 Code
alpha3_code
string
List of comma separated Alpha3 Code
Get entities
GET https://api.basset.ws/entities?iata_code:code&language=:language
Query Parameters
Name
Type
Description
language
string
ISO 639-1 language code
iata_code
string
List of comma separated IATA Codes
Get regions
GET https://api.basset.ws/regions
Path Parameters
Name
Type
Description
string
Get states
GET https://api.basset.ws/states?country_id:country_id
Query Parameters
Name
Type
Description
country_id
string
basset country id
Last updated