List markets

Every open DEX market with its prices, last 24 hours and rules. No key needed.

GET

Every market open on the DEX now, one for each end day of bInference credit. The first is the newest, where bInference sells fresh credit at 1.000.

Prices are decimal strings in USDT per $1 of credit. bids, asks and volume24h are dollars of credit, quoteVolume24h is USDT and times are Unix milliseconds.

The answer is cached for 1 second, so ask at most once a second. It counts 2 of the 1,200 weight each IP address may use a minute.

No key needed. Anyone can read it.

Response

  • timeinteger

    When the markets were read, in milliseconds.

  • haltedboolean

    true while matching is paused on the whole DEX. Cancels and withdrawals keep working.

  • marketsobject[]

    The open markets, newest credit first: the first is the one where bInference sells fresh credit.

    • idstring

      The id: binference- and the UTC day its credit ends.

    • creditDaystring

      The UTC day its credit came in. The newest market's is today.

    • endsAtinteger

      When its credit ends, in milliseconds: 00:00 UTC on the day in its id.

    • closesAtinteger

      When it closes, in milliseconds: 60 minutes before its credit ends.

    • status"trading" | "halted" | "closing" | "closed" | "pre_open"

      trading: orders are taken and matched. halted: matching is paused. pre_open: not taking orders yet. closing and closed: past its close.

    • freshboolean

      true for the newest market, where bInference sells fresh credit.

    • freshPricestring | null

      bInference's price for fresh credit, "1.000", in the newest market, for any size. null in the others.

    • bestBidstring | null

      The highest buy order's price, or null with none.

    • bestAskstring | null

      The lowest sell order's price, or null with none. bInference's fresh offer is not counted: see freshPrice.

    • bidsstring

      Dollars of credit in all buy orders.

    • asksstring

      Dollars of credit in all sell orders.

    • laststring | null

      The last trade's price, or null before the first trade.

    • open24hstring | null

      The price of the first trade in the last 24 hours, or null with none.

    • high24hstring | null

      The highest trade price in the last 24 hours, or null with none.

    • low24hstring | null

      The lowest trade price in the last 24 hours, or null with none.

    • volume24hstring

      Dollars of credit traded in the last 24 hours.

    • quoteVolume24hstring

      USDT paid for it in the last 24 hours.

    • trades24hinteger

      Trades in the last 24 hours.

    • referencestring | null

      The price orders are checked against: the volume-weighted price of the last 15 minutes' trades. With none, the last trade's price moved along the AI Curve. null before the first trade.

    • bandobject

      The prices a new order may take now: 20% either side of reference, never fewer than 3 price steps. Before the first trade, 0.001 to 1.200. bInference's fresh offer is outside it.

      • lowstring

        The lowest price allowed.

      • highstring

        The highest price allowed.

    • rulesobject

      The market's order rules.

      • priceStepstring

        Prices move in steps of this much USDT.

      • sizeStepstring

        Sizes move in steps of this many dollars of credit.

      • minSizestring

        The smallest order, in dollars of credit.

      • minValuestring

        The smallest order's value, in USDT.

      • maxSizestring

        The largest order, in dollars of credit.

      • marketOrderLimitPercentinteger

        A market order fills at most this far from the best price, in percent. The rest cancels.

      • bandPercentinteger

        How far from reference an order may sit, in percent.

  • backingobject

    What backs every open order, across all markets: 1:1, credit for sells and USDT for buys.

    • lockedstring

      Dollars of credit locked away from use for sell orders and payments in flight. Never less than selling.

    • sellingstring

      Dollars of credit in open sell orders and in payments in flight.

    • reservedstring

      USDT set aside in buyers' DEX wallets for their open buy orders.

    • heldstring

      USDT in all DEX wallets. Never less than reserved.

    • paymentsInFlightinteger

      Matched trades whose payment has not settled on BNB Chain yet.

Errors

Each comes as JSON, { "error": { "code", "message" } }, with a stable code to branch on.

  • unknown_parameter400

    A query parameter this endpoint does not take, or one sent twice. Send only the parameters listed here, each once and written as shown: anything else is refused before it counts toward your weight.

  • not_found404

    The DEX is not open yet.

  • rate_limited429

    This IP address used more than 1,200 weight in a minute. Wait the seconds in Retry-After, then ask again.

Request
curl https://binference.io/api/v1/dex/markets
Response
{  "time": 1792173600000,  "halted": false,  "markets": [    {      "id": "binference-2026-10-24",      "creditDay": "2026-10-16",      "endsAt": 1792800000000,      "closesAt": 1792796400000,      "status": "trading",      "fresh": true,      "freshPrice": "1.000",      "bestBid": "0.950",      "bestAsk": "0.990",      "bids": "394.50",      "asks": "85.20",      "last": "0.960",      "open24h": "0.958",      "high24h": "1.000",      "low24h": "0.950",      "volume24h": "291.50",      "quoteVolume24h": "280.22",      "trades24h": 9,      "reference": "0.984",      "band": {        "low": "0.788",        "high": "1.180"      },      "rules": {        "priceStep": "0.001",        "sizeStep": "0.01",        "minSize": "1.00",        "minValue": "1",        "maxSize": "500.00",        "marketOrderLimitPercent": 5,        "bandPercent": 20      }    },    {      "id": "binference-2026-10-20",      "creditDay": "2026-10-12",      "endsAt": 1792454400000,      "closesAt": 1792450800000,      "status": "trading",      "fresh": false,      "freshPrice": null,      "bestBid": "0.755",      "bestAsk": "0.763",      "bids": "412.50",      "asks": "238.00",      "last": "0.760",      "open24h": "0.801",      "high24h": "0.805",      "low24h": "0.752",      "volume24h": "1840.00",      "quoteVolume24h": "1428.37",      "trades24h": 37,      "reference": "0.759",      "band": {        "low": "0.608",        "high": "0.910"      },      "rules": {        "priceStep": "0.001",        "sizeStep": "0.01",        "minSize": "1.00",        "minValue": "1",        "maxSize": "500.00",        "marketOrderLimitPercent": 5,        "bandPercent": 20      }    }  ],  "backing": {    "locked": "323.20",    "selling": "323.20",    "reserved": "690.42",    "held": "1204.55",    "paymentsInFlight": 1  }}