Skip to main content

Documentation Index

Fetch the complete documentation index at: https://crushrewards.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

The Micropayment Protocol (MPP) is a hosted alternative to x402. Tempo manages the wallet, settlement, and key custody so your agent never touches crypto directly.

When to use MPP instead of x402

Pick MPP if any of these apply:
  • Your agent runs in an environment where you can’t safely manage signing keys (e.g. browser extensions, server-side LLM calls without a wallet provider).
  • You want a single funded balance shared across many agents in your org, with usage analytics in one dashboard.
  • You’re already using Tempo for other agentic API integrations.

How it works

The session token is bound to your Tempo account. Each request debits the per-call price from your balance.

Using mppx

Install the Tempo client:
npm install mppx
import { MppClient } from "mppx";

const mpp = new MppClient({ apiKey: process.env.TEMPO_API_KEY });

const session = await mpp.openSession({
  recipient: "<recipient-from-discovery>",
  maxSpend: "1.00",
});

const res = await fetch(
  "https://api.crushrewards.dev/v1/shopper/best-price?q=airpods+pro&country=US",
  { headers: { "X-MPP-Session": session.token } }
);

Pricing

MPP pricing matches x402 exactly — $0.01 for shopper/marketing endpoints, $0.02 for analyst endpoints. Tempo does not charge a markup on per-request fees, but they do require a minimum prepaid balance to open a session.

Funding

Top up your Tempo balance via the Tempo dashboard using a credit card, ACH, or USDC deposit. Balance applies across all MPP-enabled APIs, not just Crush Rewards.