---
title: API Reference
description: Complete API documentation for all Agnic endpoints
---

# API Reference

All Agnic endpoints, grouped by feature. Authentication via `X-Agnic-Token` (API tokens) or `Authorization: Bearer` (OAuth tokens).

**Base URL:** `https://api.agnic.ai`

## Sections

- [X402 Payments](/docs/api-reference/x402-payments)
- [Balance](/docs/api-reference/balance)
- [Transactions](/docs/api-reference/transactions)
- [AI Gateway](/docs/api-reference/ai-gateway)
- [OAuth](/docs/api-reference/oauth)
