Defy Version 2.0
  • 🏁Getting Started
    • Overview
  • 🔑AUTHENTICATION
    • API Key
  • 🔄Streaming
    • What is streaming?
    • Streaming API
  • 🛡️Live AML
    • What is Live AML?
    • Live AML API
  • 🔐Security
    • Anti Money Laundering (AML)
    • Transaction Detail
  • 🏎️Travel Rule
    • What is Travel Rule?
    • Withdrawal Interactions
    • Deposit Interactions
    • E-Mail Notification
    • Status and Webhook Data
    • API Reference
  • 👩‍💻Developer Resources
    • Supported Chains
Powered by GitBook
On this page
  • Authentication via Header/Query/Body parameter
  • Authentication via Basic Auth

Was this helpful?

  1. AUTHENTICATION

API Key

Let's start with Defy Blockchain API

PreviousOverviewNextWhat is streaming?

Last updated 9 months ago

Was this helpful?

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 . We will reach you immediately.

Authentication via Header/Query/Body parameter

Simply append apikey=API_KEY as a query parameter or header parameter or body parameters 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 'https://api.getdefy.co/v2/ENDPOINT' \
--header 'apikey: APIKEY'

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

🔑
contact@getdefy.co