{"uid":"cap_6tQoJHE1Jaukc5XaMOlge","slug":"x402-market-api-test-echo-cdp-2-1dd5ff6a","name":"x402 Market API – test-echo-cdp-2","description":"Second cdp-mode listing identical to test-echo-cdp, used to A/B test whether the Bazaar indexer picks up newly-created resources differently from one that has been live for several days.","url":"https://x402-market-api.lien-studio-akiyama.workers.dev/api/seller-4068b8fc/test-echo-cdp-2","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.010000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.010000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cWUh0cfVRw0SFtcm67fP2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Echoes back a posted HTTP request body (CDP mode, second listing) for testing x402 payment and Bazaar indexer discovery.","exampleAgentPrompt":"Send a test JSON POST body like {\"hello\":\"world\"} through the x402 CDP echo endpoint and confirm it gets echoed back after the $0.01 USDC payment clears.","exampleUseCases":[{"title":"A/B test Bazaar indexer discovery","prompt":"I want to compare how the Bazaar indexer picks up this newer x402 listing versus the older one that's been live for days — send a test payload through this second CDP echo endpoint and tell me if it shows up in Bazaar faster than the original listing."},{"title":"Verify CDP micropayment wire format","prompt":"After the v2-spec PaymentPayload fix, I need to confirm the updated wire format still works correctly — fire a $0.01 USDC CDP payment at this echo endpoint with a sample JSON body and make sure it gets echoed back cleanly."},{"title":"Confirm new x402 resource discoverability","prompt":"I just created a new x402 resource and want to check that the Bazaar indexer can discover it properly — post a simple test body through this endpoint and confirm the payment clears and the response comes back as expected."}],"resultDescription":"The endpoint echoes back whatever request body (JSON, form-data, or text) was sent in the POST, serving as confirmation that the x402 payment was accepted and the request was received correctly.","failureModes":["Payment not included or invalid x402 header returns 402 Payment Required","Invalid bodyType enum value returns validation error","Missing required 'input' object returns schema validation error","Body does not match declared bodyType causes parse error","Cloudflare Worker cold start or timeout returns 5xx"],"whenToPreferThis":"Choose this endpoint when you need to test the x402 CDP payment flow against a second listing (created after the v2-spec PaymentPayload fix) to A/B compare Bazaar indexer discovery behavior versus an older live listing; not intended for production data processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:38:08.043Z","isFirstParty":false}