> For the complete documentation index, see [llms.txt](https://raiden-4.gitbook.io/raiden.wtf.docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://raiden-4.gitbook.io/raiden.wtf.docs/bolt-low-latency/authentication/http-authentication.md).

# HTTP Authentication

API key authentication for HTTP endpoints

All HTTP/HTTPS requests require your API key in the `api-x-token` header.

## Header

```
api-x-token: YOUR_API_KEY
```

## Example

```bash
curl -X POST http://fra.bolt.raiden.wtf/api/v1/sendTransaction \
  -H "Content-Type: application/json" \
  -H "api-x-token: rdn_a1b2c3d4e5f6..." \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "sendTransaction",
    "params": ["BASE64_TX_DATA"]
  }'
```

{% hint style="warning" %}
Keep your API key secret. Never share it publicly or commit it to version control.
{% endhint %}

## Error Responses

| HTTP Status | Error Code | Meaning                              |
| ----------- | ---------- | ------------------------------------ |
| `401`       | `-32000`   | Missing or invalid API key           |
| `429`       | `-32005`   | Rate limit exceeded for your account |
