Skip to main content
Machine payments let AI agents and developers pay per API call with USDC to access Allium’s blockchain data. No API key, no registration, no subscription — just a wallet and USDC.

No API Key

No registration or key management. Your wallet is your identity.

Pay Per Call

Only pay for what you use. Prices start at $0.001 per request.

Agent-Native

Built for AI agents — autonomous payments with no human in the loop.

Gasless Payments

Allium handles onchain settlement. Users only need USDC, not ETH.

How It Works

Both protocols use HTTP status code 402 Payment Required to negotiate payments inline with API requests. The difference is how much your client handles automatically.
1

Send request

Make a normal API request to any payment-enabled endpoint.
2

Receive 402

The server responds with 402 Payment Required and payment options.
3

Sign and pay

Your client signs a USDC payment authorization and retries the request.
4

Get data

Payment confirmed — you receive your data with a 200 response.

Tempo MPP

Tempo Machine Payment Protocol is the simplest way to make paid API calls. The Client wrapper handles the entire 402 negotiation, signing, and retry flow — you just make requests as normal.
from mpp.client import Client
from mpp.methods.tempo import tempo, TempoAccount, ChargeIntent
from mpp.methods.tempo._defaults import TESTNET_RPC_URL, TESTNET_CHAIN_ID
import os

account = TempoAccount.from_key(os.getenv("YOUR_PRIVATE_KEY"))

async with Client(methods=[
    tempo(
        account=account,
        rpc_url=TESTNET_RPC_URL,
        intents={"charge": ChargeIntent()},
    )
]) as client:
    response = await client.post(
        "https://agents.allium.so/api/v1/developer/prices",
        json=[{"chain": "solana", "token_address": "So11111111111111111111111111111111111111112"}],
    )
    print(response.json())

Tempo MPP

Full setup guide, supported networks, and implementation details

x402

x402 gives you full manual control over the payment flow. Your client receives the 402 response, constructs EIP-712 typed data, signs it via a wallet provider like Privy, and retries with the payment signature attached.

x402

Full setup guide with Privy wallet integration, EIP-712 signing, and implementation

Agent Integration

Don’t want to write any payment code? Install pre-built agent skills and let your AI agent handle everything:
npx skills add allium-labs/skills --yes

Agent Skills

Set up machine payments with AI agents in one command

All Endpoints & Pricing

Endpoints & Pricing

All payment-enabled endpoints, pricing, rate limits, and error codes