73trust / 100

Translate Zh En

by mandarin-translation in Markets & finance

x402 APIPassing, checked 1 h ago

Translate Mandarin Chinese (Simplified or Traditional) into clear, natural American English: plain text by paragraph, or SRT/WebVTT subtitles returned in the same format with timings kept. Names, numbers, dates and units are kept exactly; names are romanized in pinyin. Up to 4000 source characters per call, at a chosen naturalization level (grammatical, natural, localized). Every line comes back beside its source, checked for glossary terms, untranslated characters and subtitle fit.

POST
https://market.561.group/v1/translate/zh-en
Price
$0.01
per call in USDC
Uptime
100%
last 30 days
Response time
885 ms
1.5 s slowest 5%
Last check
Passed
1 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://market.561.group/v1/translate/zh-en

Each call costs $0.01 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://market.561.group/v1/translate/zh-en
content-type: application/json

{
  "text": "尊敬的客户:\n\n贵公司的医疗器械注册将于12月31日到期,请尽快提供年度更新所需的资料,以免影响产品在美国的正常销售。"
}

Parameters

ParameterTypeRequiredDescription
glossaryarray of objectNoYour own terms, up to 200 objects { source: Chinese, target: English }; they override the module's glossary and the series memory, and each one in the source is checked in the English.
levelstringNoThe naturalization level: grammatical keeps the Chinese structure and renders idioms word for word, natural is idiomatic English (the default), localized also adapts forms of address, idioms and cultural references for an American reader. One of: grammatical, natural, localized.
levelsarray of stringNoSeveral levels at once, side by side in each segment's targets and in translations; the first is the primary translation. Each level is one more model pass.
memoryobjectNoSeries memory, { entries: [{ source, target }, ...] } up to 1000 entries: send back the memory the previous episode's response returned, so names and terms are rendered the same way in every episode. Each response returns the memory with any newly romanized names added.
subtitlesstringNoA Mandarin subtitle file, SRT or WebVTT. It comes back in the same format with cue numbers and timings unchanged and only the text translated. At most 4000 source characters.
textstringNoMandarin Chinese text; paragraphs are separated by blank lines. Send this or subtitles, not both. At most 4000 source characters, spaces excluded.

Example response

The provider's example. We can't check it without paying.

