Skip to main content
POST
/
last-trades-prices
Get last trade prices
curl --request POST \
  --url https://clob.forka.st/last-trades-prices \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "token_id": "34124572068052077909406302056995239675264911172488920973407960367842984448300"
  },
  {
    "token_id": "7045107161367241233811523851106536676632348173555291268726302515224841822187"
  },
  {
    "token_id": "59964717011473581387089048234239097005165234934041431203725679550377112731340"
  }
]
'
[
  {
    "price": "0.14",
    "side": "SELL",
    "token_id": "34124572068052077909406302056995239675264911172488920973407960367842984448300"
  },
  {
    "price": "0.471",
    "side": "BUY",
    "token_id": "59964717011473581387089048234239097005165234934041431203725679550377112731340"
  },
  {
    "price": "0.35",
    "side": "BUY",
    "token_id": "7045107161367241233811523851106536676632348173555291268726302515224841822187"
  }
]
Retrieve the most recent executed trade price for every token_id you include in the request array.

Request payload

Send a JSON array where each object contains a single required field:
  • token_id — string identifier for the outcome you want to price.
Submit as many token identifiers as you need; the service responds only for markets with at least one recorded fill.

Response body

The endpoint returns an array with one object per token that has a recorded trade. Each entry contains:
  • token_id — identifier echoed back from the request.
  • price — string-formatted decimal value for the latest execution.
  • sideBUY if the last trade lifted an ask, or SELL if it hit a bid.
Use the playground to experiment with different token sets or pair this endpoint with GET /trades when you need the full trade history.

Body

application/json
Minimum array length: 1
token_id
string
required

Unique identifier for the token whose last trade price should be returned.

Response

200 - application/json

Last trade price for each requested token.

token_id
string
required

Unique identifier for the token.

price
string
required

Price of the most recent trade, represented as a string to preserve precision.

side
enum<string>
required

Side of the market for the most recent trade.

Available options:
BUY,
SELL