> For the complete documentation index, see [llms.txt](https://docs.nansen.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nansen.ai/api/backtesting-data/historical-v1-migration.md).

# Historical endpoint migration to v1

Move ten historical endpoints from /api/v1beta1/ to /api/v1/ before the beta aliases are removed on January 13, 2027.

Ten historical endpoints are stable on `/api/v1/` from October 15, 2026. Their `/api/v1beta1/` aliases are deprecated from that date and are scheduled for removal on January 13, 2027 at 00:00 UTC.

Update your request URL from `/api/v1beta1/` to `/api/v1/` for the endpoints below. Keep your API key, request body, pagination, and response handling. Credit costs are unchanged.

| Endpoint                                             | Credits per call |
| ---------------------------------------------------- | ---------------: |
| `/api/v1/profiler/address/historical-token-balances` |                5 |
| `/api/v1/profiler/address/historical-transactions`   |                5 |
| `/api/v1/profiler/historical-transaction-lookup`     |                5 |
| `/api/v1/smart-money/historical-token-balances`      |               25 |
| `/api/v1/tgm/historical-dex-trades`                  |                5 |
| `/api/v1/tgm/historical-pnl-leaderboard`             |               25 |
| `/api/v1/tgm/historical-token-flow-summary`          |                5 |
| `/api/v1/tgm/historical-token-quant-scores`          |               25 |
| `/api/v1/tgm/historical-top-holders`                 |               25 |
| `/api/v1/tgm/historical-who-bought-sold`             |                5 |

The existing beta aliases remain available during the migration window and return `Deprecation`, `Sunset`, and `Link` headers pointing to this guide. The stable v1 routes do not return route deprecation headers.

See [API Migration](https://docs.nansen.ai/api-migration.md) for the header formats and other API deprecations.

For example, replace `/api/v1beta1/tgm/historical-top-holders` with `/api/v1/tgm/historical-top-holders`.

## Endpoints remaining in beta

Continue using `/api/v1beta1/` for these endpoints. They are outside this migration and do not receive a sunset date here.

* `/api/v1beta1/token-screener/historical`
* `/api/v1beta1/tgm/historical-token-ohlcv`
* `/api/v1beta1/tgm/historical-token-recent-flows-summary-perps`

## Transaction lookup

`/api/v1/profiler/historical-transaction-lookup` stays public. Existing beta callers can migrate with the same body. See [Historical transaction lookup](https://docs.nansen.ai/api/backtesting-data/historical-transaction-lookup.md) for the request and response schema.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nansen.ai/api/backtesting-data/historical-v1-migration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
