To make requests to the API, you’ll first need an API Key. This needs to be included in the header of all requests made.
Don’t have a key? If you’re new here, speak to an expert and if you’re already a client, contact us at [email protected]
Once you have an API key, requests can be made using a UI such as this documentation itself or Postman, or via a terminal using curl.
An example curl request should look as follows:
curl -X GET
--header 'Accept: application/json'
--header 'X-AUTH-TOKEN: api_key' 'https://duedil.io/v4/company/gb/06999618.json'
Generating Clients
Our API is built using the OpenAPI (Swagger) specification, which is machine-readable and allows you to easily generate V4 API clients in various programming languages. To create a client:
- Launch the Swagger Editor
- Navigate to ‘File’, choose ‘Import URL’ and enter https://duedil.io/v4/swagger.json.
- Click 'Generate Client' and select from a diverse set of options, including PHP, Python, Java, and more, with over 30 languages to choose from.
Didn't find what you were looking for? Contact [email protected]