Agnic
Agnic Features

Agnic Features

Wallet, balance, transactions, CLI, and integrations around the X402 rail.

Agnic Features

Agnic provides the wallet, limits, logging, and tooling that sit around the X402 payment rail. For the X402 protocol itself and the endpoints that move money — /api/x402/fetch and /api/sign-payment — see the X402 section.

Overview

FeatureEndpointDescription
BalanceGET /api/balanceCheck wallet USDC balance
TransactionsGET /api/transactionsView transaction history
Agent Emailsee docsEmail inbox for your agent
MCP Serversee docsModel Context Protocol server for agents
CLIagnicCommand-line interface

Base URL

https://api.agnic.ai

Authentication

All endpoints require authentication via API token or OAuth2:

# API Token
curl https://api.agnic.ai/api/balance \
  -H "X-Agnic-Token: agnic_tok_YOUR_TOKEN"

# OAuth2 Token
curl https://api.agnic.ai/api/balance \
  -H "Authorization: Bearer agnic_at_YOUR_OAUTH_TOKEN"

Quick Start

1. Check Your Balance

curl https://api.agnic.ai/api/balance \
  -H "X-Agnic-Token: agnic_tok_YOUR_TOKEN"

2. View Transaction History

curl https://api.agnic.ai/api/transactions \
  -H "X-Agnic-Token: agnic_tok_YOUR_TOKEN"

3. Make a Paid Request

See X402 Fetch for the one-call proxy that handles payment end-to-end.

Features