# DataPipe API — Text Translation

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

Translates text into a specified target language, paid per-call via x402 on Base chain

## Facts

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

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-70a621cb -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need a pay-per-call translation API that settles via x402 on Base chain, with no subscription required, and you need to translate arbitrary text into a specified target language as part of an AI agent workflow.

## Known failure modes

- Missing required 'text' or 'lang' field returns a validation error
- Unsupported or invalid language code may cause a failed translation or error response
- Payment failure on Base chain results in a 402 response blocking the call
- Empty text input may return an empty or error response
- Network timeout on the Vercel deployment may produce a 5xx error

## 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 specified 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-70a621cb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from v2kidnapi.vercel.app](https://www.zero.xyz/host/v2kidnapi.vercel.app/llms.txt)
