Programmatic access to private market data. Rate limit: 100 req/min. WebSocket available on Institutional tier.
Keys are scoped to your account. You can revoke them at any time.
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}")/api/v1/companiesList all companies with latest prices/api/v1/companies/:id/orderbookOrder book depth for a company/api/v1/ordersPlace a buy/sell order/api/v1/predictionsList all prediction markets/api/v1/predictions/:id/betPlace a prediction bet/api/v1/portfolioGet your positions and balances/api/v1/shareShare a secondary with the network/api/v1/perps/:idPerp market data (mark, funding, OI)/ws/v1/pricesReal-time price stream via WebSocketpip install mithrilnpm i @mithril/sdkgo get mithril.dev/sdk