> For the complete documentation index, see [llms.txt](https://docs.lyslabs.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lyslabs.ai/apis-and-streams.md).

# APIs and Streams

The LYS Labs API and WebSocket infrastructure gives you direct access to decoded blockchain events, real-time aggregations, and historical insights - all enriched and structured for programmatic use.

\
Whether you're building a trading bot, running an agent model, or querying historical behavior, the API layer is your interface into the LYS data platform.

### Overview

LYS APIs expose:

* Decoded Solana events (token swaps, mints, transfers, etc.)
* Real-time and historical aggregations
* Wallet- and token-level intelligence
* Validator performance data
* Custom signals (volume spikes, rug flags, etc.)

\
Data is streamed in real time or queried on demand.\
All endpoints are:

* Low-latency (sub-30ms responses)
* Enriched (decoded, normalized, and annotated)
* Tiered (free, pro, and enterprise plans)

### Plans

Both Structured & Aggregated data have a Free tier

<figure><img src="/files/DsGKlRYxnHKpmuZiSunq" alt="" width="375"><figcaption></figcaption></figure>

**Structured Data**

Real-time, unprocessed Solana blockchain data

{% columns %}
{% column width="50%" %}

<figure><img src="/files/7gqRR6Ir2oCzAI9SaEwX" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="50%" %}

<figure><img src="/files/9PuaXFiiOgV2epPZIMox" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

#### Aggregated Data

Pre-processed, analytics-ready blockchain insights

{% columns %}
{% column %}

<figure><img src="/files/B5y4qwXKambcLVVQIuC5" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

<figure><img src="/files/tDKuPKesMK3LmMf7JDJw" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### Next: Try the Sandbox

You’re now ready to jump into the developer experience.

<img src="https://paper.dropboxstatic.com/static/img/ace/emoji/1f449.png?version=8.0.0" alt="backhand index pointing right" data-size="line">[ Visit Dev Portal](https://dev-staging.lyslabs.ai/api-reference/websocket-api) to browse endpoints, get your key, and start building.

or&#x20;

[Contact Us for Enterprise ](mailto:sales@lyslabs.ai)access
