Welcome
Cashmere has two public REST APIs. Use them with the on-chain contracts described in the developer guides, or let the Cashmere Agent SDK call them for you.Base URLs
Each path exists on one host only: the other host answers 404.
Authentication
Neither API needs an API key. Keep request volumes reasonable, and write to [email protected] for high-throughput access.Backend APIs guide
What an integration needs to get right: quotes, units and transfer tracking
Core Endpoints
Gas Quotes
Signed fees for every source chain
Transfer Execution
Send a transfer on-chain with a quote
Analytics
Transfers, volumes, fees and points
Units
Quotes return amounts as strings: parse them with
BigInt. kapi returns amounts as JSON numbers, and native fees in wei can exceed Number.MAX_SAFE_INTEGER, which JSON.parse rounds.
Rate Limits
No limits are published and no rate-limit headers are sent. kapi caches stats for 60 seconds and transaction and user lookups for 5, so polling faster returns the same data. For live fees, use the WebSocket instead of polling the Gas API.Error Handling
Successful responses are bare JSON objects, with no wrapper. Errors carry anerror string:
The Gas API never answers 400: check your parameters first, then retry a 500 with backoff.