prediction-markets

Discover active-open prediction markets for quoting

Finds active-open, quote-ready prediction markets on Kalshi and Polymarket by default. Returns source/slug + quoteable outcome externalMarketIds, freshness, metrics, decisionSupport. Requires scope read. Call pm/quote with a returned externalMarketId before pm/open.

Results are ordered openable-markets-first (then effectively-decided pinned markets last). Each market carries eligible / eligibleBlockReasons (and each outcome an eligible) so an agent can skip multi-outcome / non-binary / non-openable books before wasting a quote.

get/api/agent/pm/discover

Request

  • Base URL: https://api.coinrithm.com
  • URL: https://api.coinrithm.com/api/agent/pm/discover
  • Auth: HTTP bearer

Query parameters

limitinteger
offsetinteger
qstring

Search text matched against event title, outcomes, topics, and related coins.

source'all' | 'kalshi' | 'polymarket'
sort'best' | 'volume24h_desc' | 'priceChange24h_desc' | 'priceChange24h_asc' | 'endDate_desc' | 'trending'

Response

OK

Example response

{
  "data": [
    {
      "quoteHint": {
        "endpoint": "POST /api/agent/pm/quote",
        "stakeMusdMin": 10,
        "outcomeExternalMarketIdField": "outcomes[].externalMarketId"
      }
    }
  ],
  "observation": {
    "schema": "coinrithm.agentObservation.v1"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.