Skip to main content

Dateno API Key Overview

A Dateno API key is a secret string that is unique for each Dateno account. It identifies your application when it calls the Dateno REST API.

Most API endpoints require a valid API key. If the key is missing or invalid, the request will be rejected.

The same API key is used for all versions of the Dateno REST API, including API v2.

Using the API key

Include your API key in each API request as the apikey query parameter:

https://api.dateno.io/search/0.2/query?q=water&limit=10&apikey=YOUR_API_KEY

In non-production environments (for example, test), the base URL may differ, but the way you pass the apikey parameter is the same.

IMPORTANT

Treat your API key as carefully as you treat any other secret:

  • do not hard-code it in client-side applications;
  • do not commit it to public repositories;
  • store it in environment variables or a secrets manager.

Obtaining and resetting an API key

To start using the Dateno API, first obtain an API key. If your key has been compromised or you want to rotate it, you can reset your current API key.

For an overview of accounts and authentication, see: