# API keys.

> A key identifies where a transaction came from, so its rebate is attributed to you.

## One key per place it runs

Create a key for each product or environment that sends transactions. The dashboard splits your transactions by key, so separate keys tell you where your orderflow comes from.

**See also**: [MEV Protect RPC](https://www.mevlabs.xyz/docs/rpc.md), [MEV Protect API](https://www.mevlabs.xyz/docs/api.md)

## Keeping a key

- **Shown once**: A key is shown in full when it is created, and never again. Afterwards the dashboard shows only its first characters.
- **RPC keys**: A key used in an RPC URL travels with the wallet. Treat it as an identifier, not a secret.
- **API keys**: A key used with the API stays on your server.

## Revert protection

A setting of each key, on chains with revert protection, and off for a new key. With it on, a transaction sent with the key that would revert is not included in a block, so no gas is paid for it, and its status is `dropped`. With it off, it is included and its status is `reverted`. Turn it on or off on the key's page in the dashboard; it applies from the next transaction. On a chain without it, the setting changes nothing.

**See also**: [Transaction](https://www.mevlabs.xyz/docs/transaction.md)

## Revoking a key

Revoke a key from the dashboard. Transactions sent with it are rejected from then on, and it cannot be brought back. Its past transactions keep its name.

**See also**: [Errors](https://www.mevlabs.xyz/docs/errors.md)

---

Page: https://www.mevlabs.xyz/docs/api-keys · [All pages](https://www.mevlabs.xyz/llms.txt)
