Skip to main content
All endpoints below are accessible via machine payments at https://agents.allium.so. No API key needed — pay with USDC using Tempo MPP or x402. All calls are priced individually. No subscription, no minimum spend.

Install allium-cli

CLI commands require allium-cli:
curl -sSL https://agents.allium.so/cli/install.sh | sh

Supported Chains Discovery

Check which chains each endpoint supports. This endpoint is free — no payment required.
curl "https://agents.allium.so/api/v1/supported-chains/realtime-apis/simple"
Returns a map of endpoint path to supported chain names. Call once per session and cache the result.

Realtime API

Prices

CLI CommandMethodEndpointCostDescription
allium realtime prices latestPOST/api/v1/developer/prices$0.02Get latest token prices
allium realtime prices at-timestampPOST/api/v1/developer/prices/at-timestamp$0.02Get token prices at a specific time
allium realtime prices historyPOST/api/v1/developer/prices/history$0.02Get historical token price series
allium realtime prices statsPOST/api/v1/developer/prices/stats$0.02Get token price statistics

Tokens

CLI CommandMethodEndpointCostDescription
allium realtime tokens searchGET/api/v1/developer/tokens/search$0.03Search tokens by name or symbol
allium realtime tokens chain-addressPOST/api/v1/developer/tokens/chain-address$0.02Look up tokens by chain and address
allium realtime tokens listGET/api/v1/developer/tokens$0.03List all supported tokens

Wallets

CLI CommandMethodEndpointCostDescription
allium realtime balances latestPOST/api/v1/developer/wallet/balances$0.03Get current wallet token balances
allium realtime balances historyPOST/api/v1/developer/wallet/balances/history$0.03Get historical wallet balances
allium realtime transactionsPOST/api/v1/developer/wallet/transactions$0.03Get wallet transaction history
allium realtime pnlPOST/api/v1/developer/wallet/pnl$0.03Get wallet profit and loss

Explorer API

The Explorer API is also available via machine payments. The run-sql endpoint uses machine payments auth directly. The remaining Explorer endpoints (run, status, results) require API key authentication.
CLI CommandMethodEndpointCostAuthDescription
allium explorer run-sqlPOST/api/v1/explorer/queries/run-async$0.01Machine paymentsSubmit raw SQL for async execution
allium explorer runPOST/api/v1/explorer/queries/{query_id}/run-async$0.01API keyRun a saved query asynchronously
allium explorer statusGET/api/v1/explorer/query-runs/{run_id}/status$0.01API keyCheck status of a query run
allium explorer resultsGET/api/v1/explorer/query-runs/{run_id}/resultsdynamicAPI keyFetch results of a completed query

Supported Networks

ProtocolNetworkUSDC Address
Tempo MPPTempo (mainnet)0x20c000000000000000000000b9537d11c60e8b50
x402Base (mainnet)0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
x402Solana (mainnet)EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

Rate Limits

Two independent rate limit buckets per wallet. You can max out both simultaneously.
BucketEndpointsLimit
DataAll /developer/ endpoints3 requests/second
DocsAll /docs/ endpoints5 requests/second
Exceeding either limit returns HTTP 429. Wait 1 second before retrying.

Error Codes

StatusMeaningWhat to Do
400Bad requestCheck JSON syntax
402Payment requiredSign the payment and retry (handled automatically by Tempo MPP)
422Validation failedCheck request format
429Rate limitedBack off for 1 second
500Server errorRetry with exponential backoff