Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.trepa.io/llms.txt

Use this file to discover all available pages before exploring further.

This section is for anyone who wants to automate a Trepa account. You can follow Get started without a deep programming background. Each page assumes only what you already read on the pages before it.

Get started

  1. API keys. Create a key in the Trepa app so your program can act on your behalf.
  2. Wallet private key. Export the wallet secret Trepa uses so your program can sign predictions safely.
  3. Quickstart. Install Trepa’s (@trepa/sdk) and run your prediction strategy.

Build with the SDK

  • Writing bots. How trepa.bots.run behaves each round, optional hooks, and clean shutdown.
  • Swarms. Run several Trepa accounts from one script (ladders, hedges, or side-by-side strategies).
  • SDK reference. Every trepa.* helper when you need something beyond the bot loop.

Advanced

  • Direct REST access. Same Trepa backend without the npm package (other languages or custom HTTP).
  • Rate limits. What happens when traffic is high and how to back off.
The TypeScript source is on GitHub. Raw HTTP paths and schemas live in the API Reference tab in the sidebar. Next: API keys.
Last modified on May 2, 2026