> ## Documentation Index
> Fetch the complete documentation index at: https://developers.stellar.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Streaming

> Horizon provides a streaming mechanism for receiving events in near real time.

Horizon provides a streaming mechanism for receiving events in near real time. Instead of repeatedly sending requests to Horizon for batch updates, a connection is established between a client and Horizon with updates to an endpoint response streaming as new ledgers close and updates occur.

This reduces requests that return no data and allows near instantaneous updates client-side.

All attributes for the endpoints that allow streaming are the same as regular responses. A caller can initiate streaming by setting ‘Accept: text/event-stream’ in the HTTP header when making the request.

| Endpoints with Streaming |
| - |
| [Ledgers](https://developers.stellar.org/docs/data/apis/horizon/api-reference/resources/ledgers) |
| [Transactions](https://developers.stellar.org/docs/data/apis/horizon/api-reference/resources/transactions) |
| [Operations](https://developers.stellar.org/docs/data/apis/horizon/api-reference/resources/operations) |
| [Payments](https://developers.stellar.org/docs/data/apis/horizon/api-reference/resources/payments) |
| [Effects](https://developers.stellar.org/docs/data/apis/horizon/api-reference/resources/effects) |
| [Accounts](https://developers.stellar.org/docs/data/apis/horizon/api-reference/resources/accounts) |
| [Trades](https://developers.stellar.org/docs/data/apis/horizon/api-reference/resources/trades) |
| [Order Books](https://developers.stellar.org/docs/data/apis/horizon/api-reference/aggregations/order-books) |
