# Pinax API

> Real-time Token API, prediction market, and perp exchange data.

- Base URL: https://api.pinax.network
- Most endpoints require `Authorization: Bearer <token>` from The Graph Market, or `X-Api-Key`.
- Network support is configuration-driven — call `GET /v1/networks` first to see what's indexed.

## Core references

- [OpenAPI specification](https://api.pinax.network/openapi): Authoritative machine-readable contract — use for schemas and parameters.
- [x402 discovery](https://api.pinax.network/.well-known/x402): Machine-readable payment discovery metadata; x402 enforcement is handled at the proxy layer.
- [Pinax API skill](https://api.pinax.network/SKILL.md): Endpoint catalog, conventions, and worked examples for agents.
- [Quick start](https://app.pinax.network/docs): Setup and first requests.
- [FAQ](https://app.pinax.network/help): Plans, billing, authentication.

## Free endpoints

No authentication required, no usage charge.

- [llms.txt](https://api.pinax.network/llms.txt): This file.
- [OpenAPI](https://api.pinax.network/openapi): Authoritative machine-readable contract for all endpoints.
- [x402 discovery](https://api.pinax.network/.well-known/x402): Proxy-layer x402 payment discovery metadata (`/x402.json` alias also works).
- [SKILL.md](https://api.pinax.network/SKILL.md): Pinax API skill (`/skills/SKILL.md`, `/SKILLS.md`, `/skills.md`, and `/skill.md` aliases also work).
- [Health](https://api.pinax.network/v1/health): Database connectivity status.
- [Version](https://api.pinax.network/v1/version): Build version, date, commit.
- [Networks](https://api.pinax.network/v1/networks): Indexed chains and per-category indexing freshness.
- [EVM DEXes](https://api.pinax.network/v1/evm/dexes): Supported EVM DEX protocols by network.
- [SVM DEXes](https://api.pinax.network/v1/svm/dexes): Supported SVM DEX protocols by network.
- [TVM DEXes](https://api.pinax.network/v1/tvm/dexes): Supported TVM DEX protocols by network.
- [Polymarket markets](https://api.pinax.network/v1/polymarket/markets): Public prediction market discovery.
- [Hyperliquid DEXes](https://api.pinax.network/v1/hyperliquid/dexes): Hyperliquid core perps, spot, and builder-deployed DEXes.
- [Hyperliquid markets](https://api.pinax.network/v1/hyperliquid/markets): Public market discovery across Hyperliquid core perps, spot, and builder-deployed DEXes.
