πCountry, city/county and region
Country
GET https://{API_DOMAIN}/api/v1/statecurl -X GET
-H "Content-Type: application/json"
"https://{API_HOST}/api/v1/country?per_page=3"Parameters
PARAMETER
REQUIRED
DEFAULT
TYPE
DESCRIPTION
page
false
1
Number
Which page is currently on
per_page
false
15
Number
How many items to display per page
Response
{
"data": [
{
"id": 1,
"name": "Taiwan",
"abbrev": null
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"per_page": "3",
"to": 1,
"total": 1
}
}State/County
Parameters
PARAMETER
REQUIRED
DEFAULT
TYPE
DESCRIPTION
page
false
1
Number
Which page is currently on
per_page
false
15
Number
How many items to display per page
name
false
NULL
String
County/City name
Response
District
Parameters
PARAMETER
REQUIRED
DEFAULT
TYPE
DESCRIPTION
page
false
1
Number
Which page is currently on
per_page
false
15
Number
How many items to display per page
zipcode
false
NULL
Number
Postal code
name
false
NULL
String
Postal district name
Response
Last updated