# Send your users' transactions through MEV Protect.

> A private mempool for wallets, DEXs and CEXs. Transactions are kept out of the public mempool, backrun by us, and the profit comes back to you as a rebate.

## What it does

Four things happen to a transaction you send through MEV Protect.

- **Integrate**: You connect through the MEV Protect RPC or the MEV Protect API. Every transaction is tagged with the key it came in with.
- **Protect**: The transaction goes to our private mempool, never the public one. It is protected from frontrunning and sandwich attacks.
- **Backrun**: It executes first, exactly as signed. We then backrun it. We never frontrun and never sandwich.
- **Rebate**: When a backrun succeeds, your share is sent on-chain to the address you gave us, on the terms in your partner agreement.

## Two ways in

Both give the same protection and the same rebates. Pick the one that matches where your transactions are sent from.

- **MEV Protect RPC**: For wallets. A standard JSON-RPC endpoint: change the RPC URL and nothing else.
- **MEV Protect API**: For DEXs, CEXs and apps that send transactions from their own backend. Submit signed transactions over HTTPS or a WebSocket and read back what happened to each.

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

## Where to go next

- **Quickstart**: From a key to a first protected transaction.
- **Rebates**: How a rebate is attributed, paid and checked.
- **Transaction**: What every answer holds, and what each status means.

## Documentation

- [Quickstart](https://www.mevlabs.xyz/docs/quickstart.md): From a key to a first protected transaction, in four steps.
- [Rebates](https://www.mevlabs.xyz/docs/rebates.md): How a rebate is attributed, paid and checked.
- [MEV Protect RPC](https://www.mevlabs.xyz/docs/rpc.md): A drop-in RPC endpoint for a wallet. Transactions sent through it go to our private mempool instead of the public one.
- [MEV Protect API](https://www.mevlabs.xyz/docs/api.md): A server-to-server path for platforms that send transactions from their own backend: one base URL per chain, one key for all of them.
- [Webhooks](https://www.mevlabs.xyz/docs/webhooks.md): We post an event to your endpoint when a transaction changes. Set endpoints and choose their events in the dashboard, under Webhooks.
- [API keys](https://www.mevlabs.xyz/docs/api-keys.md): A key identifies where a transaction came from, so its rebate is attributed to you.
- [Transaction](https://www.mevlabs.xyz/docs/transaction.md): What the API and webhooks return for a transaction, one shape everywhere, and what each of its statuses means.
- [Errors](https://www.mevlabs.xyz/docs/errors.md): A request that is refused comes back with an HTTP status and the same body every time: a code to act on and a message to read.

---

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