# Authentication

Every request to the REST API and to the hosted MCP server carries an API key in the `Authorization` header.

```
Authorization: Bearer ex_your_key
```

## Keys

- Created and revoked at https://extractivio.com/account.
- Start with `ex_`. The full key is shown once, at creation. Only a hash is stored, so a lost key cannot be recovered: revoke it and create a new one.
- An account can have up to 10 active keys.
- A key gives access to the account's quota and stored conversions. Treat it like a password. Do not put it in client-side code, in a public repository or in a prompt that is logged.

## Plans

| Plan | API and hosted MCP | Pages per month |
| --- | --- | --- |
| Free | No | 0 |
| Pro | Yes | 500 |
| Business | Yes | 5,000 |

The quota is shared between the REST API, the hosted MCP server and (on Business) email imports. It resets on the first day of each calendar month, UTC.

The local MCP server and the converter on the website need no key and use no quota.

## Failures

| HTTP status | Code | Meaning |
| --- | --- | --- |
| 401 | `unauthorized` | The header is missing, malformed, or the key was revoked. |
| 403 | `plan_required` | The key belongs to an account on the Free plan. |

If a key stops working after a plan change, check the plan on the account page: downgrading to Free disables API access but does not delete the keys.
