# auor.io (Oreo) - Language Detection via Google Translate

> auor.io (Oreo) - Language Detection via Google Translate is a paid API for AI agents from api.auor.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Detects the language of a given text string using Google Translate's detection engine

## Facts

- Endpoint: POST https://api.auor.io/google-translate/v1/detect
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/google-translate-language-detection-via-auor-io-fd86e8d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rR83P2WUMGVY3v9cw_C4M

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 google-translate-language-detection-via-auor-io-fd86e8d8 -d '<json body>'
```

Example prompt: What language is this text written in: 'Bonjour, comment allez-vous aujourd'hui?'

## When to prefer this

Use this endpoint when you need to programmatically identify the language of an arbitrary text string before translation or routing, especially within an x402 micropayment-enabled agent workflow where no account or subscription is required. Prefer this over manual language checks or heavier NLP pipelines when a lightweight, pay-per-call language detection call is sufficient.

## Known failure modes

- Empty or missing 'input' field returns a validation error
- Text too short or ambiguous may result in low-confidence or incorrect detection
- Unsupported or mixed-language text may reduce accuracy
- Non-textual input (numbers, symbols only) may return uncertain results
- Network or upstream Google Translate API failure returns a 5xx error
- Payment failure via x402 protocol returns a 402 Payment Required error

## How this service works

Detect the language of a given text

## Output

Returns the detected language of the input text, typically including an ISO 639-1 language code (e.g. 'fr' for French) and a confidence score indicating how certain the detection is.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "$ref": "https://api.auor.io/schemas/google-translate/v1/detect/input.json",
     "$schema": "https://json-schema.org/draft/2020-12/schema"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/google-translate-language-detection-via-auor-io-fd86e8d8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.auor.io](https://www.zero.xyz/host/api.auor.io/llms.txt)
