{"slug":"1gateway-dev-v1-ai-translate-f5742b","title":"Use when an agent must translate text (replies, filings, contracts, transcripts)","host":"1gateway.dev","method":"GET","resource":"https://1gateway.dev/v1/ai/translate","category":"code","description":"Use when an agent must translate text (replies, filings, contracts, transcripts). Input: text (max 1500 chars, GET or POST JSON), target code, optional source (else model-detected). Price: $0.003 up to 500 chars, $0.0045 for 501-1,500 (quoted before payment). Output: translatedText, source, model, f","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":218,"reported_calls_30d":10,"reported_payers_30d":1,"networks":["eip155:137","eip155:143","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"source":"en","target":"ko","text":"Hello, how are you?"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"source":{"description":"Source language (optional; default auto: the model identifies it and the response says sourceDetect…","enum":["auto","en","ko","ja","zh","es","fr","de","it","pt","ru","ar","hi","vi","th","id","tr","nl","pl","uk"],"type":"string"},"target":{"description":"Target language code","enum":["en","ko","ja","zh","es","fr","de","it","pt","ru","ar","hi","vi","th","id","tr","nl","pl","uk"],"type":"string"},"text":{"description":"Text to translate (1-1,500 chars). Up to 500 chars is $0.003; 501-1,500 chars is $0.0045. Empty or …","maxLength":1500,"type":"string"}},"required":["text","target"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":true,"properties":{"chars":{"type":"integer"},"fallback":{"type":"boolean"},"model":{"type":"string"},"source":{"type":"string"},"sourceDetected":{"type":"boolean"},"sourceDetectedBy":{"type":"string"},"target":{"type":"string"},"translatedText":{"type":"string"},"upstreamCostUsd":{"type":"number"},"warnings":{"items":{},"type":"array"}},"required":["translatedText","source","target","sourceDetected","sourceDetectedBy","model","fallback","chars","warnings","upstreamCostUsd"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":242,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":189,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":195,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":251,"error":null}],"description_full":"Use when an agent must translate text (replies, filings, contracts, transcripts). Input: text (max 1500 chars, GET or POST JSON), target code, optional source (else model-detected). Price: $0.003 up to 500 chars, $0.0045 for 501-1,500 (quoted before payment). Output: translatedText, source, model, fallback, cost fields. Keeps numbers and names. Allow a 60 s+ client timeout. Example: ?text=Hello%2C%20how%20are%20you%3F&target=ko","last_updated":"2026-11-23T01:00:53.243Z","schemes":["exact"]}