Get states in a country(Nigeria)
https://core.hisend.hunnovate.com/api/v1/locations/countries/ng/states?api_key={api_key}&page=1&per_page=30&search={search}
Get states in a country(Nigeria)
Query Params
page string optional default to 1
Page number
per_page string optional default to 30
Number of projects per page
search string optional
Search in all projects by name or description
api_key string required
The api key from your dashboard
200 Success Response Example
{
"current_page": 1,
"data": [
{
"id": 1,
"country_id": 47,
"geo_political_zone_id": 4,
"name": "Abia",
"identifier": "abia",
"country_code": "NG",
"logo": null,
"short_name": null,
"motto": null,
"created_at": "2025-05-02T15:04:47.000000Z",
"updated_at": "2025-05-02T15:04:47.000000Z",
},
{
"id": 2,
"country_id": 47,
"geo_political_zone_id": 2,
"name": "Adamawa",
"identifier": "adamawa",
"country_code": "NG",
"logo": null,
"short_name": null,
"motto": null,
"created_at": "2025-05-02T15:04:47.000000Z",
"updated_at": "2025-05-02T15:04:47.000000Z",
},
],
"first_page_url": "https://core.hisend.hunnovate.com/api/v1/countries/ng/states?page=1",
"from": 1,
"last_page": 19,
"last_page_url": "https://core.hisend.hunnovate.com/api/v1/countries/ng/states?page=19",
"links": [
{
"url": null,
"label": "« Previous",
"active": false,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/countries/ng/states?page=1",
"label": 1,
"active": true,
},
],
"next_page_url": "https://core.hisend.hunnovate.com/api/v1/countries/ng/states?page=2",
"path": "https://core.hisend.hunnovate.com/api/v1/countries/ng/states",
"per_page": 2,
"prev_page_url": null,
"to": 2,
"total": 37,
}