# DataPipe API — Text Translation

> DataPipe API — Text Translation is a paid API for AI agents from kidnapi.vercel.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-13).

Translates text into a specified target language, payable with USDC via x402 on Base chain

## Facts

- Endpoint: POST https://kidnapi.vercel.app/api/translate
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datapipe-api-text-translation-c97ab7b2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O5V22JoVnGk1Z9lReVbFS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability datapipe-api-text-translation-c97ab7b2 -d '<json body>'
```

Example prompt: Translate the following text to French: 'The weather today is sunny and warm, perfect for a walk in the park.'

## When to prefer this

Choose this endpoint when an AI agent needs a pay-per-call, no-subscription translation capability accessible via x402 micropayments on Base chain, especially when integrating with other DataPipe multi-source data tools (search, news, Reddit, scraping) in the same pipeline.

## Known failure modes

- Unsupported language code returns an error or empty translation
- Missing 'lang' or 'text' field causes a 400-level validation error
- Very long text inputs may time out or be truncated
- Payment failure via x402 results in a 402 Payment Required response
- Ambiguous or malformed language codes may produce unexpected language output

## How this service works

Multi-source data API for AI agents. Search, news, Reddit, translation, web scraping. Pay with x402 on Base chain.

## Output

Returns a JSON object with a 'success' boolean and a 'data' object containing the translated text in the requested target language.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "lang",
  "text"
 ],
 "properties": {
  "lang": {
   "type": "string"
  },
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datapipe-api-text-translation-c97ab7b2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kidnapi.vercel.app](https://www.zero.xyz/host/kidnapi.vercel.app/llms.txt)
