> ## Documentation Index
> Fetch the complete documentation index at: https://docs.o1.exchange/llms.txt
> Use this file to discover all available pages before exploring further.

# API migration

> Move from combined query modes to focused collection routes.

The focused routes make every displayed parameter valid for its endpoint. Existing combined request forms remain available during migration and return `Deprecation` and `Link` response headers.

## Route replacements

| Existing request                                                      | Focused route                                           |
| --------------------------------------------------------------------- | ------------------------------------------------------- |
| `GET /tokens?q=...`                                                   | `GET /tokens/search?q=...`                              |
| `GET /tokens?creator=...`                                             | `GET /creators/{address}/tokens`                        |
| `GET /tokens/{chain}/{token}/activity?kind=trades`                    | `GET /tokens/{chain}/{token}/trades`                    |
| `GET /tokens/{chain}/{token}/activity?kind=announcements`             | `GET /tokens/{chain}/{token}/announcements`             |
| `GET /wallets/{address}/claims?kind=fee`                              | `GET /wallets/{address}/fee-claims`                     |
| `GET /wallets/{address}/claims?kind=vesting`                          | `GET /wallets/{address}/vesting`                        |
| `POST /tokens/{chain}/{token}/metadata/prepare` with `update_profile` | `POST /tokens/{chain}/{token}/metadata/profile/prepare` |

Token browsing now uses self-contained sort values: `newest`, `oldest`, `trending`, `liquidity`, `market_cap`, or `volume_24h`. Do not send a separate `order` parameter.

Profile preparation removes the `operation` field. Send `actor` and `profile` directly and continue supplying `Idempotency-Key`.

No sunset date is currently announced. Integrations should migrate to the focused routes so unsupported parameter combinations cannot be constructed.
