# Solana API WebSocket subscriptions
The Solana API subscriptions allow subscribing to specific events in the blockchain.
Check the Solana docs (opens new window) for more methods and information.
The Solana API subscriptions require the use of a WebSocket endpoint.
- Multiple subscriptions may be active at once.
- Many subscriptions take the optional commitment parameter, defining how finalized a change should be to trigger a notification. If
commitmentis unspecified, the default value is
Follow these steps to sign up on Chainstack, deploy a node, and find your WSS endpoint credentials.
To use the Solana API subscriptions with the
solana.py library, install the
asyncstdlib package with:
pip install asyncstdlib
To use the Solana API subscriptions with cURL, use the code example as a message body in a WebSocket request in Postman.