# Litecoin Blockbook (WebSocket) API

> GetBlock provides fast and reliable access to Litecoin nodes via the Blockbook WebSocket API. Connect to the Litecoin network without running your own infrastructure.

The Blockbook indexer WebSocket interface for Litecoin: request/response queries (status, account info, UTXOs, transactions, broadcast, fee estimation) plus subscriptions to new blocks and address activity over a persistent connection.

Blockbook (REST) and Blockbook (WebSocket) are provisioned as separate interfaces with their own endpoint URLs. Enabling one does not enable the other. A project that watches an address and queries it needs both.

> **Info:** Use WebSocket when subscriptions are required, and [REST](/api-reference/litecoin/litecoin-blockbook-rest-api/) for one-off queries. A standard [Litecoin JSON-RPC](/api-reference/litecoin/litecoin-json-rpc-api/) endpoint does not support Blockbook methods, and the Litecoin Core wallet RPCs such as `listunspent` are disabled on shared nodes.

### Base URL

```bash
wscat -c wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>
```

### Methods

| Method | Description |
| --- | --- |
| [getInfo](/api-reference/litecoin/litecoin-blockbook-websocket-api/getinfo-litecoin/) | Indexer and backend status |
| [getAccountInfo](/api-reference/litecoin/litecoin-blockbook-websocket-api/getaccountinfo-litecoin/) | Address or xpub balance and transaction history |
| [getAccountUtxo](/api-reference/litecoin/litecoin-blockbook-websocket-api/getaccountutxo-litecoin/) | Unspent outputs for an address, xpub, or descriptor |
| [getTransaction](/api-reference/litecoin/litecoin-blockbook-websocket-api/gettransaction-litecoin/) | Normalized transaction by txid |
| [sendTransaction](/api-reference/litecoin/litecoin-blockbook-websocket-api/sendtransaction-litecoin/) | Broadcast a signed, serialized transaction |
| [estimateFee](/api-reference/litecoin/litecoin-blockbook-websocket-api/estimatefee-litecoin/) | Fee estimate for one or more confirmation targets |
| [subscribeNewBlock](/api-reference/litecoin/litecoin-blockbook-websocket-api/subscribenewblock-litecoin/) | Subscribe to new blocks as they are connected |
| [subscribeAddresses](/api-reference/litecoin/litecoin-blockbook-websocket-api/subscribeaddresses-litecoin/) | Subscribe to activity on a set of addresses |

### Support

* Support: [support@getblock.io](mailto:support@getblock.io)
