{"schema":"delx/institutional-solution/v1","canonical":"https://delx.ai/solutions/x402-pay-per-result-apis","markdown":"https://delx.ai/solutions/x402-pay-per-result-apis/index.md","slug":"x402-pay-per-result-apis","eyebrow":"x402 APIs","title":"Pay-per-result APIs for autonomous agents.","description":"Discover a capability, inspect its exact terms and pay only when an agent executes it — without creating an account or managing a long-lived API key.","directAnswer":"Delx publishes x402-compatible APIs for agents that need a machine result with explicit pricing, schemas and delivery boundaries. A caller receives an HTTP 402 challenge, pays the declared USDC amount on Base and retries the same request with proof of payment.","outcome":"Replace separate subscriptions and vendor onboarding with a governed purchase path that an autonomous agent can inspect before spending.","bestFor":["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"],"capabilities":[{"name":"Website content extraction","description":"Clean readable text or a structured site report from a caller-supplied public URL.","href":"https://commerce.delx.ai/packs/extract-website-content.json","price":"0.01 USDC"},{"name":"Agent micro-utilities","description":"DNS, QR, FX reference data and image generation grouped in a portable discovery pack.","href":"https://commerce.delx.ai/packs/agent-micro-utils.json","price":"from 0.001 USDC"},{"name":"Speech generation","description":"OpenAI-shaped input compatibility with a durable WAV delivery URL and SHA-256 in the result contract.","href":"https://api.delx.ai/openapi.x402.json","price":"0.001 USDC"}],"steps":[{"name":"Discover","description":"Resolve the intent router, a job pack or the complete paid OpenAPI document."},{"name":"Authorize","description":"Validate the exact price, network, input schema and maximum amount before payment."},{"name":"Execute","description":"Read the 402 challenge, pay the declared amount and retry the unchanged request."},{"name":"Verify","description":"Retain the response, attribution source and service-specific delivery evidence."}],"proof":["Prices shown here are linked to the canonical machine documents that own them.","The discovery path returns exact endpoints and ready-to-run bounded payment commands.","Media delivery contracts can expose durable artifact URLs, byte counts and SHA-256 values."],"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."],"codeLabel":"AgentCash · paid website extraction","code":"npx agentcash@latest fetch \\\n  https://api.delx.ai/api/v1/x402/page-extract \\\n  -m POST \\\n  -H 'content-type: application/json' \\\n  -H 'x-delx-source: delx-ai-x402-page' \\\n  --payment-network base --max-amount 0.01 \\\n  -b '{\"url\":\"https://example.com\",\"timeout\":8}'","primary":{"label":"Open the discovery capsule","href":"https://commerce.delx.ai/discover-now"},"secondary":{"label":"Inspect the paid OpenAPI","href":"https://api.delx.ai/openapi.x402.json"},"faqs":[{"question":"What is an x402 pay-per-result API?","answer":"It is an HTTP service that communicates payment requirements through a 402 response. The caller authorizes the declared amount and retries the request with payment proof before receiving the result."},{"question":"Do Delx x402 APIs require an account or API key?","answer":"The public x402 purchase path is designed for accountless, per-request payment. Individual services still publish their own input, policy and delivery boundaries."},{"question":"How should an agent choose a Delx capability?","answer":"Start with the free intent router or a governed job pack, then validate the canonical endpoint, current price and example input before authorizing payment."}]}