Developers

API-FIRST INFRASTRUCTURE
Build on Gryllex

Connect your app — REST quotes, webhooks, and idempotent execute for traders and merchants.

Core endpoints

GET/exchange/swap/preview

Preview swap rate without executing

POST/exchange/swap/quote

Lock a quote for execution

POST/exchange/swap/execute

Execute swap with idempotency key

GET/wallet/balance/{asset}

Fetch asset balance

POST/webhooks

Register webhook URL for events

curl -X GET "https://api.gryllex.com/api/v1/exchange/swap/preview?from=USDT&to=BTC&amount=100" \
  -H "Authorization: Bearer YOUR_API_KEY"

Authentication

API keys with scoped permissions. Pass Authorization: Bearer on every request.

Webhooks

Real-time callbacks when swaps complete, deposits land, or orders update.

Idempotent execute

Safe retries with idempotency keys — no double swaps on network failures.