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

# Legacy Schemas

> Generated operation schema index for Legacy. Includes 0xArchive route contracts, success schemas, deprecation labels, and linked operation schema pages.

Source OpenAPI: 0xArchive API 1.8.0; 227 paths; 217 component schemas.

Use this page to find Legacy operation schemas by method and path. Open an operation schema for the raw JSON shape, or use Endpoint Reference for the full request and response page. Deprecated compatibility routes also link to their Endpoint Reference pages so crawlers and humans can reach the legacy API reference from the schema hub.

<Warning>
  These flat compatibility routes are deprecated. Replacement routes are available now under `/v1/hyperliquid/*` (or `/v1/lighter/*` for Lighter); use those for new integrations. This is a path and routing change only, not a data change: the underlying market data is unchanged. Sunset timing is not finalized and depends on remaining usage; these routes stay live until then.
</Warning>

| Deprecated route | Replacement |
| - | - |
| `GET /v1/orderbook/{symbol}` (and `/history`) | `/v1/hyperliquid/orderbook/{symbol}` for the native snapshot, `/l2` for full-depth aggregated L2, or `/l4` for order-level reconstruction |
| `GET /v1/trades/{symbol}` (and `/cursor`) | `/v1/hyperliquid/trades/{symbol}` |
| `GET /v1/funding/{symbol}` (and `/current`) | `/v1/hyperliquid/funding/{symbol}` |
| `GET /v1/openinterest/{symbol}` (and `/current`) | `/v1/hyperliquid/openinterest/{symbol}` |
| `GET /v1/instruments` (and `/{symbol}`) | `/v1/hyperliquid/instruments` |

All five have a Lighter equivalent under `/v1/lighter/*` as well. See [Migrate from a native venue API](/guides/migrate-from-native-api) for a broader migration plan, or open a route below for its exact replacement and deprecation note.

| Method | Path | operationId | Endpoint reference | Success schema | Deprecated |
| - | - | - | - | - | - |
| `GET` | `/v1/funding/{symbol}` | [getFundingHistory](/schemas/operations/get-funding-history) | [Endpoint Reference](/api-reference/legacy/get-funding-rate-history-deprecated) | ApiResponseFundingRateArray | yes |
| `GET` | `/v1/funding/{symbol}/current` | [getCurrentFunding](/schemas/operations/get-current-funding) | [Endpoint Reference](/api-reference/legacy/get-current-funding-rate-deprecated) | ApiResponseFundingRate | yes |
| `GET` | `/v1/instruments` | [listInstruments](/schemas/operations/list-instruments) | [Endpoint Reference](/api-reference/legacy/list-instruments-deprecated) | ApiResponseInstrumentArray | yes |
| `GET` | `/v1/instruments/{symbol}` | [getInstrument](/schemas/operations/get-instrument) | [Endpoint Reference](/api-reference/legacy/get-instrument-deprecated) | ApiResponseInstrument | yes |
| `GET` | `/v1/openinterest/{symbol}` | [getOpenInterest](/schemas/operations/get-open-interest) | [Endpoint Reference](/api-reference/legacy/get-open-interest-history-deprecated) | ApiResponseOpenInterestArray | yes |
| `GET` | `/v1/openinterest/{symbol}/current` | [getCurrentOpenInterest](/schemas/operations/get-current-open-interest) | [Endpoint Reference](/api-reference/legacy/get-current-open-interest-deprecated) | ApiResponseOpenInterest | yes |
| `GET` | `/v1/orderbook/{symbol}` | [getOrderbook](/schemas/operations/get-orderbook) | [Endpoint Reference](/api-reference/legacy/get-order-book-deprecated) | ApiResponseOrderBook | yes |
| `GET` | `/v1/orderbook/{symbol}/history` | [getOrderbookHistory](/schemas/operations/get-orderbook-history) | [Endpoint Reference](/api-reference/legacy/get-order-book-history-deprecated) | ApiResponseOrderBookArray | yes |
| `GET` | `/v1/trades/{symbol}` | [getTrades](/schemas/operations/get-trades) | [Endpoint Reference](/api-reference/legacy/get-trades-deprecated) | ApiResponseTradeArray | yes |
| `GET` | `/v1/trades/{symbol}/cursor` | [getTradesCursor](/schemas/operations/get-trades-cursor) | [Endpoint Reference](/api-reference/legacy/get-trades-with-cursor-pagination-deprecated) | ApiResponseTradeArray | yes |
| `POST` | `/v1/web3/signup` | [web3Signup](/schemas/operations/web3-signup) | [Endpoint Reference](/api-reference/web3-authentication/create-free-tier-account-and-api-key) | No 2xx schema documented | yes |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.