> Feedback: If these docs are stale, missing, or confusing, post sanitized feedback to `https://docs.tempo.xyz/api/feedback` with `source: "mcp"`, a short `message`, and any relevant `toolName`, `relatedResource`, or `client`.
# Pay for blockchain data and analytics

Access on-chain data — token prices, wallet analytics, DEX trades, stablecoin flows, and smart contract events — from any MPP-enabled blockchain data provider. Pay per query with stablecoins on Tempo.

## The problem

Blockchain data APIs gate access behind API keys, developer accounts, and monthly subscription tiers. Agents that need to query multiple providers — one for wallet balances, another for DEX analytics, a third for historical prices — must manage separate credentials and billing for each. Free tiers run out fast, and upgrading means committing to monthly plans before knowing actual usage.

## How MPP solves it

With MPP, your agent pays per query. No accounts, no API keys, no tier commitments. The agent calls any blockchain data provider, pays with a stablecoin transfer on Tempo, and gets the data back in the same response.

**Tempo Charge** is a natural fit for data queries: each request has a known cost, settlement takes ~500ms, and the agent only pays for queries it actually makes.

## Available services

| Provider | Data | Service URL |
|---|---|---|
| [Alchemy](https://mpp.alchemy.com) | Core RPC, prices, portfolios, NFTs across 100+ chains | `mpp.alchemy.com` |
| [Allium](https://agents.allium.so) | Token prices, wallet balances, transactions, PnL, SQL | `agents.allium.so` |
| [Nansen](https://api.nansen.ai) | Smart money, wallet profiling, DEX trades, flow analysis | `api.nansen.ai` |
| [Dune](https://api.dune.com) | Raw transactions, decoded events, stablecoin flows, DeFi | `api.dune.com` |
| [Codex](https://graph.codex.io) | Token data, prediction markets, charts, wallet analytics | `graph.codex.io` |

## Try it

```bash
# Install Tempo CLI + wallet
curl -L https://tempo.xyz/install | bash && tempo add request && tempo wallet login

# Query blockchain data via Alchemy
tempo request mpp.alchemy.com/v2 \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
```

## Prompt your agent

```
Use agents.allium.so to query token prices and wallet balances via Tempo.
Pay per query with stablecoins — no API key needed.
```

## Next steps

<Cards>
  <Card icon="lucide:credit-card" title="Accept one-time payments" description="Build a payment-gated data API" to="/docs/guide/machine-payments/one-time-payments" />

  <Card icon="lucide:bot" title="Agent quickstart" description="Set up your agent to discover and pay for services" to="/docs/guide/machine-payments/agent" />

  <Card icon="lucide:globe" title="Browse all services" description="85+ MPP-enabled services in the directory" to="https://mpp.dev/services" />
</Cards>
