# QuickBuild Translate API

> QuickBuild Translate API is a paid API for AI agents from quickbuild.quynguyenbac.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-21).

Translates text or the main content of a public URL from any language to a target language using an LLM model

## Facts

- Endpoint: GET https://quickbuild.quynguyenbac.workers.dev/api/translate?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quickbuild-translate-api-43e67815
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qwFjB9QeUe0mLk_3ksGS1

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 quickbuild-translate-api-43e67815
```

Example prompt: Translate the following Markdown text into French, auto-detecting the source language, and keep it under 3000 characters: '# Bonjour le monde\nCeci est un exemple de texte en français.'

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call text or webpage translation powered by an LLM with auto language detection, support for Markdown, and a simple GET interface — especially when you want to translate a live public URL's content without pre-fetching it yourself.

## Known failure modes

- Missing or invalid URL when no text is provided may return a fallback Spanish sample translation
- Source character count exceeding maxChars results in truncation (truncated: true)
- Unsupported or unrecognized language codes may cause incorrect detection or mistranslation
- Unreachable or paywalled URLs will fail to extract content
- Very long texts beyond 20000 characters are rejected by schema validation

## How this service works

Landing pages ($15), Google Sheets/Apps Script automation ($10), scrapers, scripts & Telegram bots (from $15), broken-link + sitemap audit reports ($10). See a working demo first, pay after.

## Output

Returns a JSON object with the translated text, detected source language code, target language code, the AI model used, character counts for source and output, number of segments processed, whether the input was truncated, the page title (if a URL was provided), and the source type ('text' or 'url').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "to": {
       "type": "string",
       "description": "Target language, ISO 639-1 code or English name (default \"en\")."
      },
      "url": {
       "type": "string",
       "description": "Public http(s) URL whose main content is translated (optional; used when `text` is absent)."
      },
      "from": {
       "type": "string",
       "description": "Source language code, or \"auto\" (default: auto-detect)."
      },
      "text": {
       "type": "string",
       "description": "Text or Markdown to translate (optional). If omitted and no url, a short Spanish sample is used."
      },
      "maxChars": {
       "type": "integer",
       "maximum": 20000,
       "minimum": 100,
       "description": "Max source chars to translate (default 8000)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string"
      },
      "url": {
       "type": [
        "string",
        "null"
       ]
      },
      "from": {
       "type": "string"
      },
      "text": {
       "type": "string",
       "description": "Translated text/Markdown"
      },
      "chars": {
       "type": "integer"
      },
      "model": {
       "type": "string"
      },
      "title": {
       "type": [
        "string",
        "null"
       ]
      },
      "source": {
       "enum": [
        "url",
        "text"
       ],
       "type": "string"
      },
      "segments": {
       "type": "integer"
      },
      "truncated": {
       "type": "boolean"
      },
      "sourceChars": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "en",
  "url": null,
  "from": "es",
  "text": "Hello, how are you?",
  "chars": 18,
  "model": "@cf/meta/llama-4-scout-17b-16e-instruct",
  "title": null,
  "source": "text",
  "segments": 1,
  "truncated": false,
  "sourceChars": 18
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quickbuild-translate-api-43e67815/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quickbuild.quynguyenbac.workers.dev](https://www.zero.xyz/host/quickbuild.quynguyenbac.workers.dev/llms.txt)
