Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

River Markets markets API

Search and discover prediction markets across Kalshi and Polymarket.

River Markets markets API is one of 13 APIs that River Markets publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include markets. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a getting-started guide.

This API exposes 4 operations across 4 paths, and defines 8 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://api.rivermarkets.com.

4 operations 4 paths 8 schemas 3 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.rivermarkets.com
Authentication
API Key, API Key, API Key, HTTP Bearer
License
Proprietary
Resource Areas
1

Authentication & Security 4

River Markets markets API declares 4 security schemes for authenticating requests. An API key is passed in the header as X-River-Key-Id (SignedRequestKeyId). An API key is passed in the header as X-River-Timestamp (SignedRequestTimestamp). An API key is passed in the header as X-River-Signature (SignedRequestSignature). It accepts HTTP bearer tokens (BearerAuth). By default, every request must be authenticated.

  • SignedRequestKeyId — UUID of your API key (from Settings → API Keys).
  • SignedRequestTimestamp — Current unix seconds. Must be within 30s of server time.
  • SignedRequestSignature — Base64 Ed25519 signature over the canonical request: METHOD\nPATH\nSORTEDQUERY\nTIMESTAMP\nSHA256(body) hex. See /api-reference/authentication for the full rec…
  • BearerAuth — JWT bearer token for web client authentication.

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 3 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

markets 4

Search and discover prediction markets across Kalshi and Polymarket.

GET
/v1/markets/search
Search Markets
search_markets_v1_markets_search_get 18 params → 200422
GET
/v1/markets/lookup
Lookup Markets
lookup_markets_v1_markets_lookup_get 1 param → 200422
GET
/v1/markets/match
Match Market
match_market_v1_markets_match_get 2 params → 200422
POST
/v1/markets/match/batch
Match Markets Batch
match_markets_batch_v1_markets_match_batch_post body → 200422

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are MarketSearchResult (31 properties), ValidationError (5 properties), MarketSearchResponse (4 properties), MarketMatchBatchResponse (3 properties). Each schema is shown below with its type and property counts.

MarketMatchBatchResponse
object
Batch exact-match response. results holds a full market row (with riverid, ticker, slug and exchangename) for every identifier that matched. Identifiers with n…
3 properties 1 required
MarketLookupResponse
object
Schema for batch market lookup response.
1 property 1 required
MarketMatchBatchRequest
object
Batch exact-match request: resolve many Kalshi tickers / Polymarket slugs at once.
2 properties
ValidationError
object
5 properties 3 required
MarketSearchResponse
object
Schema for market search response.
4 properties 3 required
InstrumentStatus
string
Instrument status derived in instruments table from exchange-specific fields. Kalshi: maps from kalshimarkets.status - 'active' - ACTIVE - everything else (clo…
MarketSearchResult
object
Schema for a single market search result.
31 properties 9 required
HTTPValidationError
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

river-markets-markets-api-openapi.yml Raw ↑

Other APIs River Markets publishes across the network.

River Markets balance API
River Markets complex-orders API
River Markets fair-values API
River Markets fills API
River Markets generic-assets API
River Markets orderbooks API
River Markets orders API
River Markets positions API
River Markets prices API
River Markets subaccounts API
River Markets tradeprints API
River Markets watchlists API