POST
/
quote
Get a market quote
curl --request POST \
  --url https://router-gateway-v3-production.up.railway.app/quote \
  --header 'Content-Type: application/json' \
  --data '
{
  "from": "Bitcoin.BTC",
  "to": "Ethereum.USDC",
  "amountFormat": "readable",
  "orderType": "market_order",
  "fromAmount": "1"
}
'
{
  "quoteId": "00000000-0000-4000-8000-000000000001",
  "orderType": "market_order",
  "from": "Bitcoin.BTC",
  "to": "Ethereum.USDC",
  "expiry": "2026-05-04T12:10:00Z",
  "estimatedOut": "100000",
  "venues": [
    "velora",
    "across",
    "hyperliquid_bridge",
    "hyperliquid_spot",
    "unit"
  ],
  "fees": [
    {
      "kind": "hyperliquid_core_activation_fee",
      "label": "Hyperliquid activation fee",
      "asset": "Hyperliquid.USDC",
      "amount": "1",
      "amountRaw": "1000000"
    }
  ],
  "amountFormat": "readable"
}

Body

application/json
from
string
required
Required string length: 1 - 96
Example:

"Bitcoin.BTC"

to
string
required
Required string length: 1 - 96
Example:

"Ethereum.USDC"

amountFormat
enum<string>
default:readable
Available options:
readable,
raw
Example:

"readable"

orderType
enum<string>

Order type. Defaults to market_order.

Available options:
market_order,
market
Example:

"market_order"

fromAmount
string
Required string length: 1 - 96
Example:

"1"

Response

Market quote created by the internal router API.

quoteId
string
required
Example:

"00000000-0000-4000-8000-000000000001"

orderType
enum<string>
required
Available options:
market_order
Example:

"market_order"

from
string
required
Example:

"Bitcoin.BTC"

to
string
required
Example:

"Ethereum.USDC"

expiry
string
required
Example:

"2026-05-04T12:10:00Z"

estimatedOut
string
required
Example:

"100000"

venues
string[]
required

Ordered provider ids for the route transitions used by this quote.

Example:
[
"velora",
"across",
"hyperliquid_bridge",
"hyperliquid_spot",
"unit"
]
fees
object[]
amountFormat
enum<string>
default:readable
Available options:
readable,
raw
Example:

"readable"