AI-powered text translation between any languages
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.
4000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-03
updated
Provider
bazaar-gateway.vercel.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9200c98c8188ef50302ed3b8b0ffd5d39832090c",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "4000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"target_language": "Target language (e.g. french, spanish, arabic, japanese)",
"text": "Text to translate"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"_meta": {},
"character_count": 0,
"confidence": 0,
"formality": "...",
"model": "...",
"next": {},
"notes": "...",
"ok": "...",
"original_text": "...",
"quality": "...",
"response_time_ms": 0,
"signals": {},
"source_language": "...",
"source_language_input": "...",
"target_language": "...",
"target_language_input": "...",
"timestamp": "...",
"token_count": 0,
"translated_text": "..."
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"target_language": {
"description": "Target language (e.g. french, spanish, arabic, japanese)",
"type": "string"
},
"text": {
"description": "Text to translate",
"type": "string"
}
},
"required": [
"text",
"target_language"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://bazaar-gateway.vercel.app/api/translate" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://bazaar-gateway.vercel.app/api/translate");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://bazaar-gateway.vercel.app/api/translate")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3334.json, and this resource appears in /discovery/resources and /discovery/search.