Trocador API — Crypto Exchange Aggregator API
Trocador exposes a small JSON API for quotes, pair rates and wallet operations. It is plain HTTPS with no API key for the public endpoints, so it is easy to wire into a bot or a dashboard.
GET /api/swap
Returns an estimate for a pair: from, to, amount, estimate and a status field. Example: /api/swap?from=BTC&to=XMR&amount=0.01. The estimate is based on live CoinGecko prices and is meant for display, not settlement.
GET /api/pair_rates
Returns the USD reference prices used by the checkout page: from_usd and to_usd. Example: /api/pair_rates?from=BTC&to=XMR.
GET /api/wallet
Returns the current profile address book, balances and public transaction records. Private keys are never included. POST with op=add/edit/delete to manage the address book for a logged-in session.
Response format
All endpoints return application/json. Errors use the standard HTTP status code plus an ok=false body. There is no pagination on the public endpoints; the data set is small.
Frequently asked questions
Do I need an API key?
No. The public quote and rate endpoints are open.
Is there a rate limit?
Be reasonable: cache responses for a few seconds and avoid hammering the API from many workers. The site is optimised for human traffic.