Kratos African Languages

Native-quality translation into African languages, built for AI agents. Pay per request in USDC with the x402 protocol: no account, no API key, no subscription.

$0.02
per request
1,000
characters per request
15
languages

Languages

Yoruba yoIgbo igHausa haNigerian Pidgin pcmTwi (Akan) twSwahili swZulu zuXhosa xhAmharic amSomali soKinyarwanda rwLingala lnWolof woEnglish enFrench fr

Bible API

Verses and passages from the World English Bible (public domain), and Bible passages translated into the African languages above with verse numbers kept.

$0.005
verse or passage lookup (up to 60 verses)
$0.02
passage in an African language (up to 15 verses)
GET  https://kratos-multi-agent.netlify.app/api/bible/verse?ref=John 3:16
POST https://kratos-multi-agent.netlify.app/api/bible/translate   {"ref":"Psalm 23:1-3","target":"yo"}
Free book list and prices: https://kratos-multi-agent.netlify.app/api/bible/books

Looking for safety checks?

Token, wallet and x402 service checks are run by our sister agent, Kratos Sentinel.

How to call it

curl -X POST https://kratos-multi-agent.netlify.app/api/translate \
  -H "Content-Type: application/json" \
  -d '{"text":"Good morning, how are you?","target":"yo"}'
# -> 402 Payment Required (x402). Pay with any x402 client, then retry.

Paying automatically (agents)

import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";

const pay = wrapFetchWithPaymentFromConfig(fetch, {
  schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(privateKeyToAccount(KEY)) }],
});
const res = await pay("https://kratos-multi-agent.netlify.app/api/translate", {
  method: "POST", headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ text: "Welcome to our church", target: "ig" }),
});
console.log(await res.json());

Requests that fail (bad input, or a translation error) are not charged. Free endpoint with prices and languages: /api/languages