# Buy

**To buy a token**, tap “Buy/Sell” and enter the contract address — or just paste it anywhere in the bot.&#x20;

<div align="left"><figure><img src="/files/8VDSoF2N4PQcxq3H9DPT" alt="" width="375"><figcaption></figcaption></figure></div>

After you enter a token’s contract address (e.g `DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263)` you’ll see a quick overview and preset buttons for instant purchases. Tap “Buy X SOL” to enter a custom amount, or customize the presets anytime in the “[Presets](/swoop-solana-bot/settings/presets.md)” section. \
Sell buttons will show up right after your first purchase.

<div align="left"><figure><img src="/files/lK9Yce6canjcfaXmiCpB" alt="" width="375"><figcaption></figcaption></figure></div>

Once the buying is complete, you'll see the window with the transaction information.

<div align="left"><figure><img src="/files/8klP1FICTBN9OTvaM4qn" alt="" width="314"><figcaption></figcaption></figure></div>

<br>


---

# 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://docs.swoop.fun/buy.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.
