Skip to content
PayloadPierPurchasing APIs
PayloadPier

Machine-readable access methods, input schema and payment instructions: discovery manifest. MCP clients can also use the server manifest.

Connect a developer or purchasing agent

Send supplier snapshots to POST /api/v1/compare using a scoped API key. Each successful comparison uses one included unit or $0.25 prepaid credit.

Get a key · Add credit · Try JSON free · MCP guide · x402 guide

Choose the operation

Use Supplier Price Compare when an application needs exact-SKU evidence of price, pack size, minimum-order or margin changes. It accepts data supplied by you; it does not search for suppliers, scrape prices or place purchasing orders.

Try your JSON before paying

The free local tester accepts your own JSON without an account or card. It runs the comparison engine in the browser, not the authenticated HTTP endpoint. Network/authentication tests need a scoped key. Prepaid starts at $5; monthly plans start at $9 for 50 comparisons.

1. Create a scoped key

Create an account, fund it in billing and create a key allowing Supplier Price Compare. Set a daily wallet cap. Included subscription comparisons use the plan quota independently of that cap; a zero wallet cap does not block included units. Store the key in your agent runtime’s secret store, rather than prompts, browser code or source control.

2. Run a comparison

Download the sample JSON and either the Node.js client or Python client. Both use built-in libraries, a 60-second timeout and no automatic retries. The commands below show environment variables; use your secret manager to inject the real key.

PAYLOADPIER_API_KEY="your-scoped-key" node compare.mjs comparison.json > result.json

PAYLOADPIER_API_KEY="your-scoped-key" python compare.py comparison.json > result.json

The sample keeps the pack price at $120 but reduces its size from 12 to 10. The unit cost rises from $10 to $12, or 20%. It consumes one included comparison or $0.25 in prepaid credit on success.

3. Preserve the operation identity

Each client prints its Idempotency-Key to standard error before sending. Persist it with the job. To repeat the same operation, supply that value using PAYLOADPIER_IDEMPOTENCY_KEY. Reusing a recorded key returns HTTP 409 and a usage reference, without another charge; it does not replay the result. A timeout does not prove the operation failed. Check account usage or contact support before starting a replacement job with a new key.

Handle responses deliberately

Inputs, limits and privacy

Use decimal strings for money, text SKUs and explicit currencies and units. JSON snapshots support at most 5,000 rows each; request bodies are limited to 5 MiB. CSV/XLSX files are limited to 2 MiB each. Uploaded sources and results are processed in memory and not retained for replay. Billing metadata persists. Keep commercially sensitive inputs out of agent logs.

x402 wallet payments · MCP · OpenAPI schema · Policies · Support