Forkast Developer Docs
Forkast SDK Integration Guide
Market
5 min
market service provides read only access to market data with event details, lists of events, order books, token prices, and categories you can use it to discover markets, display live pricing and liquidity functions docid\ euck0n4 mjjv7kg7garxn docid\ g2ydyeavyafvcch a4rbz docid\ wmgphy itworcvhpbn0ob docid\ dogrpt3ikmahnk1k1 sff types event represents a prediction event that may contain one or more markets interface event { id number; createdat date; title string; description string; status marketstatus; startdate date; enddate date; image string; resolutionsource string; volume string; resolvedon date | null; categoryids number\[]; fixtureid string | null; isfavorite number; markets market\[]; } key fields field type description id number unique id of the event title string title of the event status string current event status volume string total trading volume ($) markets market\[] array of associated markets market represents a specific tradeable question within an event interface market { id number; title string; question string; questionid string; startdate date; enddate date; image string; rules string; volume string; status marketstatus; resolvedaddress string | null; resolvedoutcome string | null; resolvedoutcomeid string | null; resolvedon string | null; openordernumber number; positions marketposition\[]; conditionid string; outcomes marketoutcome\[]; } key fields field type description id number unique id of the market question string market's question status market status enum indicating the status of the current market volume string total trading volume ($) outcomes marketoutcome\[] available outcomes to bet on positions marketposition\[] positions associated with this market imports these types can be imported from the forkast sdk import { marketoutcome, marketposition, marketstatus, } from "@forkastgg/client";