# Introduction

Welcome to the Theros API documentation! Build high-performance trading applications on Solana with institutional-grade infrastructure.

## Overview

Theros provides three powerful ways to integrate trading functionality into your applications:

* **Cloud API** - Quick HTTPS-based integration for rapid development
* **Local Transaction Builder** - Full control with local signing and custom RPC endpoints
* **WebSocket Streaming** - Real-time market data and trade events

## Key Features

* **Lightning Speed** - Execute trades in under 250ms with globally distributed infrastructure
* **Institutional-Grade Security** - Full transaction control with local signing and military-grade encryption
* **Real-time Market Data** - Stream live trading data via high-performance WebSocket connections
* **99.99% Uptime** - Enterprise-grade reliability
* **24/7 Support** - Dedicated developer support

## Quick Start

Get started with the Cloud API in minutes:

```bash
curl -X POST https://theros.pro/api/trade/buy \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "publicKey": "YOUR_WALLET_PUBLIC_KEY",
    "mint": "TOKEN_MINT_ADDRESS",
    "amount": 0.01,
    "slippage": 10
  }'
```

## Documentation Structure

* [Getting Started](/getting-started.md) - Set up your API key and make your first request
* [API Reference](/api-reference/api-reference.md) - Complete API documentation
  * [Cloud API](/api-reference/lightning-api.md) - HTTPS-based trading API
  * [Local Transaction API](/api-reference/local-transaction-api.md) - Build and sign transactions locally
  * [WebSocket API](/api-reference/websocket-api.md) - Real-time data streaming
* [Authentication](/authentication.md) - Learn about API authentication
* [Rate Limits](/rate-limits.md) - Understanding rate limits and quotas
* [Error Handling](/error-handling.md) - Common errors and how to handle them
* [Examples](/examples/examples.md) - Code examples and integration guides

## Support

* **Documentation Issues**: [GitHub Issues](https://github.com/Theros-pro/theros)
* **Twitter**: [@therospro](https://x.com/therospro)
* **Website**: [theros.pro](https://theros.pro)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.theros.pro/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
