API Key

Let's start with Defy Blockchain API

To access the Defy API, you will need an API key. If you need one you can contact with us. Just send a mail to info@getdefy.co. We will reach you immediately.

Authentication via Query parameter

Simply append key=API_KEY as a query parameter to all requests. The main advantage of this method is to embed the API endpoints within applications that do not support more sophisticated auth mechanisms, like Google Sheets or as IFrames.

Authentication via Basic Auth

Example of basic authentication.

curl --location --request GET 'https://api.getdefy.co/v1/o/ENDPOINT/' \
-u API_KEY:
-H 'Content-Type: application/json'

Provide your API key as the basic auth username. You do not need to provide a password.

Last updated