---
title: "API Keys & Applications"
description: "Manage your API keys and applications on BlockReq"
url: "https://blockreq.com/docs/getting-started/api-keys/"
---

# API Keys & Applications

API keys are used to authenticate your requests to BlockReq's RPC endpoints. Each endpoint you create comes with its own API key.

## Getting Your API Key

### From the Dashboard

1. Sign in to [BlockReq Dashboard](https://blockreq.com/dashboard)
2. Go to **[Settings](https://blockreq.com/dashboard/settings)** in the left sidebar
3. Your API keys are listed under the **API Keys** section
4. Click the copy icon to copy any key

### From an Endpoint

Each endpoint displays its API key, HTTPS URL, and WSS URL. Navigate to **[Endpoints](https://blockreq.com/dashboard/endpoint)** to view all your endpoints.

## Creating an Application (Endpoint)

An endpoint is your gateway to a specific blockchain network. To create one:

1. Go to **[Endpoints](https://blockreq.com/dashboard/endpoint)**
2. Click **+ Add Endpoint**
3. Select a blockchain network
4. (Optional) Give it a descriptive name
5. Your endpoint is ready — copy the RPC URL and start building

See [Create Your First Endpoint](https://blockreq.com/docs/getting-started/create-endpoint/index.md) for a detailed walkthrough with code examples.

## Using Your API Key

Replace `BRQ1P0000000000000000000000000000000000000000000000000000000` in the endpoint URL:

```
HTTPS: https://ethereum-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000
WSS:   wss://ethereum-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000
```

### Quick Example

```bash
curl -X POST https://ethereum-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000 \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
```

## Programmatic Management

Management REST lives on Web. Use a Management API Key as `Authorization: Bearer akv1_...` — the same owner as a dashboard session. See the [BlockReq API](https://blockreq.com/docs/build/api-reference/blockreq-api/index.md).

| Operation       | Path                                 |
| --------------- | ------------------------------------ |
| List networks   | `GET /api/dashboard/chains`          |
| Create endpoint | `POST /api/dashboard/endpoints`      |
| List endpoints  | `GET /api/dashboard/endpoints`       |
| Delete endpoint | `DELETE /api/dashboard/endpoints`    |
| Usage stats     | `GET /api/dashboard/endpoints/stats` |

## Security Best Practices

- **Never expose API keys in client-side code** — use a backend proxy
- **Rotate keys** by creating a new endpoint and updating your configuration
- **Use separate endpoints** for development, staging, and production
- **Monitor usage** on the [Dashboard](https://blockreq.com/dashboard) to detect unusual activity
