Overview
The Nordstern API is a REST interface that returns JSON. All requests are made over HTTPS using GET or POST.
There is no SDK required. Responses include everything needed to execute a swap directly on-chain.
Base URL
https://api.nordstern.finance/Note:No API key required. All endpoints are publicly accessible over HTTPS.
Note:Include a
Referer header set to your domain in every request — this is how we attribute API traffic to your project. Browser fetch sends it automatically; server-side and CLI callers must set it explicitly as shown in the examples below.Endpoints
GET/aggregator/{chain_id}
Returns the optimal split-route and ready-to-submit calldata for a token swap.
POST/simulate/{chain_id}
Simulates an arbitrary swap transaction and returns the received output amount, gas usage and return data.
GET/prices/{chain_id}
Returns current USD prices for one or more tokens.
GET/liquidity/{chain_id}
Returns on-chain liquidity depth in USD for one or more tokens.
GET/chains
Returns the full list of supported chains with chain IDs and router addresses.