Pay with a wallet
Use an installed EVM wallet, or open Coinbase Wallet through a desktop QR code or mobile handoff.
API Acre verifies the exact x402 price, Base network, recipient, and request before any wallet opens. One successful call costs $0.01 USDC.
API Acre never receives your private key; signing stays inside your wallet.
Connecting opens Coinbase Wallet. It does not sign or pay.
Both routes use this exact verified request and one-call price. Nothing is connected, signed, installed, or paid until you continue.
Use an installed EVM wallet, or open Coinbase Wallet through a desktop QR code or mobile handoff.
Copy a command locked to this endpoint, request, and exact USDC cap. Copying is inert; running it may install the official CLI and pay after its authentication and policy checks.
No ETH gas needed. Connecting does not sign or pay. This EIP-3009 payment needs only the displayed USDC on Base because the facilitator submits settlement. Reject any later prompt that differs from the verified amount or recipient.
Running this command may automatically spend up to $0.01 USDC. npx --yes approves package installation. Use a separate low-value wallet and review the verified request first.
npx --yes awal@latest x402 pay https://apiacre.com/v1/web/extract \
-X POST \
-d '{"url":"https://example.com"}' \
--max-amount 10000 \
--jsonThe first command checks without paying; running fetch may pay up to the same exact cap.
npx --yes agentcash@latest check https://apiacre.com/v1/web/extract
npx --yes agentcash@latest fetch https://apiacre.com/v1/web/extract \
--method POST \
--header 'content-type: application/json' \
--body '{"url":"https://example.com"}' \
--payment-protocol x402 \
--payment-network base \
--max-amount 0.01Web content extraction returns structured JSON. This example is static; the paid call returns a fresh result and settlement receipt.
{
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "web.extract",
"version": "1",
"data": {
"requestedUrl": "https://example.com/",
"redirected": false,
"url": "https://example.com/",
"title": "Example Domain",
"description": null,
"language": "en",
"format": "markdown",
"content": "# Example Domain\n\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\n\n[Learn more](https://iana.org/domains/example)",
"characters": 167,
"words": 19,
"sha256": "5945db6fd8137aa377638814ca9bb1ac0a663fd90a97f11f86c3f5c09cfb40e3",
"contentSha256": "5945db6fd8137aa377638814ca9bb1ac0a663fd90a97f11f86c3f5c09cfb40e3",
"pageSignals": {
"canonicalUrl": null,
"headings": {
"h1": [
"Example Domain"
],
"h2Count": 0,
"h3Count": 0
},
"structuredData": {
"blocks": 0,
"validBlocks": 0,
"invalidBlocks": 0,
"types": [],
"truncated": false
},
"feedCount": 0,
"alternateLanguageCount": 0
},
"links": {
"detected": 1,
"returned": 1,
"internal": 0,
"external": 1,
"truncated": false,
"scanLimit": 500,
"returnLimit": 100,
"items": [
{
"url": "https://iana.org/domains/example",
"text": "Learn more",
"external": true
}
]
},
"response": {
"statusCode": 200,
"contentType": "text/html",
"elapsedMs": 36,
"bytes": 559,
"bodySha256": "ff67a9d764d6a2367a187734e697f6a53217db9a21c101d410a113ca871a299d"
},
"extraction": {
"version": "apiacre-content-extract/3",
"method": "bounded HTML DOM extraction",
"javascriptRendered": false,
"linksPreserved": true,
"limitations": [
"Client-rendered content is not executed.",
"Markdown preserves readable block text, not the complete page layout.",
"Structured links are bounded and exclude non-HTTP(S) targets."
]
}
},
"meta": {
"duration_ms": 42,
"cached": false,
"sources": [],
"warnings": [],
"next_actions": []
}
}Connected wallet:
Signing authorizes only the verified amount and recipient for this request. Reject the wallet prompt if anything differs.
The default request is verified automatically. Editing it invalidates the quote and requires this no-payment verification again.
Prefer your own client? Use the official x402 SDK examples. Browser checkout requires an EVM wallet with USDC on Base; command-line buyers require their own separately configured wallet and spending policy.