This documentation describes how to use the Evolution API for searching Teledata, CVR, and the Robinson list.
The API uses ClientId and ClientSecret for authentication. These are sent via:
Authorization headerExample (Basic Auth):
Authorization: Basic {base64(ClientId:ClientSecret)}
POST /api/search
Content-Type: application/json
{
"type": "teledata",
"phoneNumber": "22446688",
"name": "Peter Hansen",
"address": "Birkegade 12",
"zipCode": "2200",
"city": "København N"
}
type: Required - one of: teledata, cvr, robinsonphoneNumber,name, address, zipCode, cityaddress, zipCode, city (without name)cvrNummername + address + zipCode + cityaddress + zipCode + cityname and addresscurl -X POST https://findnummernu.dk/api/search \
-H "Content-Type: application/json" \
-u clientid123:mysecretkey \
-d "{\"type\":\"teledata\", \"address\":\"Birkegade 12\", \"zipCode\":\"2200\", \"city\":\"København N\"}"
[
{
"name": "Peter Hansen",
"address": "Birkegade 12",
"zipCode": "2200",
"city": "København N",
"phoneNumbers": ["22446688", "22223333"]
}
]
Results with the same name + address will be grouped, and all associated phone numbers will be listed under phoneNumbers.
The API returns appropriate status codes and error messages:
400 Bad Request - Missing or invalid fields403 Forbidden - No access to the requested type401 Unauthorized - Incorrect login credentials{
"error": "You do not have access to."
}