ToolAssay

Use when you need to translate text, a language translation of a sentence or par

Use when you need to translate text, a language translation of a sentence or paragraph between two languages. Do not use for formatting that must be preserved, certified or legal translation, or speech (transcribe first). Returns JSON with your text translated between about 100 languages by Meta M2M100 1.2B on Workers AI, with the source and target languages used for 0.012 USDC per call. Typical response time 5000 ms (p95). Category: Inference.

Answeringour last check, 2026-10-18
1 of 1checks answered this week
1105 msmedian answer time
$0.012listed price per call
$0.012price 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-gateway.blackwoodstate8.workers.dev/v1/translate

CategoryEverything else
Provider hostx402-gateway.blackwoodstate8.workers.dev
Networkseip155:8453
Payment schemesexact, upto
Self-reported calls, 30 days3 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-18 valid payment request 402$0.012 1105 ms

Example input (from the provider)

{
  "body": {
    "from": "en",
    "text": "Pay only for the requests you make.",
    "to": "pt"
  },
  "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": {
            "from": {
              "description": "Source language as an ISO 639-1 code (default en)",
              "pattern": "^[a-z]{2,3}$",
              "type": "string"
            },
            "text": {
              "description": "Text to translate, e.g. Pay only for the requests you make (up to 2000 characters)",
              "maxLength": 2000,
              "minLength": 1,
              "type": "string"
            },
            "to": {
              "description": "Target language as an ISO 639-1 code, e.g. es, fr, pt, de, ja, zh",
              "pattern": "^[a-z]{2,3}$",
              "type": "string"
            }
          },
          "required": [
            "text",
            "to"
          ],
          "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": {
          "additionalProperties": false,
          "properties": {
            "from": {
              "type": "string"
            },
            "model": {
              "type": "string"
            },
            "next": {
              "additionalProperties": false,
              "description": "Suggested next paid call in the same family (call it in a loop when the task continues)",
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "POST"
                  ],
                  "type": "string"
                },
                "sample": {
                  "description": "Free fixed sample of the whole family",
                  "type": "string"
                },
                "service": {
                  "description": "Service id of the suggested next paid call",
                  "type": "string"
                },
                "tool": {
                  "description": "MCP tool name of the same call",
                  "type": "string"
                },
                "url": {
                  "description": "Paid route of the next call",
                  "type": "string"
                },
                "useWhen": {
                  "description": "When the next call is the right one",
                  "type": "string"
                }
              },
              "required": [
                "service",
                "tool",
                "method",
                "url",
                "useWhen",
                "sample"
              ],
              "type": "object"
            },
            "to": {
              "type": "string"
            },
            "translatedText": {
              "type": "string"
            }
          },
          "required": [
            "translatedText",
            "from",
            "to",
            "model"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON