# what-is-mev

:robot: MEV is the potential profit that can be generated by a trade. MEV-BOT-AI is a tool that allows users to deploy their trading bots to capitalize on MEV opportunities. Sandwich attacks involve placing two orders above and below the current price of an asset, allowing the user to capture MEV when the asset moves in either direction.&#x20;

![](/files/Rm5t14tX8rooTMt6RHkG)The Codeless User Interface allows users to deploy contracts to capture MEV without the need to write code.

{% hint style="info" %}
**Good to know:** This API method was auto-generated from an example Swagger file. You'll see that it's not editable – that's because the contents are synced to a URL! Any time the linked file changes, the documentation will change too.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mev-bot-ai.gitbook.io/mev-bot-ai-docs/ecosystem/what-is-mev.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
