Skip to main content
GET
/
v1
/
prices
/
{river_id}
Get Prices
curl --request GET \
  --url https://api.rivermarkets.com/v1/prices/{river_id} \
  --header 'X-River-Key-Id: <api-key>' \
  --header 'X-River-Signature: <api-key>' \
  --header 'X-River-Timestamp: <api-key>'
{
  "river_id": 123,
  "exchange": "<string>",
  "candlesticks": [
    {
      "timestamp": 123,
      "open": 123,
      "high": 123,
      "low": 123,
      "close": 123,
      "volume": 123
    }
  ],
  "history": [
    {
      "timestamp": 123,
      "price": 123
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.rivermarkets.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-River-Key-Id
string
header
required

UUID of your API key (from Settings → API Keys).

X-River-Timestamp
string
header
required

Current unix seconds. Must be within 30s of server time.

X-River-Signature
string
header
required

Base64 Ed25519 signature over the canonical request: METHOD\nPATH\nSORTED_QUERY\nTIMESTAMP\nSHA256(body) hex. See /api-reference/authentication for the full recipe.

Path Parameters

river_id
integer
required

River market ID

Query Parameters

type
enum<string>
default:candlesticks

Response type

Available options:
candlesticks,
history
interval
enum<string>
default:1d

Time range

Available options:
1d,
1w,
1m,
max
fidelity
integer
default:60

Minutes per data point (for Polymarket history)

Required range: 1 <= x <= 60

Response

Successful Response

Response for price queries.

river_id
integer
required
exchange
string
required
type
enum<string>
required
Available options:
candlesticks,
history
candlesticks
PriceCandlestick · object[] | null
history
PricePoint · object[] | null