# Pay-per-result APIs for autonomous agents.

> Delx Commerce publishes a governed portfolio of paid x402 APIs (USDC on Base) for autonomous agents. A caller discovers via OpenAPI, ARD catalog, Bazaar or intent router, receives an HTTP 402 challenge, pays the declared amount and retries the same request with proof of payment.

Replace separate subscriptions and vendor onboarding with a governed purchase path that an autonomous agent can inspect before spending.

## Best for

- Agents that purchase occasional capabilities instead of maintaining subscriptions
- Workflows that must inspect price and schema before authorization
- Teams that need attribution and a reproducible delivery trail

## Live capabilities

- **Governed OpenAPI x402 — from 0.001 USDC:** Full machine catalog of paid paths, schemas, prices and examples on Base USDC. https://api.delx.ai/openapi.x402.json
- **Website content extraction — 0.01 USDC:** Clean readable text or a structured site report from a caller-supplied public URL. https://commerce.delx.ai/packs/extract-website-content.json
- **Agent micro-utilities — from 0.001 USDC:** DNS, QR, FX reference data, local text/math utils and more in portable packs. https://commerce.delx.ai/packs/agent-micro-utils.json
- **Speech generation — 0.002 USDC:** OpenAI-shaped input compatibility with a durable WAV delivery URL and SHA-256 in the result contract. https://api.delx.ai/openapi.x402.json

## Execution path

1. **Discover:** Use ARD ai-catalog, intent router, a job pack or the complete paid OpenAPI document.
2. **Authorize:** Validate the exact price, network, input schema and maximum amount before payment.
3. **Execute:** Read the 402 challenge, pay the declared amount and retry the unchanged request.
4. **Verify:** Retain the response, attribution source and service-specific delivery evidence.

## Example

```bash
npx agentcash@latest fetch \
  https://api.delx.ai/api/v1/x402/page-extract \
  -m POST \
  -H 'content-type: application/json' \
  -H 'x-delx-source: delx-ai-x402-page' \
  --payment-network base --max-amount 0.01 \
  -b '{"url":"https://example.com","timeout":8}'
```

## Evidence

- Live portfolio status=ready with governed products and a published margin floor; inspect the linked portfolio for the current count.
- Canonical machine docs: openapi.x402.json, x402-portfolio.json, commerce ARD ai-catalog.json.
- Discovery returns exact endpoints and bounded AgentCash commands; media contracts expose durable URLs and SHA-256.

## Boundaries

- A listed price applies only to the linked operation and can change at its canonical source.
- A discovery pack is navigation, not a bundle purchase or a claim that every capability is equivalent.
- Delx does not substitute an unrelated paid product when the intent router has no matching offer.

Canonical page: https://delx.ai/solutions/x402-pay-per-result-apis
Machine record: https://delx.ai/solutions/x402-pay-per-result-apis/record.json
