← All posts
ENGINEERING

How fast is a Tirio quote? Measured latency on BNB Chain

TE
Tirio Engineering · 3 min read

Median and 90th-percentile response times of Tirio's /price and /quote across 185 BNB Chain pairs, measured on production from one client on 2026-10-02.

Quote latency is the gap between typing an amount and seeing a price. We first measured ours on production on 2026-10-01 and measured again on 2026-10-02. This post shows the newer run, with the earlier one for comparison, and the numbers are published as they came out.

Method

  • Where: the production API at https://api.tirio.io, called from a Mac over the public internet. Every figure includes the network round trip.
  • What: 185 BNB Chain token pairs taken from recent swaps on the chain, with the same requests sent to every service in the same run.
  • Which endpoints: Tirio's /price (the indicative price the app shows while you type: routed, not simulated, no transaction) and /quote (the quote you sign: routed, simulated as the complete transaction at the latest block and returned with the calldata). For reference, the price endpoints of two other aggregators were called at the same time. Both return a route and a price without a transaction.
  • Recent and first requests: Tirio answers faster for a pair that was asked for recently than for a pair asked for the first time, so we report the two separately.

This is one run from one location, reported as medians and 90th percentiles. Other places, times and pairs will give other numbers.

Results

Price endpoints, which return a route and a price without a transaction:

RequestMedian (p50)90th percentile (p90)
Tirio /price, pair asked recently101 ms203 ms
Tirio /price, pair asked for the first time136 ms304 ms
Two other aggregators' price endpoints, same run214 ms and 418 msnot compared

The simulated quote you sign, which has no counterpart among the other endpoints:

RequestMedian (p50)90th percentile (p90)
Tirio /quote (simulated, with calldata)215 ms459 ms

What this says:

  • For pairs that are already in use, the indicative price usually comes back in about a tenth of a second.
  • A pair asked for the first time came back in 136 ms at the median, against 220 ms in the run of 2026-10-01.
  • A /quote does more work than a price endpoint. It simulates the whole swap on chain and builds the transaction, so it is reported on its own.

On 2026-10-01 the same measurement gave 105 ms for a recent pair, 220 ms for a first request and 307 ms for a /quote.

Price

On the same pairs, for tokens without a transfer tax, Tirio's output was level with both other aggregators at the median.

What we are working on

  • Shorter waits at the 90th percentile.
  • Routes for more long-tail pairs.

Try it yourself

The API is public at https://api.tirio.io, with no key. Amounts are raw integer units (1 BNB is 1000000000000000000 wei) and the native coin is the zero address. This asks for the indicative price of 1 BNB in USDT:

curl -w "\n%{time_total}s\n" "https://api.tirio.io/bsc/price?tokenIn=0x0000000000000000000000000000000000000000&tokenOut=0x55d398326f99059fF775485246999027B3197955&amountIn=1000000000000000000"

The full parameter list, including /quote with its transaction, is in the API docs, and the method with every figure is on Benchmarks.

KEEP READING