Opfico

Directory

The catalog of markets the protocol lists.

How it works

Directory is the required socket. Opfico polls the venue's catalog about once a minute and publishes the markets an operator has listed. The body may be an array, or an object with markets, data, or events.

The catalog

FieldRequiredMeaning
id, titleYesThe market, and the name on the board.
yes, noYes, or outcomesAt least two outcomes.
rule, settlesAtYesAlso accepted as resolution.rule, resolution.settlesAt, or endDate.
maxSpreadCentsYesWidest quote that still scores.
minSharesYesSize that must rest.
contractNoA per-market settlement pin.
collateralNoMust match the venue when it is set.
Catalog body
$ curl -s https://venue.example/markets
[
  { "id": "eth-4k-week", "title": "Will ETH close above $4,000 this week?", "yes": 0.59, "no": 0.41 }
]
{
  "id": "eth-4k-week",
  "title": "Will ETH close above $4,000 this week?",
  "category": "Crypto",
  "yes": 0.59,
  "no": 0.41,
  "maxSpreadCents": 2.6,
  "minShares": 20,
  "rule": "Settles on the venue's named price index at the stated time.",
  "settlesAt": "2026-12-02T00:00:00Z",
  "contract": "sample:harbour:books"
}

What stays listed

ChangeResult
New idStays in review until an operator lists it.
Price updateA listed market stays listed.
Title, rule, settle time, collateral, or pinned contractReturns to review, and names what changed.
RouteReturns
GET /directory/boardListed markets whose venue is live.
GET /directory/books?venue=Both lists, each with its reason.
Board
$ curl -s https://api.opfico.network/directory/board
200  listed markets