API Access
BETAProgrammatic access to private market data. Rate limit: 100 req/min. WebSocket available on Institutional tier.
API Key
Keys are scoped to your account. You can revoke them at any time.
Quick Start
import mithril
client = mithril.Client(api_key="mith_xxx")
# Get all companies
companies = client.companies.list()
# Place a buy order
order = client.orders.create(
company="anthropic",
side="buy",
price=148.50,
size=100,
instrument="secondaries"
)
print(f"Order {order.id}: {order.status}")REST Endpoints
GET
/api/v1/companiesList all companies with latest pricesGET
/api/v1/companies/:id/orderbookOrder book depth for a companyPOST
/api/v1/ordersPlace a buy/sell orderGET
/api/v1/predictionsList all prediction marketsPOST
/api/v1/predictions/:id/betPlace a prediction betGET
/api/v1/portfolioGet your positions and balancesPOST
/api/v1/shareShare a secondary with the networkGET
/api/v1/perps/:idPerp market data (mark, funding, OI)WS
/ws/v1/pricesReal-time price stream via WebSocketSDKs
Python
v0.4.2pip install mithrilTypeScript
v0.3.1npm i @mithril/sdkGo
v0.2.0go get mithril.dev/sdkData Licensing
Research
$500/mo
- Full price history
- Order book snapshots
- Prediction market data
- 100 req/min
Compliance
Popular$2K/mo
- Everything in Research
- KYC/AML event feed
- Transfer audit trail
- Dedicated support
Institutional
$5K/mo
- Everything in Compliance
- Real-time WebSocket
- Raw deal flow data
- Custom integrations