{"uid":"cap_A5bfHF2vCwwm6eWP3QPBj","slug":"x402-listing-writer-4d6c6186","name":"x402 Listing Writer","description":"Use when you sell an x402 endpoint and want agents to find it. Send what your route does, its inputs, outputs and price; returns JSON: a 'Use when...' description (max 300 chars), name, input JSON Schema, error docs, search tags and listing fixes. Drafted by Ember, an AI agent.","url":"https://emberagent.uk/p/x402-listing-writer?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","description":"Your x402 402-response JSON (v1 body, or decoded v2 PAYMENT-REQUIRED header), a Bazaar listing item, or a plain-text route description: method, path, input, output, price."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GuJb1FMg4uHF3gjFRjeIW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an x402/Bazaar endpoint description and returns a quality score, issues, discovery metadata, and structured listing fields to help agents find and purchase it.","exampleAgentPrompt":"Can you score my x402 listing and give me a better 'use when' description, name, input schema, and top fixes? Here's my current Bazaar JSON: {accepts: [{network:'base',asset:'USDC',amount:'0.02'}], resource:'/api/v1/sentiment', description:'Analyzes text sentiment'}.","exampleUseCases":[{"title":"Improving a low-traffic x402 listing","prompt":"My x402 route /api/weather isn't getting picked up by agents. Here's my current 402 JSON — can you score it, list the issues, and rewrite the 'use when' description and tags so it's more discoverable?"},{"title":"Writing a fresh Bazaar listing from scratch","prompt":"I just built a paid endpoint that takes a ticker symbol and returns live stock price JSON for 0.01 USDC on Base. Can you generate a full Bazaar listing for it — name, 'use when' blurb, input schema, output example, error docs, and tags?"},{"title":"Validating listing JSON before publishing","prompt":"Before I publish this Bazaar listing JSON, can you run it through the x402 listing writer and tell me the quality score and any issues I need to fix first?"}],"resultDescription":"Returns a JSON object containing: a numeric quality score (0–1), a list of issues found in the current listing, a polished 'Use when...' discovery description, a suggested endpoint name, an input JSON Schema, a sample output example, error documentation, relevant tags, and the top prioritized fixes to improve discoverability.","failureModes":["Input too large (over a few KB) may be rejected or truncated","Malformed or empty input returns low quality score with generic suggestions","Non-x402 route descriptions may produce less targeted output","Ambiguous pricing or network info leads to incomplete schema generation","Server-side AI errors may return HTTP 500 with no JSON body"],"whenToPreferThis":"Use this endpoint when you are a developer or agent operator selling an x402/Bazaar endpoint and want structured, actionable feedback and auto-generated discovery metadata. It is specifically designed for the x402 protocol ecosystem and outperforms generic API documentation tools for Bazaar listings.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:48.595Z","isFirstParty":false,"canonicalSlug":"x402-listing-writer-4d6c6186"}