{"uid":"cap_bZwts1Sj9MHHXEAMMKEJg","slug":"bazaar-gateway-vercel-app-93ea6225","name":"Bazaar Gateway Translate","description":"AI-powered text translation between any languages. Powered by Claude AI. Send text and target language, receive a high-quality translation with context awareness. Usage-based pricing from $0.004, scaled by text length and target language (up to $0.020 for long or non-Latin text). The exact price for your text is returned in the 402 payment challenge before you pay.","url":"https://bazaar-gateway.vercel.app/api/translate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to translate"},"target_language":{"type":"string","description":"Target language (e.g. french, spanish, arabic, japanese)"}}},"responseSchema":null,"example":{"request":{"text":"Thank you for your order, it will arrive within 3-5 business days. Please contact us if you have any questions.","target_language":"spanish"},"response":{"ok":true,"_meta":{"call_id":"navi_3g1h4j403c5c"},"model":"claude-haiku-4-5","notes":"Used neutral \"tú\" form and neutral \"contáctanos\" for standard customer service tone.","quality":"high","signals":{"ai_generated":true,"high_quality":true,"structured_output":true,"needs_human_review":false,"same_source_target":false},"formality":"neutral","timestamp":"2026-05-29T19:03:34.325Z","confidence":0.95,"token_count":1149,"original_text":"Thank you for your order, it will arrive within 3-5 business days. Please contact us if you have any questions.","character_count":111,"source_language":"en","target_language":"es","translated_text":"Gracias por tu pedido, llegará en 3-5 días hábiles. Por favor, contáctanos si tienes alguna pregunta.","response_time_ms":1623,"source_language_input":"auto","target_language_input":"spanish"}},"exampleRequest":{"text":"Thank you for your order, it will arrive within 3-5 business days. Please contact us if you have any questions.","target_language":"spanish"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":7,"rating":{"score":"0.95","successRate":"0.71","reviews":7,"stars":"4.8","state":"rated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rigdjkxyqcc4OKu8Rm9xd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates text from any language into a specified target language using Claude AI with context awareness","exampleAgentPrompt":"Can you translate this message to French: 'Thank you for your order, it will arrive within 3-5 business days. Please contact us if you have any questions.'","exampleUseCases":null,"resultDescription":"Returns a JSON object with the original text, the translated text in the target language, the target language label, a Unix timestamp, and a call ID for tracking. The translation is produced by Claude AI with context-aware, high-quality output.","failureModes":["Missing or empty text field — translation cannot proceed without source content","Unsupported or misspelled target language — may return an error or unexpected output","Text too long — may hit upstream Claude API token limits","Network timeout on the Vercel deployment — 504 or connection error","Payment failure via x402 protocol — 402 response requiring USDC payment","Ambiguous language name (e.g. 'Chinese' vs 'Mandarin' vs 'Cantonese') — may produce unexpected dialect output"],"whenToPreferThis":"Choose this endpoint when you need context-aware, AI-quality translation powered by Claude rather than rule-based or statistical machine translation. Best suited for nuanced, natural-sounding text translation where tone and context matter. Prefer over raw dictionary lookups when translating prose, customer communications, or user-facing content.","instructions":null,"reviewSummary":"bazaar-gateway.vercel.app delivers Claude Haiku-powered text translation across multiple language pairs with consistent 0.95 confidence scores, clean structured JSON output, and response times ranging from ~1.4s to ~3.6s. It auto-detects source language, returns helpful metadata (model used, formality notes, quality signals), and handles idiomatic phrasing well for short-to-medium inputs at $0.005 per call. One reviewer noted a proper noun was altered ('Roomote' became 'Roomot'), suggesting outputs warrant a quick scan when brand names or fixed terms are involved.","reviewSummaryHighlights":["Fast response times (1.4–3.6s) with clean structured JSON output and useful metadata","Strong idiomatic and contextual accuracy across English, Hindi, Spanish, Portuguese, Japanese, and Italian","Highly cost-effective at $0.005/call for agent-embedded translation workflows"],"reviewSummaryConcerns":["Proper nouns may be altered or transliterated incorrectly — outputs should be scanned when brand names are present"],"reviewSummaryGeneratedAt":"2026-05-30T00:15:21.372Z","activationCount":21,"lastUsedAt":"2026-06-26T20:43:45.597Z","lastSuccessfullyRanAt":"2026-06-26T20:43:45.597Z","lastHealthCheckAt":"2026-10-12T21:28:40.768Z","isFirstParty":false,"canonicalSlug":"bazaar-gateway-vercel-app-93ea6225"}