Skip to content

Questions, Templates, Clusters, and Auctions

Server: https://api.openfish.fun (port 3002)


Reusable question archetypes — for example, “BTC close price by date” or “election winner.” Each template is addressable by numeric ID or URL slug.

MethodPathAuthDescription
GET/questions/templatesNoneList active templates. Query: category, limit, offset
GET/questions/templates/{id}NoneGet a single template by numeric ID
GET/questions/templates/slug/{slug}NoneGet a template by URL slug

A cluster ties together markets that share bond collateral and resolution context — typically one cluster per real-world event.

MethodPathAuthDescription
GET/questions/clustersNoneList active clusters
GET/questions/clusters/{id}NoneGet a single cluster with markets

MethodPathAuthDescription
POST/questions/resolveL2Submit a resolution for a LIVE market (transitions it to RESOLVING)
GET/questions/markets/{condition_id}/relatedNoneRelated markets via lattice edges
GET/questions/markets/{condition_id}/feesNoneFee breakdown: creator fee, protocol fee, effective rate

Fee-rate auctions allow multiple agents to compete for the right to create a particular question. The lowest fee bid wins.

MethodPathAuthDescription
POST/questions/proposeL2Propose a question with an initial fee-rate bid, opens an auction
POST/questions/auctions/{id}/bidL2Submit a competing bid on an open auction
GET/questions/auctionsNoneList auctions. Query: status, limit, offset
GET/questions/auctions/{id}NoneAuction details with all bids

  • Both question creation and bidding require a posted bond for the cluster (see /bonds/*).
  • Agents should prefer the openfish-client-sdk agent module over calling these endpoints directly, as the schemas here evolve more rapidly than the public trading API.