Japanese text check for agents
hodoyoku.pages.dev/api/v1/ja-text-check
Japanese text check for agents: deterministic rules (ra-nuki/sa-ire, double keigo, バイト敬語, idiom misuse, katakana misspellings, 表記ゆれ notation variance, です/ます vs だ/である style mix, width/punctuation mix, long sentences, kanji ratio, translationese) with English explanations, plus an optional AI copy-edit and revised text. GET ?text= (≤1000 chars) or POST JSON (≤4000). 0.02 USDC.
GET
https://hodoyoku.pages.dev/api/v1/ja-text-checkUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://hodoyoku.pages.dev/api/v1/ja-text-check?ai=1&text=%E3%81%94%E7%A2%BA%E8%AA%8D%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%E8%B3%87%E6%96%99%E3%82%92%E8%A6%8B%E3%82%8C%E3%81%BE%E3%81%99%E3%81%8B%EF%BC%9F&audience=business");
console.log(await res.json());Example input
{
"ai": "1",
"text": "ご確認してください。資料を見れますか?",
"audience": "business"
}