Skip to content
Guides
API reference
stable

List provinces

Lists the provinces of a department. Third step of a Peruvian address form.

GET/v1/geo/provinces

Lists the provinces of a department. Third step of a Peruvian address form.

Query Parameters

countryCode?string

ISO 3166-1 alpha-2 country code, for example PE.

departmentId?null|string
departmentCode?string
source?string
search?string

Free-text filter. Which fields it covers depends on the resource.

limit?integer

Maximum number of results to return.

Formatint32

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/geo/provinces"
[  {    "id": "string",    "countryCode": "string",    "type": "level1",    "code": "string",    "name": "string",    "parentId": null,    "source": "string"  }]