Partner Dashboard - Get API Key Visit the Partner Dashboard to obtain your JWT token for authenticated API access. Authenticated users avoid the 0.2% (20 basis points) platform fee.
Why Get an API Key?
Authenticated requests using a JWT token are fee-free – you only pay network gas costs and market maker spreads. Unauthenticated requests incur a 0.2% (20 basis points) platform fee.
How to Use Your API Key
Once you have your JWT token from the Partner Dashboard, include it in your API requests:
curl -X POST https://1click.chaindefuser.com/v0/quote \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-d '{
"dry": false,
"swapType": "EXACT_INPUT",
"originAsset": "nep141:wrap.near",
"destinationAsset": "nep141:usdt.tether-token.near",
"amount": "1000000000000000000000000",
"recipient": "your-account.near",
"recipientType": "INTENTS",
"refundTo": "your-account.near",
"refundType": "INTENTS"
}'
Store your JWT token securely and never commit it to version control. Use environment variables or secure secret management systems.