{"uid":"cap_02v8JYBQ_9K9QL8sQbCL5","slug":"bazaar-rewrite-ae0de3fb","name":"Bazaar Rewrite","description":"Rewrite serviceName (≤32), description (≤500), tags (≤5) for buyer-query rank. Warns on first-index freeze.","url":"https://x402orcle.vercel.app/api/consult/oracle_bazaar_rewrite","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"buyer_phrases":{"type":"array"},"current_description":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1.5","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":"$1.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_y6bNHXQ8tBcr3wciq2tVy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Rewrites a service's name, description, and tags to maximize buyer-query ranking on Bazaar marketplace, warning when first-index is frozen.","exampleAgentPrompt":"Rewrite my Bazaar listing — current description is 'A simple REST API for converting currencies in real time' — to rank for buyers searching 'live forex rates', 'currency conversion API', and 'real-time exchange data'.","exampleUseCases":[{"title":"Boost discoverability of a payment API","prompt":"My Bazaar service called 'PayHelper' has the description 'Handles payments easily' and it's getting no traffic — rewrite the name, description, and tags so it shows up when buyers search for 'x402 payment processing', 'crypto checkout', and 'web monetization API'."},{"title":"Refresh a stale NLP service listing","prompt":"Rewrite my Bazaar listing for my sentiment analysis service — current description is 'Analyzes text sentiment' — targeting buyers who search for 'customer review classifier', 'NLP sentiment scoring', and 'opinion mining API'."},{"title":"Compete for top ranking in AI tools category","prompt":"I want my Bazaar service 'OracleAsk' to rank first for searches like 'AI consultant API', 'LLM decision support', and 'agentic wisdom endpoint' — can you rewrite the name (max 32 chars), description, and up to 5 tags to maximize that ranking?"}],"resultDescription":"Returns a rewritten service name (≤32 characters), an optimized description (≤500 characters), and up to 5 tags tuned to match the provided buyer search phrases. May include a warning if the first-index position is frozen and ranking improvements are limited.","failureModes":["Buyer phrases array is empty — output may not be query-targeted","Current description not provided — rewrite may lack context for improvement","Service name exceeds 32 characters after rewrite — agent must truncate","First-index freeze warning returned — ranking ceiling already capped","Payment of $1.50 USDC via x402 fails — endpoint returns 402 and no content is generated"],"whenToPreferThis":"Choose this endpoint when you have an existing Bazaar marketplace listing and want to improve its search ranking by aligning the name, description, and tags to specific buyer search phrases. It is purpose-built for Bazaar's ranking algorithm and enforces platform constraints (name ≤32 chars, description ≤500 chars, ≤5 tags), making it more reliable than a generic rewriting LLM for this specific marketplace context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:31:04.983Z","isFirstParty":false}