{"input":{"url":"https://listing-roast-x402-service-production.up.railway.app/api/listing-roast","base_url":"https://listing-roast-x402-service-production.up.railway.app/api/listing-roast","endpointUrl":"https://listing-roast-x402-service-production.up.railway.app/api/listing-roast","baseUrl":"https://listing-roast-x402-service-production.up.railway.app/api/listing-roast","targetUrl":"https://listing-roast-x402-service-production.up.railway.app/api/listing-roast","resource":"https://listing-roast-x402-service-production.up.railway.app/api/listing-roast","method":"GET","expectedAmount":"1000","expectedNetwork":"eip155:8453","searchQuery":"listing roast","agent402Query":"paid API listing quality"},"bodyType":"json","inputSchema":{"type":"object","anyOf":[{"required":["endpointUrl"]},{"required":["url"]},{"required":["base_url"]},{"required":["baseUrl"]},{"required":["targetUrl"]},{"required":["resource"]}],"properties":{"endpointUrl":{"type":"string","description":"Public HTTPS x402 endpoint to inspect without making a paid call."},"url":{"type":"string","description":"Alias for endpointUrl. Use this when the buyer agent expects preflight tools to accept a url query or JSON field."},"base_url":{"type":"string","description":"Alias for endpointUrl. Use this when the buyer agent supplies snake_case base URL input."},"baseUrl":{"type":"string","description":"Alias for endpointUrl. Use this when the buyer agent supplies camelCase base URL input."},"targetUrl":{"type":"string","description":"Alias for endpointUrl. Use this when the buyer agent names the audited endpoint as targetUrl."},"resource":{"type":"string","description":"Alias for endpointUrl. Use this when the buyer agent names the audited x402 endpoint as a resource."},"method":{"type":"string","enum":["GET","POST"],"description":"HTTP method to use for the unpaid 402 metadata probe."},"expectedAmount":{"type":"string","description":"Expected x402 amount in atomic USDC units, for example 1000 for $0.001."},"expectedNetwork":{"type":"string","description":"Expected CAIP-2 network, for example eip155:8453 for Base mainnet."},"searchQuery":{"type":"string","description":"Buyer query to test against CDP Bazaar semantic search."},"agent402Query":{"type":"string","description":"Buyer query to test against Agent402 route ranking. Defaults to searchQuery."},"requestBody":{"type":"object","description":"Optional JSON body used only when method is POST."}}},"output":{"example":{"service":"Listing Roast x402","endpoint":"x402-discovery-audit","price":"$0.01","verdict":"needs_bazaar_settlement_refresh","auditedAt":"2026-06-18T00:00:00.000Z","input":{"endpointUrl":"https://listing-roast-x402-service-production.up.railway.app/api/listing-roast","method":"GET","expectedAmount":"1000","expectedNetwork":"eip155:8453","searchQuery":"listing roast","agent402Query":"paid API listing quality"},"direct402":{"ok":true,"status":402,"hasPaymentRequiredHeader":true,"hasBazaarExtension":true,"amount":"1000","network":"eip155:8453"},"bazaarDiscovery":{"merchantIndexed":true,"searchVisible":false,"indexedAmount":"1000000","searchQuery":"listing roast"},"agent402Route":{"query":"paid API listing quality","routeVisible":true,"topRank":3,"matchedResult":{"sellerName":"Listing Roast x402","route":"/api/listing-roast","url":"https://listing-roast-x402-service-production.up.railway.app/api/listing-roast","method":"GET","price":"$0.001"},"error":null},"catalogRefresh":{"status":"needs_settled_payment_with_resource_metadata","directChallengeReadyForCatalog":true,"needsRealSettlement":true,"exactResourceUrl":"https://listing-roast-x402-service-production.up.railway.app/api/listing-roast","settlementRequirements":["A real buyer must complete verify and settle through the CDP Facilitator for this exact endpoint URL.","The settle payload must include paymentPayload.resource for the exact resource URL so CDP can catalog the route.","The client/facilitator path should preserve the Bazaar extension metadata declared in the 402 challenge."],"whyUnpaidProbesAreNotEnough":"Unpaid 402/details/search probes can prove direct route truth, but they do not refresh CDP Bazaar catalog entries.","evidence":{"direct402Ok":true,"bazaarExtensionPresent":true,"merchantIndexed":true,"searchVisible":false,"indexedAmount":"1000000","directAmount":"1000"}},"mismatches":["Bazaar has stale pricing: indexed amount 1000000, direct amount 1000."],"nextActions":["Get a real settled payment on the current route; Bazaar updates catalog entries from settle traffic, not from unpaid probes.","Confirm the buyer/client settle request includes paymentPayload.resource for this exact endpoint and preserves the Bazaar extension metadata; Bazaar catalogs settled resources, not unpaid probes."],"safety":"No paid calls were made by this audit. It only requested unpaid 402 metadata, public Bazaar discovery records, and Agent402 router results."},"schema":{"type":"object","required":["service","endpoint","price","verdict","auditedAt","direct402","bazaarDiscovery","agent402Route","catalogRefresh","mismatches","nextActions","safety"],"properties":{"service":{"type":"string"},"endpoint":{"type":"string"},"price":{"type":"string"},"verdict":{"type":"string"},"auditedAt":{"type":"string"},"input":{"type":"object"},"direct402":{"type":"object"},"bazaarDiscovery":{"type":"object"},"agent402Route":{"type":"object"},"catalogRefresh":{"type":"object"},"mismatches":{"type":"array","items":{"type":"string"}},"nextActions":{"type":"array","items":{"type":"string"}},"safety":{"type":"string"}}}},"service":{"name":"Listing Roast x402","url":"https://listing-roast-x402-service-production.up.railway.app","route":"https://listing-roast-x402-service-production.up.railway.app/api/x402-discovery-audit","price":"$0.01","network":"eip155:8453"}}