Skip to content
truffle

API access

Beta

Programmatic access to private market data. Default rate limit: 100 req/min. WebSocket streams are on the Institutional tier.

API key

API keys are paused during beta. Email hello@truffle.tech if you need programmatic access.

Quick start

import truffle

client = truffle.Client(api_key="trf_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 prices
GET/api/v1/companies/:id/orderbookOrder book depth for a company
POST/api/v1/ordersPlace a buy/sell order
GET/api/v1/predictionsList all prediction markets
POST/api/v1/predictions/:id/betPlace a prediction bet
GET/api/v1/portfolioGet your positions and balances
POST/api/v1/shareShare a secondary with the network
GET/api/v1/perps/:idPerp market data (mark, funding, OI)
WS/ws/v1/pricesReal-time price stream via WebSocket

SDKs

Python
v0.4.2
pip install truffle
TypeScript
v0.3.1
npm i @truffle/sdk
Go
v0.2.0
go get truffle.dev/sdk

Data 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
Private accredited group · Rule 506(b)
Trust|Compliance|Terms|Privacy|Disclosures|Security|FAQ|API

Not financial advice. Truffle is a non-custodial interface. Not a broker-dealer, not an exchange, not a registered investment adviser. Private-company and tokenized-equity positions are illiquid, long-dated, and carry the risk of total loss. Not SIPC protected. You control all transaction parameters. Regulatory posture is detailed on the compliance map and subject to outside counsel's opinion.

© 2026 Truffle