Exchange rates
Use SenjaroPay’s exchange-rate API to read live FX quotes and recent trade history. These routes are GET, do not use x-api-key / x-api-secret, and return a JSON array.
Access is controlled by IP allowlisting in the SenjaroPay dashboard. Calls from an IP that is not allowlisted are rejected.
Base URL: https://api.senjaropay.com
Allowlist your server IPs
Before you call any exchange-rate endpoint, register the public IPs of the servers (or NAT gateways) that will make the requests.
- Sign in to the SenjaroPay dashboard.
- Open Developers.
- Open Allowed IPs (or IP allowlist).
- Add each outbound public IP that should be able to call the exchange-rate API.
- Save the changes, then retry from that server.
Use the IP your production traffic exits on — not 127.0.0.1 or a private LAN address. If you scale across multiple regions or load balancers, add every egress IP. Local laptop calls only work if that machine’s public IP is allowlisted.
Exchange-rate routes do not accept API keys. IP allowlisting is the access control for this API.
Endpoints
1. List tickers
Returns the current market snapshot for each pair.
Response
2. List pairs
Returns supported pairs with the current bid and ask.
Response
3. Historical trades
Returns recent completed trades for one pair. Pass ticker_id from pairs or tickers.
Query parameters
Response
Examples on this page are illustrative. Live quotes and history change over time.
