For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create new api key

Create a new API key for programmatic access to the DeltaDeFi trading API. API keys provide a more permanent authentication method compared to JWT tokens.


Create new API key

get

Create new API key

Authorizations
Header parameters
X-API-KEYstringRequired

API Key

Responses
200

OK

application/json
api_keystringOptionalExample: dk_live_abc123def456ghi789jkl012mno345
created_atstringOptionalExample: 2024-01-01T00:00:00Z
get/accounts/new-api-key
GET /accounts/new-api-key HTTP/1.1
X-API-KEY: text
Accept: */*
{
  "api_key": "dk_live_abc123def456ghi789jkl012mno345",
  "created_at": "2024-01-01T00:00:00Z"
}

Important Notes

Authentication: You can authenticate this request using:

  • Your current API key in the X-API-KEY header

Last updated