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

# Endpoints, keys & authentication

> Generate HTTP and WebSocket endpoints, authenticate with your API key, and rotate it.

**Accessing Endpoints**

1. **Select Project:** Choose your project from the top dropdown (e.g., "Default Project").
2. **Select Network:** Use the network selector to switch between chains (e.g., **Lisk** vs **Ethereum**) and environments (**Mainnet** vs **Testnet**).

<Frame>
  <img src="https://mintcdn.com/blockops-3855c227/OGmnNOc7FURsTCyJ/images/blockchain-api-network-selector.png?fit=max&auto=format&n=OGmnNOc7FURsTCyJ&q=85&s=f32a197b43e51143cb0497637119ebd9" alt="Network Selector" width="658" height="1352" data-path="images/blockchain-api-network-selector.png" />
</Frame>

**RPC Endpoints**

Once a network is selected, your unique **HTTP** and **WSS** (WebSocket) endpoints are automatically generated.

* **HTTP Endpoint:** Use this for standard JSON-RPC requests (e.g., fetching block data).
* **WSS Endpoint:** Use this for real-time subscriptions and events.

You can view your full **API Key** on the right side of the dashboard.

<Frame>
  <img src="https://mintcdn.com/blockops-3855c227/OGmnNOc7FURsTCyJ/images/api-key-example.png?fit=max&auto=format&n=OGmnNOc7FURsTCyJ&q=85&s=2aa003cb38c6f9cc88c8401f34ff9d9f" alt="RPC Endpoints" width="1208" height="268" data-path="images/api-key-example.png" />
</Frame>

**Authentication**

You can connect to the network using WebSocket or HTTP with your API key in two ways:

* Adding the API key as a query string `?api_key=${APIKEY}`
* Or the request header `-H 'authorization: APIKEY ${APIKEY}'`

**Integration Helper**

The dashboard includes a built-in integration helper. Select a method (e.g., `eth_getBlockByNumber`) and a language (e.g., `bash`, `js`, `python`) to generate a ready-to-use code snippet tailored to your API key.

<Frame>
  <img src="https://mintcdn.com/blockops-3855c227/OGmnNOc7FURsTCyJ/images/blockchain-api-integration.png?fit=max&auto=format&n=OGmnNOc7FURsTCyJ&q=85&s=383314bced495126736bff6aeb5cedaa" alt="Integration Helper" width="1196" height="1382" data-path="images/blockchain-api-integration.png" />
</Frame>

### Rotate API Key

Rotating API keys is important when an unauthorized third party has access to your API key. You have the option to reset it by using the Rotate Key button located in the project dashboard.

<Frame>
  <img src="https://mintcdn.com/blockops-3855c227/OGmnNOc7FURsTCyJ/images/rotate-api-key.png?fit=max&auto=format&n=OGmnNOc7FURsTCyJ&q=85&s=f5aceed4b8251ef1ab4a880a0b288ad3" alt="" width="1162" height="202" data-path="images/rotate-api-key.png" />
</Frame>
