Hodle API

Authentication

Authenticate your API requests with an API key.

API Key

All requests must include your API key in the x-api-key header.

curl -X POST https://api.hodle.com.br/api/deposit/asset \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{ ... }'

Contact the Hodle team to get your API key.

Error Responses

If the API key is missing or invalid, the API returns a 401 status:

401 Unauthorized
{
  "success": false,
  "error": "Unauthorized"
}