Live product price snapshot
Fetch a public HTTPS product page with robots.txt enforcement and return its current publisher-supplied Schema.org price, currency, availability, seller, product identifiers, observation time, and evidence hashes; optionally compare the selected offer with a buyer-supplied maximum.
Endpoint
https://apiacre.com/v1/commerce/product-priceSend the JSON body below. An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header; an x402-compatible buyer signs the requirement and retries with PAYMENT-SIGNATURE.
Official Coinbase agent path
Coinbase Agentic Wallet can satisfy this x402 request in one command. Running it may pay automatically, so --max-amount is fixed to $0.01 USDC in atomic units. Copying the command does not install, authenticate, sign, or pay; review the request and use a separate low-value wallet before running it.
npx --yes awal@latest x402 pay https://apiacre.com/v1/commerce/product-price \
-X POST \
-d '{"url":"https://merchant.example/products/acre-kettle","expected_currency":"GBP","maximum_price":"49.99"}' \
--max-amount 10000 \
--jsonCoinbase pay-for-service documentation · Buyer setup and wallet safety
Alternative third-party AgentCash commands
Run check first without payment. Its fetch command may automatically pay up to the exact listed price.
npx --yes agentcash@latest check https://apiacre.com/v1/commerce/product-price
npx --yes agentcash@latest fetch https://apiacre.com/v1/commerce/product-price \
--method POST \
--header 'content-type: application/json' \
--body '{"url":"https://merchant.example/products/acre-kettle","expected_currency":"GBP","maximum_price":"49.99"}' \
--payment-protocol x402 \
--payment-network base \
--max-amount 0.010Input example
{
"url": "https://merchant.example/products/acre-kettle",
"expected_currency": "GBP",
"maximum_price": "49.99"
}Response shape
{
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "commerce.product-price",
"version": "1",
"data": {
"requestedUrl": "https://merchant.example/products/acre-kettle",
"url": "https://merchant.example/products/acre-kettle",
"observedAt": "2026-08-17T22:00:00+00:00",
"productCount": 1,
"offerCount": 1,
"products": [
{
"index": 0,
"id": "https://merchant.example/products/acre-kettle",
"name": "Acre Kettle",
"url": "https://merchant.example/products/acre-kettle",
"image": [
"https://merchant.example/images/acre-kettle.webp"
],
"brand": {
"name": "Acre Home"
},
"identifiers": {
"sku": "AK-100",
"gtin13": "5012345678900"
},
"offers": [
{
"productIndex": 0,
"offerIndex": 0,
"amount": "39.99",
"currency": "GBP",
"priceKind": "direct",
"highPrice": null,
"offerCount": null,
"availability": "InStock",
"availabilityUrl": "https://schema.org/InStock",
"priceValidUntil": "2026-12-31",
"expired": false,
"itemCondition": "https://schema.org/NewCondition",
"url": "https://merchant.example/products/acre-kettle",
"seller": {
"name": "Example Merchant"
}
}
],
"evidence": [
{
"field": "name",
"blockIndex": 0,
"jsonPointer": "/name",
"valueSha256": "5fce7afae55d95d36443d2415d677413d418bb6a154be23cabbe99c1dd7059a1"
},
{
"field": "offers",
"blockIndex": 0,
"jsonPointer": "/offers",
"valueSha256": "aed7315cb04cab2b315aa8f5423a71ea2b255f7a235f936d8d8ecf2c1685b7b7"
}
]
}
],
"headlineOffer": {
"productIndex": 0,
"offerIndex": 0,
"amount": "39.99",
"currency": "GBP",
"priceKind": "direct",
"highPrice": null,
"offerCount": null,
"availability": "InStock",
"availabilityUrl": "https://schema.org/InStock",
"priceValidUntil": "2026-12-31",
"expired": false,
"itemCondition": "https://schema.org/NewCondition",
"url": "https://merchant.example/products/acre-kettle",
"seller": {
"name": "Example Merchant"
},
"selection": "Prefer non-expired, explicitly available, direct-price offers; use stable Schema.org order as the final tie-breaker"
},
"decision": {
"expectedCurrency": "GBP",
"currencyMatches": true,
"maximumPrice": "49.99",
"atOrBelowMaximum": true
},
"evidence": {
"method": "publisher-supplied Schema.org Product JSON-LD in initial HTML",
"publisherAsserted": true,
"independentlyVerified": false,
"bodySha256": "55f984a00b524ad1a927dbd2fbbde9837b154658b8adee08bd1064f70529171a",
"jsonLdSha256": "feb8adb99cff6ed2f1fa67c3426ae18980b58d3f4caf42a3126744d49ba1590e",
"vocabulary": {
"name": "Schema.org",
"url": "https://schema.org/",
"license": "CC BY-SA 3.0",
"licenseUrl": "https://creativecommons.org/licenses/by-sa/3.0/"
},
"scriptsSeen": 1,
"nodesSeen": 1,
"response": {
"statusCode": 200,
"contentType": "text/html; charset=utf-8",
"bytes": 940,
"elapsedMs": 84
},
"access": {
"robots": {
"respected": true,
"status": "loaded",
"url": "https://merchant.example/robots.txt"
},
"robotsUserAgent": "APIAcre",
"sameOriginRedirectsOnly": true,
"authenticated": false,
"javascriptExecuted": false,
"antiBotBypassAttempted": false,
"networkRequestClasses": [
"robots.txt policy",
"product page"
],
"minimumNetworkRequestsMade": 2,
"redirectsMayAddRequests": true
}
},
"warnings": [],
"limitations": [
"Prices, sellers, and availability are publisher assertions observed at fetch time, not independent verification.",
"Taxes, delivery charges, account-specific discounts, location, variants, and checkout totals can differ.",
"Only initial HTML Schema.org JSON-LD is read; JavaScript, login, cookies, and anti-bot bypasses are not used.",
"Amazon URLs are excluded until an approved Creators API integration with suitable usage rights is configured.",
"This is a current snapshot, not a price-history or lowest-market-price claim."
]
},
"meta": {
"duration_ms": 42,
"cached": false,
"sources": [],
"warnings": [],
"next_actions": []
}
}Try the payment challenge
curl -i -X POST 'https://apiacre.com/v1/commerce/product-price' \
-H 'content-type: application/json' \
--data '{"url":"https://merchant.example/products/acre-kettle","expected_currency":"GBP","maximum_price":"49.99"}'