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

# API Reference

> Reference documentation for the Value Transfer API endpoints, authentication, and error handling.

The Value Transfer API provides endpoints for cross-chain token transfers across 150+ blockchains. The API uses REST principles, returns JSON responses, and uses standard HTTP status codes.

```
https://transfer.layerzero-api.com/v1
```

***

## Reference

### Endpoints

#### Discovery

* [Chains](/v2/developers/value-transfer-api/api-reference/chains) — List supported blockchain networks
* [Tokens](/v2/developers/value-transfer-api/api-reference/tokens) — Discover transferrable tokens and validate transfer routes
* [Metadata](/v2/developers/value-transfer-api/api-reference/metadata) — Retrieve deployment addresses by chain

#### Transfers

* [Quotes](/v2/developers/value-transfer-api/api-reference/quotes) — Request transfer quotes with fees and execution steps
* [Build user steps](/v2/developers/value-transfer-api/api-reference/build-user-steps) — Generate fresh transaction data for Solana transfers
* [Submit signature](/v2/developers/value-transfer-api/api-reference/submit-signature) — Submit EIP-712 signatures for intent-based routes
* [Status](/v2/developers/value-transfer-api/api-reference/status) — Track transfer progress and completion

## Authentication

Transfer endpoints require an API key passed via the `x-api-key` header:

```bash wrap theme={null}
curl -X POST "https://transfer.layerzero-api.com/v1/quotes" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{ ... }'
```

| Endpoint                 | Auth required |
| ------------------------ | ------------- |
| `GET /chains`            | No            |
| `GET /tokens`            | No            |
| `GET /metadata`          | No            |
| `POST /quotes`           | Yes           |
| `POST /build-user-steps` | Yes           |
| `POST /submit-signature` | Yes           |
| `GET /status/{quoteId}`  | Yes           |

Requests to authenticated endpoints without a valid API key return:

```json wrap theme={null}
{
  "error": "Unauthorized"
}
```

## Pagination

Endpoints that return lists support cursor-based pagination using `pagination[nextToken]`:

```bash wrap theme={null}
curl "https://transfer.layerzero-api.com/v1/tokens?pagination%5BnextToken%5D=abc123"
```

The response includes a `pagination` object with `nextToken` if more results exist:

```json wrap theme={null}
{
  "tokens": [...],
  "pagination": {
    "nextToken": "def456"
  }
}
```

Continue fetching until `pagination.nextToken` is `undefined` or absent.
