Divendo API 2.0

We’ve rebuilt our API from the ground up to be easier than ever to integrate our platform with your favourite software

Retrieve all countries

GET/data/countries

Gets information about all countries within your data library.

Querystring count The number of records to return
offset The number of records from a collection to skip

Example response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
  "total": 237,
  "count": 4,
  "offset": 0,
  "results": [
    {
      "isocode": "GB",
      "name": "United Kingdom"
    },
    {
      "isocode": "JE",
      "name": "Jersey"
    },
    {
      "isocode": "GG",
      "name": "Guernsey"
    },
    {
      "isocode": "US",
      "name": "United States"
    }
  ]
}

Lookup a specific country

GET/data/countries/{isocode}

Gets information about a specific country within your data library.

Parameters isocode The unique iso code for the country

Example response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
  "isocode": "GB",
  "name": "United Kingdom"
}