{"uid":"cap_N9kZzhsxPzXWT6hxAAMe0","slug":"netintel-batch-text-translation-2b5dd8a1","name":"NetIntel Batch Text Translation","description":"Network intelligence API — 138 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).\n\nNetIntel is agent fair-trade aligned: transparent per-call pricing in USDC on Base or Solana via x402, no API keys or signup, and automatic no-charge on server errors, upstream failures, and input-validation rejections — failed calls are never billed across NetIntel's network, domain, and data-intelligence endpoints.","url":"https://netintel-production-440c.up.railway.app/translate/batch","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":"object","required":["items","target"],"properties":{"tone":{"type":"string","description":"Optional tone guidance, e.g. \"friendly and concise\"."},"items":{"type":"array","description":"The strings to translate: [{\"id\":\"greeting\",\"text\":\"Hello {{name}}\",\"context\":\"button label\"}]. ids and order are preserved in the response. 1-200 items, 64KB total."},"source":{"type":"string","description":"Source language, applied to every item. Auto-detected per item when omitted."},"target":{"type":"string","description":"Target language — ISO 639-1 code (\"fr\") or English name (\"French\"). Aliases also accepted: target_lang, target_language, to, lang."},"glossary":{"type":"object","description":"Enforced term mappings applied to all items: {\"dashboard\":\"tableau de bord\"}."},"formality":{"type":"string","description":"\"formal\", \"informal\", or \"neutral\" (default)."},"protected_values":{"type":"array","description":"Strings that must survive byte-for-byte in every item — brand names, IDs: [\"Acme\"]."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"grade":{"type":"string","description":"Letter grade A-F derived from score"},"items":{"type":"array","description":"One entry per input item, in input order, each carrying your id: {id, status (\"ok\"|\"failed\"), translated, detected_language, confidence, warnings, reason}. A failed item has translated=null and a reason (structure_broken, unparseable, truncated, llm_unavailable, timeout)."},"score":{"type":"number","description":"0-100; 100 on a successful run, even with some items failed"},"usage":{"type":"object","description":"Model, model_calls, input_tokens, output_tokens"},"failed":{"type":"number","description":"Items that failed — the batch still returns 200"},"pricing":{"type":"object","description":"Base price, included items, and per-item overage beyond the included count"},"findings":{"type":"array","description":"Scored deductions, e.g. all_items_failed"},"warnings":{"type":"array","description":"Batch-level notes, e.g. that some items failed"},"succeeded":{"type":"number","description":"Items translated and structurally verified"},"item_count":{"type":"number","description":"Items submitted"},"billed_items":{"type":"number","description":"Item count used for pricing (base covers 25)"},"target_language":{"type":"string","description":"ISO 639-1 code translated into"}}}}}}},"responseSchema":{"type":"json","example":{"grade":"A","items":[{"id":"greeting","status":"ok","warnings":[],"confidence":0.98,"translated":"Bonjour {{name}}","detected_language":"en"},{"id":"cta","status":"ok","warnings":[],"confidence":0.98,"translated":"Ouvrir le tableau de bord","detected_language":"en"}],"score":100,"usage":{"model":"claude-haiku-4-5-20251001","model_calls":2,"input_tokens":480,"output_tokens":64},"failed":0,"pricing":{"base_usd":"$0.05","overage_usd":0,"overage_items":0,"included_items":25,"overage_per_item_usd":0.002},"findings":[],"warnings":[],"succeeded":2,"item_count":2,"billed_items":2,"target_language":"fr"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YF2BaLJ9k-PYHqV8XGONH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates up to 200 text strings in a single call to a target language, preserving IDs, template placeholders, and enforced glossary terms","exampleAgentPrompt":"Translate these 3 UI strings to French with formal tone, keep 'Acme' untouched, and map 'dashboard' to 'tableau de bord': [{\"id\":\"greeting\",\"text\":\"Hello {{name}}\"},{\"id\":\"cta\",\"text\":\"Open dashboard\"},{\"id\":\"error\",\"text\":\"Something went wrong\"}]","exampleUseCases":[{"title":"Localizing SaaS app UI strings","prompt":"Translate all 40 of these button labels and error messages to German — use formal tone, keep the template variables like {{username}} and {{count}} exactly as-is, and always render 'Dashboard' as 'Schalttafel' per our glossary."},{"title":"E-commerce product description localization","prompt":"I need these 15 product descriptions translated to Spanish (informal tone). The brand name 'NovaBright' must stay in English exactly as written. Give me back the translations with the same IDs so I can match them to my catalog."},{"title":"Multilingual notification template batch","prompt":"Translate these 8 push notification templates to Japanese — the source is English, tone should be friendly and concise, and the placeholder strings like {{order_id}} and {{store_name}} must survive the translation byte-for-byte."}],"resultDescription":"Returns a JSON object with an array of translated items (each with original ID, status, translated text, detected source language, and confidence), an overall quality score 0-100 with letter grade, count of succeeded/failed items, any warnings or findings, and token usage details including model name and call count.","failureModes":["Item translation fails with status 'failed' and reason such as 'structure_broken', 'truncated', 'llm_unavailable', or 'timeout' — billed items still reflect successful ones","Input validation errors (missing required fields, unsupported language code, items array empty or over 200) return an error and are not billed","Upstream LLM unavailability causes item-level failures with reason 'llm_unavailable'","Total body exceeding 64KB triggers a validation rejection with no charge","Malformed glossary or protected_values format causes a 400-level error without billing"],"whenToPreferThis":"Choose this endpoint when you need to translate multiple strings in a single round-trip with guaranteed ID/order preservation, template placeholder protection, glossary enforcement, and formality control — especially for software localization workflows (UI strings, notifications, emails). Prefer it over single-string translation APIs when you have 2–200 items to process, need per-item confidence scores, or require strict brand-name pass-through. The pay-per-call x402 model with no signup makes it ideal for agent-driven, on-demand localization without pre-negotiated subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:51:28.380Z","isFirstParty":false}