Docs / Quickstart
Your first request in five minutes
Official Python and TypeScript SDKs — fully typed, with retries and streaming built in.
- Install the SDK
pip install cexanpm install @cexa/sdk# nothing to install - Set your API key
export CEXA_API_KEY="cx_live_..."export CEXA_API_KEY="cx_live_..."export CEXA_API_KEY="cx_live_..." - Send your first request
client.search("hello world")await cexa.search("hello world")curl https://api.cexa.ai/v1/search -d '{"query":"hello world"}'
API endpoints
- POST
/v1/searchReal-time retrieval with citations and Markdown - POST
/v1/crawlFetch pages and extract by schema - POST
/v1/agents/runStart and stream an agent run - GET
/v1/markets/quotesLatest quotes across venues - WS
/v1/markets/streamSubscribe to live market streams - GET
/v1/usageCurrent usage and quota