> For the complete documentation index, see [llms.txt](https://pepympus.gitbook.io/pepympus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pepympus.gitbook.io/pepympus.com/methods/getmigrates.md). Agents can also search and read this documentation through its [MCP server](https://pepympus.gitbook.io/pepympus.com/~gitbook/mcp).

# getMigrates

The `getMigrates` method allows you to retrieve information about tokens that have been migrated from Pumpfun to Raydium within a specified time frame.

```arduino
POST https://pepympus.com/api/v1/getMigrates
```

### **Request Body**

The request body should be in JSON format and include the following parameter:

| Parameter | Type      | Description                                                                                 |
| --------- | --------- | ------------------------------------------------------------------------------------------- |
| `hours`   | `integer` | The number of hours to look back for migrations (maximum: 168 hours, equivalent to 7 days). |

**Example Request Body**

```json
{
  "hours": 24
}
```

### **Example Response**

```json
{
  "status": "success",
  "data": {
    "migrations": [
      {
        "token": "ETbDKsJsFXECM2VTeUF3UysdBTb3rpPXZUQrKWrL51yG",
        "timestamp": 1737345234,
      },
      {
        "token": "CGaZ1oYQ4ooyGpPrJRNJRAVSjHoZnjDQPmEqj4pDpump",
        "timestamp": 1737374058,
      },
      ...
    ]
  }
}
```

{% hint style="info" %}
Unfortunately, this page is currently under development and will be updated as new information becomes available. You may notice some discrepancies with the actual development stage. If you encounter any issues, please don’t hesitate to contant us.
{% endhint %}
