Documentation Index
Fetch the complete documentation index at: https://docs.parallel.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
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).
.md to its URL or sending Accept: text/markdown.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 HTTP402 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
- 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
mppxCLI automatically handles402challenges, signs payment credentials, and retries requests
How MPP works
MPP uses a challenge-response flow built on standard HTTP semantics:- An agent requests a resource from the Parallel MPP gateway
- The gateway returns
402 Payment Requiredwith payment details (amount, recipient, currency) - The
mppxclient signs a payment credential (via Stripe or Tempo wallet) - The agent retries the request with the signed credential attached
- 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 athttps://parallelmpp.dev exposes the following endpoints:
Paid endpoints
| Endpoint | Method | Price | Description |
|---|---|---|---|
/api/search | POST | $0.01 | Web search with structured results and excerpts |
/api/extract | POST | $0.01/url | Extract data from URLs with an optional objective |
/api/task | POST | 0.30 (ultra) | Deep async research task requiring polling |
Free endpoints
| Endpoint | Method | Description |
|---|---|---|
/api | GET | Full API schema, docs, and examples (JSON) |
/api/task/{run_id} | GET | Poll task results |
/api/wallet/balance/{address} | GET | Check pathUSD or USDC balance |
Getting started
Option 1: Pay with Stripe
Set upmppx 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.Option 3: Pay with x402
Installpurl to pay with USDC on Base via the x402 protocol.
Make paid requests
Once your account is set up, usemppx 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":
Important notes
- Rate limit: 60 requests/minute per IP. Space out calls and handle
429responses with theRetry-Afterheader. - Async tasks:
POST /api/taskis async and can take 1–5+ minutes. Always implement polling with the returnedrun_id. - Persistent run IDs: The
run_idfrom/api/taskis persistent — save it so the user or agent can check results later. - Free polling:
GET /api/task/{run_id}andGET /api/wallet/balance/{address}are free (no payment required). - Self-discovery:
GET /apireturns the full API schema as JSON. Agents can use this to discover available endpoints. - Automatic payment handling:
npx mppxauto-handles the402 → sign → retryflow. You don’t need to manage payment manually.
- Machine Payments Protocol
- Tempo blockchain
- Tempo documentation
- mppx SDK on NPM
- x402 protocol
- purl CLI
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
Create the directory structure
In the root of your project, create the following folder structure:Run these commands from your project root:
Create the SKILL.md file
Create the file
.claude/skills/parallel-mpp/SKILL.md and paste the content below.Set up mppx
Make sure
mppx is available in your environment. Claude will run npx mppx commands to handle payments:SKILL.md contents
Copy and paste the following into.claude/skills/parallel-mpp/SKILL.md:
SKILL.md — full file contents
SKILL.md — full file contents