Hercle

Quick Reference

All REST API endpoints at a glance. Click any endpoint to see full documentation.

Base URL: https://publicapi.hercle.financial | OpenAPI Spec (JSON) | llms.txt

Pairs

MethodPathDescription
GET/api/v1/pairsGet all available trading pairs
GET/api/v1/pairs/{pair}/{side}/{amount}Get pair size by amount
GET/api/v1/pairs/networks/{asset}Get asset networks
GET/api/v1/price/{pair}/{size}Get pair price

Orders

MethodPathDescription
POST/api/v1/ordersPlace OTC order
GET/api/v1/orders/{startDate}/{endDate}/{page}/{pageSize}Get orders paginated
GET/api/v1/orders/{clientId}Get orders by client ID

RFQ (Request for Quote)

MethodPathDescription
POST/api/v1/rfqCreate RFQ
POST/api/v1/rfq/acceptAccept RFQ
POST/api/v1/rfq/custom-expirationCreate custom RFQ

User / Account

MethodPathDescription
GET/api/v1/user/balancesGet account balances
GET/api/v1/user/trades/...Get trades paginated
GET/api/v1/user/trades/{tradeClientId}Get trades by client ID
GET/api/v1/user/trades/.../historicalGet historical trades
GET/api/v1/user/transactions/...Get transactions paginated
GET/api/v1/user/transactions/.../historicalGet historical transactions

Addresses

MethodPathDescription
GET/api/v1/addresses/whitelistedGet whitelisted addresses
POST/api/v1/addresses/whitelistWhitelist address
POST/api/v1/addresses/whitelist/paramsWhitelist address with params
DELETE/api/v1/addresses/whitelistRemove whitelisted address
GET/api/v1/addresses/depositGet deposit addresses
POST/api/v1/addresses/depositCreate deposit address

Withdrawals

MethodPathDescription
POST/api/v1/withdrawalsCreate withdrawal
POST/api/v1/withdrawals/addressCreate withdrawal with address params
POST/api/v1/withdrawals/instantCreate instant withdrawal
GET/api/v1/withdrawalsGet withdrawals
GET/api/v1/withdrawals/{start}/{end}/{page}/{size}Get withdrawals paginated
GET/api/v1/withdrawals/{clientId}Get withdrawals by client ID

Lightning Network

MethodPathDescription
POST/api/v1/invoicesCreate Lightning invoice
GET/api/v1/invoicesGet Lightning invoices
POST/api/v1/lightning/withdrawalsCreate Lightning withdrawal

Banking

MethodPathDescription
GET/api/v1/payeesGet payees paginated
POST/api/v1/payeeRegister payee
GET/api/v1/payee-addressesGet payee addresses
POST/api/v1/payees/{id}/addressesRegister payee address
PATCH/api/v1/payees/{id}/addresses/{id}/approveApprove payee address
GET/api/v1/transfersGet transfers paginated
POST/api/v1/transferCreate bank transfer
GET/api/v1/transactions/{id}Get transaction ledger

Banking (Sandbox Only)

MethodPathDescription
GET/api/v1/end-users/businessesGet business end usersSandbox
POST/api/v1/end-users/businessesRegister business end userSandbox
GET/api/v1/end-users/individualsGet individual end usersSandbox
POST/api/v1/end-users/individualsRegister individual end userSandbox
GET/api/v1/deposit-accountsGet deposit accountsSandbox
POST/api/v1/deposit-accountsCreate deposit accountSandbox
POST/api/v1/simulate-payinSimulate pay-inSandbox