Skip to content
cexaLog inStart building
Docs / Quickstart

Your first request in five minutes

Official Python and TypeScript SDKs — fully typed, with retries and streaming built in.

  1. Install the SDK
    pip install cexa
  2. Set your API key
    export CEXA_API_KEY="cx_live_..."
  3. Send your first request
    client.search("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

Build your next agent on Cexa

1,000 free calls a month. No credit card.