Agent API Reference
Everything an AI agent needs to autonomously discover, purchase, and receive digital goods.
Base URL: https://api.gnomon-agent.comllms.txt โAuthentication
All /v1/* endpoints that require auth use a Bearer API key:
Authorization: Bearer YOUR_API_KEYAPI keys are generated by human admins at /settings.
Recommended Loading Sequence
/v1/balance๐ auth requiredCheck balance, quota, and your USDC deposit address./v1/categoriespublicList available product categories./v1/products?category=modelpublicBrowse products in a category./v1/orders๐ auth requiredCreate an order (idempotent)./v1/orders/{id}๐ auth requiredPoll for delivery. Check Retry-After header./v1/referral๐ auth requiredGet referral link and cashback earnings./v1/feedback๐ auth requiredReport missing products or failed purchases.Endpoint Reference
/v1/balance๐ auth requiredReturns the agent's current USDC balance, API quota, and on-chain deposit details. Send native USDC to depositAddress on Polygon to top up autonomously โ balance credits after ~20 confirmations (~40 s).
{
"balanceSmallestUnit": 10000000,
"balanceUsdc": 10.0,
"quotaUsed": 3,
"quotaLimit": 100,
"quotaResetAt": "2026-03-08T00:00:00Z",
"depositAddress": "0xYourUniqueDepositAddress",
"chainId": 137,
"chainName": "Polygon"
}Use native USDC (not USDC.e). Each account has a unique deposit address.
/v1/categoriesLists all available product category slugs.
["information", "model", "proxy", "storage"]
/v1/products?category={slug}Lists products. Omit category to get all products.
[
{
"skuId": "22000000-0000-0000-0000-000000000001",
"slug": "claude-sonnet-1m",
"name": "Claude Sonnet 4.6 โ 1M Tokens",
"description": "...",
"category": "model",
"priceSmallestUnit": 3000000,
"inStock": true
}
]/v1/orders๐ auth requiredCreates an order and deducts balance. Idempotent โ re-submitting the same idempotencyKey returns the original order.
Request body:
{
"skuId": "22000000-0000-0000-0000-000000000001",
"quantity": 1,
"idempotencyKey": "<client-generated-uuid>"
}Response:
{ "orderId": "<order-id>", "status": "Completed" }/v1/orders/{id}๐ auth requiredPoll for order status. Check the Retry-After response header for the recommended interval (seconds).
{
"orderId": "<order-id>",
"status": "Completed",
"delivery": "ANTHROPIC_API_KEY=sk-ant-..."
}Statuses: Pending ยท Processing ยท Completed ยท Failed
/v1/referral๐ auth requiredReturns your referral code, shareable link, and cashback earnings. When a referred user tops up, you receive 10% cashback added to your balance automatically.
{
"referralCode": "GN-ABCD1234",
"referralUrl": "https://www.gnomon-agent.com/?ref=GN-ABCD1234",
"cashbackRate": 0.10,
"cashbackRatePct": "10%",
"totalCashbackEarned": 1000000,
"totalCashbackEarnedUsdc": 1.0,
"refereeCount": 3
}/v1/feedback๐ auth requiredSubmit feedback when a purchase fails, a product is missing, or you have suggestions. Gnomon uses agent feedback to grow the catalog โ use this proactively.
Categories: missing_product ยท purchase_failed ยท quality_issue ยท other
Request body:
{
"category": "missing_product",
"message": "I need GPT-4 API token credits โ not in the catalog.",
"context": { "searchedFor": "openai", "budget": 20 }
}Response:
{ "id": "<uuid>", "status": "received" }Product Catalog
For illustration only โ actual products, prices, and availability may differ.Information
brave-search-1kBrave Search โ 1,000 Queries$5.00polygon-io-10kPolygon.io Market Data โ 10,000 Calls$10.00Model
claude-sonnet-1mClaude Sonnet 4.6 โ 1M Tokens$3.00claude-haiku-1mClaude Haiku 4.5 โ 1M Tokens$0.80deepseek-v3-1mDeepSeek V3 โ 1M Tokens$0.27Proxy
socks5-us-30dUS Socks5 Proxy โ 30 Days$5.00socks5-jp-30dJapan Socks5 Proxy โ 30 Days$5.00Storage
s3-storage-10gbS3-Compatible Object Storage โ 10 GB/Month$2.00Autonomous Top-Up
An agent can top up its own balance on-chain without any human intervention.
- Call
GET /v1/balanceโ readdepositAddressandchainId - Send native USDC to
depositAddresson Polygon (chainId 137) from your own wallet - Poll
GET /v1/balanceuntilbalanceUsdcincreases (~40 s after confirmation)
Claude MCP Install
claude mcp add gnomon -e GNOMON_API_KEY=YOUR_KEY -- npx -y @gnomon-ai-agent/mcpOnce installed, Claude agents can browse and purchase products without leaving the conversation.