Example response, 80 lines
{
  "census": {
    "natural": {
      "against": {},
      "readings": {
        "contested": 0,
        "denied": 0,
        "held": 2,
        "unknown": 0
      }
    }
  },
  "format": "text",
  "kind": "mandarin-english-translation/v1",
  "level": "natural",
  "levels": [
    "natural"
  ],
  "memory": {
    "entries": [
      {
        "source": "李明",
        "target": "Li Ming"
      },
      {
        "source": "美国",
        "target": "United States"
      }
    ]
  },
  "models": [
    "@cf/zai-org/glm-4.7-flash"
  ],
  "module": "general",
  "reading": {
    "natural": "held"
  },
  "segments": [
    {
      "evidence": {
        "natural": {
          "against": [],
          "for": [
            {
              "check": "untranslated"
            }
          ],
          "reading": "held"
        }
      },
      "source": "尊敬的客户:",
      "target": "Dear Customer:",
      "targets": {
        "natural": "Dear Customer:"
      }
    },
    {
      "evidence": {
        "natural": {
          "against": [],
          "for": [
            {
              "check": "untranslated"
            }
          ],
          "reading": "held"
        }
      },
      "source": "贵公司的医疗器械注册将于12月31日到期,请尽快提供年度更新所需的资料,以免影响产品在美国的正常销售。",
      "target": "Your company's medical device registration expires on December 31. Please provide the materials required for the annual update as soon as possible to avoid affecting the normal sales of your products in the United States.",
      "targets": {
        "natural": "Your company's medical device registration expires on December 31. Please provide the materials required for the annual update as soon as possible to avoid affecting the normal sales of your products in the United States."
      }
    }
  ],
  "translation": "Dear Customer:\n\nYour company's medical device registration expires on December 31. Please provide the materials required for the annual update as soon as possible to avoid affecting the normal sales of your products in the United States.",
  "translations": {
    "natural": "Dear Customer:\n\nYour company's medical device registration expires on December 31. Please provide the materials required for the annual update as soon as possible to avoid affecting the normal sales of your products in the United States."
  }
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://market.561.group/v1/translate/zh-en' \
  -H 'content-type: application/json' \
  --data-raw '{"text":"\u5c0a\u656c\u7684\u5ba2\u6237\uff1a\n\n\u8d35\u516c\u53f8\u7684\u533b\u7597\u5668\u68b0\u6ce8\u518c\u5c06\u4e8e12\u670831\u65e5\u5230\u671f\uff0c\u8bf7\u5c3d\u5feb\u63d0\u4f9b\u5e74\u5ea6\u66f4\u65b0\u6240\u9700\u7684\u8d44\u6599\uff0c\u4ee5\u514d\u5f71\u54cd\u4ea7\u54c1\u5728\u7f8e\u56fd\u7684\u6b63\u5e38\u9500\u552e\u3002"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://market.561.group/v1/translate/zh-en' \
  -H 'content-type: application/json' \
  --data-raw '{"text":"\u5c0a\u656c\u7684\u5ba2\u6237\uff1a\n\n\u8d35\u516c\u53f8\u7684\u533b\u7597\u5668\u68b0\u6ce8\u518c\u5c06\u4e8e12\u670831\u65e5\u5230\u671f\uff0c\u8bf7\u5c3d\u5feb\u63d0\u4f9b\u5e74\u5ea6\u66f4\u65b0\u6240\u9700\u7684\u8d44\u6599\uff0c\u4ee5\u514d\u5f71\u54cd\u4ea7\u54c1\u5728\u7f8e\u56fd\u7684\u6b63\u5e38\u9500\u552e\u3002"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmarket.561.group%2Fv1%2Ftranslate%2Fzh-en&method=POST
const res = await pay("https://market.561.group/v1/translate/zh-en", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "text": "\u5c0a\u656c\u7684\u5ba2\u6237\uff1a\n\n\u8d35\u516c\u53f8\u7684\u533b\u7597\u5668\u68b0\u6ce8\u518c\u5c06\u4e8e12\u670831\u65e5\u5230\u671f\uff0c\u8bf7\u5c3d\u5feb\u63d0\u4f9b\u5e74\u5ea6\u66f4\u65b0\u6240\u9700\u7684\u8d44\u6599\uff0c\u4ee5\u514d\u5f71\u54cd\u4ea7\u54c1\u5728\u7f8e\u56fd\u7684\u6b63\u5e38\u9500\u552e\u3002"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://market.561.group/v1/translate/zh-en",
        json={
            "text": "\u5c0a\u656c\u7684\u5ba2\u6237\uff1a\n\n\u8d35\u516c\u53f8\u7684\u533b\u7597\u5668\u68b0\u6ce8\u518c\u5c06\u4e8e12\u670831\u65e5\u5230\u671f\uff0c\u8bf7\u5c3d\u5feb\u63d0\u4f9b\u5e74\u5ea6\u66f4\u65b0\u6240\u9700\u7684\u8d44\u6599\uff0c\u4ee5\u514d\u5f71\u54cd\u4ea7\u54c1\u5728\u7f8e\u56fd\u7684\u6b63\u5e38\u9500\u552e\u3002",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed4021.1 s$0.01
6 h agoPassed4021.3 s$0.01
11 h agoPassed402883 ms$0.01
16 h agoPassed402776 ms$0.01
21 h agoPassed4021.3 s$0.01
Show 10 older checks
25 h agoPassed4021.5 s$0.01
30 h agoPassed402909 ms$0.01
35 h agoPassed402885 ms$0.01
39 h agoPassed4021.5 s$0.01
43 h agoPassed4021.2 s$0.01
47 h agoPassed402949 ms$0.01
2 days agoPassed402925 ms$0.01
2 days agoPassed402206 ms$0.01
3 days agoPassed402192 ms$0.01
3 days agoPassed402703 ms$0.01