Skip to main content
For AI agents: a documentation index is available at https://docs.parallel.ai/llms.txt. The full text of all docs is at https://docs.parallel.ai/llms-full.txt. You may also fetch any page as Markdown by appending .md to its URL or sending Accept: text/markdown.
Integrate Parallel with Tempo and the Machine Payments Protocol (MPP) to enable AI agents to autonomously pay for and access Parallel’s web research APIs. MPP supports payments integration with Stripe and Tempo stablecoins (pathUSD / USDC).

Overview

The Machine Payments Protocol (MPP) is an open protocol that enables machine-to-machine payments over HTTP. MPP allows AI agents to pay for services programmatically using the HTTP 402 Payment Required status code. The Parallel MPP gateway at parallelmpp.dev exposes Parallel’s Search, Extract, and Task APIs with pay-per-use pricing. You can pay using:
  • Stripe: Pay with a credit card — no crypto wallet required
  • Tempo stablecoins: Pay with pathUSD or USDC on the Tempo blockchain for sub-millidollar transaction fees
  • x402: Pay with USDC on Base using the x402 protocol
When combined with Parallel, your agents can:
  • Pay for web services autonomously: Agents discover, negotiate, and settle payments without human intervention
  • Use micropayments: Per-request pricing starting at $0.01 for search and extract
  • Access paid APIs and data: Agents can pay for premium data sources, compute, and services during task execution
  • Handle the full payment lifecycle: The mppx CLI automatically handles 402 challenges, signs payment credentials, and retries requests

How MPP works

MPP uses a challenge-response flow built on standard HTTP semantics:
  1. An agent requests a resource from the Parallel MPP gateway
  2. The gateway returns 402 Payment Required with payment details (amount, recipient, currency)
  3. The mppx client signs a payment credential (via Stripe or Tempo wallet)
  4. The agent retries the request with the signed credential attached
  5. The gateway verifies payment and returns the requested data
The mppx CLI handles the entire 402 challenge-response flow automatically. You don’t need to manage the payment flow manually.

Available endpoints

The Parallel MPP gateway at https://parallelmpp.dev exposes the following endpoints:

Free endpoints

Getting started

Option 1: Pay with Stripe

Set up mppx with Stripe to pay using a credit card — no crypto wallet needed.

Option 2: Pay with Tempo stablecoins (pathUSD / USDC)

Set up a Tempo wallet to pay with pathUSD or USDC on the Tempo blockchain.
Fund your wallet with pathUSD or USDC via exchange or bridge on Tempo.

Option 3: Pay with x402

Install purl to pay with USDC on Base via the x402 protocol.
Fund your wallet with USDC on Base via exchange or bridge.

Make paid requests

Once your account is set up, use mppx to call Parallel APIs. The 402 payment flow is handled automatically.

Poll async task results

The /api/task endpoint is async and can take 1–5+ minutes. Poll with the returned run_id until status === "completed":
Use exponential backoff when polling: 10s, 20s, 30s, capped at 60s.

Important notes

  • Rate limit: 60 requests/minute per IP. Space out calls and handle 429 responses with the Retry-After header.
  • Async tasks: POST /api/task is async and can take 1–5+ minutes. Always implement polling with the returned run_id.
  • Persistent run IDs: The run_id from /api/task is persistent — save it so the user or agent can check results later.
  • Free polling: GET /api/task/{run_id} and GET /api/wallet/balance/{address} are free (no payment required).
  • Self-discovery: GET /api returns the full API schema as JSON. Agents can use this to discover available endpoints.
  • Automatic payment handling: npx mppx auto-handles the 402 → sign → retry flow. You don’t need to manage payment manually.
Links:

Claude skill

You can add Parallel’s MPP integration as a Claude skill so that Claude Code automatically uses Parallel’s search, extract, and task APIs instead of its built-in web tools.

Set up the skill

1

Create the directory structure

In the root of your project, create the following folder structure:
Run these commands from your project root:
2

Create the SKILL.md file

Create the file .claude/skills/parallel-mpp/SKILL.md and paste the content below.
3

Set up mppx

Make sure mppx is available in your environment. Claude will run npx mppx commands to handle payments:
4

Start using it

Once the skill is in place, Claude Code will automatically pick it up. Ask Claude to search the web, extract data from URLs, or run deep research tasks and it will use Parallel’s APIs via MPP.

SKILL.md contents

Copy and paste the following into .claude/skills/parallel-mpp/SKILL.md:

Try it out

Want to experiment with MPP and see autonomous agent payments in action? Visit the Parallel MPP agents demo to explore how AI agents can discover and pay for Parallel’s web research APIs using the Machine Payments Protocol.