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 states

GET/data/usstates

Gets information about all USA states 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": 59,
  "count": 3,
  "offset": 0,
  "results": [
    {
      "code": "Alabama",
      "name": "AL"
    },
    {
      "code": "Alaska",
      "name": "AK"
    },
    {
      "code": "Arizona",
      "name": "AZ"
    }
  ]
}

Lookup a specific state

GET/data/usstates/{statecode}

Gets information about a specific USA state from within your data library.

Parameters statecode The state code to search

Example response

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

{
  "code": "Alabama",
  "name": "AL"
}