# Pump.fun

{% hint style="info" %}
Our Pump.fun and PumpSwap endpoints use dedicated regional DNS entries optimized for fast data ingress through the OFR shred stream. You can find those endpoints [here](https://docs.bloxroute.com/solana/introduction/regions#pumpfun-endpoints).
{% endhint %}

## Methods

#### [`quotes`](https://docs.bloxroute.com/solana/trader-api/api-endpoints/pump.fun/quotes)

Get a Pump.fun price quote for the specified tokens.

***

#### [`swap`](https://docs.bloxroute.com/solana/trader-api/api-endpoints/pump.fun/swap)

Create an unsigned transaction for the best available Pump.fun swap across the specified tokens.

***

#### [`swap-sol`](https://docs.bloxroute.com/solana/trader-api/api-endpoints/pump.fun/swap-sol)

Create an unsigned transaction for the best available Pump.fun swap using SOL-based input or output tokens.

***

#### [`amm/quotes`](https://docs.bloxroute.com/solana/trader-api/api-endpoints/pump.fun/amm-quotes)

Get a price quote from the native `swap.pump.fun` liquidity pool for the specified tokens.

***

#### [`amm/swap`](https://docs.bloxroute.com/solana/trader-api/api-endpoints/pump.fun/amm-swap)

Create an unsigned transaction for the best available swap through the native `swap.pump.fun` liquidity pool.

## Streams

#### [`GetPumpFunNewTokensStream`](https://docs.bloxroute.com/solana/trader-api/api-endpoints/pump.fun/getpumpfunnewtokensstream)

Stream new Pump.fun token creation events.

***

#### [`GetPumpFunSwapsStream`](https://docs.bloxroute.com/solana/trader-api/api-endpoints/pump.fun/getpumpfunswapsstream)

Stream Pump.fun swap events.

***

#### [`GetPumpFunAMMSwapsStream`](https://docs.bloxroute.com/solana/trader-api/api-endpoints/pump.fun/getpumpfunammswapsstream)

Stream Pump.fun AMM swap events.

***

#### [`GetPumpFunNewAmmPoolStream`](https://docs.bloxroute.com/solana/trader-api/api-endpoints/pump.fun/getpumpfunnewammpoolstream)

Stream Pump.fun AMM new pool events.


---

# 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.bloxroute.com/solana/trader-api/api-endpoints/pump.fun.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.
