ToolAssay

Translate text API, machine translation

Translate text API, machine translation. Translate up to 200 text segments in a single call - the same result that would otherwise take 200 separate calls to translate a whole file. Markdown, HTML and {x} placeholders preserved per segment, order and count kept intact, source language auto-detected, automatic fallback across multiple models for uptime, providers that train on submitted prompts excluded. A single string also works. No account, no API key. Try GET /translate/sample.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
1022 msmedian answer time
$0.002listed price per call
$0.002price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://x402.agentindex.world/translate

CategoryEverything else
Provider hostx402.agentindex.world
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days3 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.002 1022 ms
2026-11-25 valid payment request 402$0.002 1077 ms
2026-11-24 valid payment request 402$0.002 1149 ms
2026-11-23 valid payment request 402$0.002 924 ms
2026-11-22 valid payment request 402$0.002 963 ms
2026-11-21 valid payment request 402$0.002 1959 ms
2026-11-20 valid payment request 402$0.002 946 ms
2026-11-19 valid payment request 402$0.002 1025 ms
2026-11-18 valid payment request 402$0.002 2994 ms
2026-11-17 valid payment request 402$0.002 1003 ms
2026-11-16 valid payment request 402$0.002 992 ms
2026-11-15 valid payment request 402$0.002 899 ms
2026-11-14 valid payment request 402$0.002 1036 ms
2026-11-13 valid payment request 402$0.002 982 ms
2026-11-12 valid payment request 402$0.002 954 ms
2026-11-11 valid payment request 402$0.002 927 ms
2026-11-10 valid payment request 402$0.002 909 ms
2026-11-09 valid payment request 402$0.002 881 ms
2026-11-08 valid payment request 402$0.002 874 ms
2026-11-07 valid payment request 402$0.002 983 ms
2026-11-06 valid payment request 402$0.002 926 ms
2026-11-05 valid payment request 402$0.002 903 ms
2026-11-04 valid payment request 402$0.002 893 ms
2026-11-03 valid payment request 402$0.002 934 ms
2026-11-02 valid payment request 402$0.002 1014 ms
2026-11-01 valid payment request 402$0.002 904 ms
2026-10-31 valid payment request 402$0.002 1065 ms
2026-10-29 valid payment request 402$0.002 901 ms

Example input (from the provider)

{
  "body": {
    "target_lang": "en",
    "text": "Bonjour le monde"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "preserve_format": {
              "description": "Keep markdown syntax, HTML tags and {x}/{{x}} placeholders unchanged, translating only the surrounding natural-language text - useful for localizing UI strings or templated content.",
              "type": "boolean"
            },
            "source_lang": {
              "description": "Source language code. Omit to auto-detect.",
              "type": "string"
            },
            "target_lang": {
              "description": "Target language as an ISO 639-1 code, e.g. 'en', 'fr', 'ja'.",
              "type": "string"
            },
            "text": {
              "description": "Text to translate - a single string, or an array of up to 200 segments to translate together in one call (batch/bulk translation), preserving order and count.",
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 200,
                  "minItems": 1,
                  "type": "array"
                }
              ]
            }
          },
          "required": [
            "text",
            "target_lang"
          ]
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "detected_source_lang": {
              "description": "Auto-detected source language, when not supplied."
            },
            "model_served": {
              "description": "Neutral model tag for this call (also present on x402_receipt.model_served)."
            },
            "target_lang": {
              "type": "string"
            },
            "text": {
              "description": "The original input text or segments."
            },
            "translated_text": {
              "description": "Translated text - a string, or an array aligned with the input segments for batch requests."
            },
            "x402_receipt": {
              "description": "Billing and provenance receipt, including segments_processed for batch calls.",
              "type": "object"
            }
          },
          "required": [
            "target_lang",
            "translated_text"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON