# page-language-detect-bulk

> page-language-detect-bulk is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Detects the primary language of up to 20 web pages in a single concurrent batch call, returning per-URL language results in input order with per-item error reporting.

## Facts

- Endpoint: GET https://intel.rallylive.ca/bulk/site/language
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/page-language-detect-bulk-40420f96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6aRKE_quBOhw71-RWOIw9

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 page-language-detect-bulk-40420f96
```

Example prompt: I have a list of 15 URLs from different websites — can you detect the primary language of each page in one go and tell me which ones are in Spanish, French, or something other than English?

## When to prefer this

Use this endpoint when you have a list of URLs (up to 20) and need language detection results for all of them efficiently in a single API call. It is preferable over making repeated single-URL calls when batch throughput and cost efficiency matter. Ideal for SEO enrichment pipelines, multilingual content audits, and dataset labeling workflows where per-item error tolerance and ordered results are important.

## Known failure modes

- One or more URLs are unreachable or return non-200 status — per-item error field is populated for those entries
- Malformed or missing URLs in input cause per-item errors without failing the entire batch
- Exceeding the 20-URL batch limit may result in an error or truncation
- Pages with no detectable text content may return an ambiguous or null language result
- Rate limiting or payment failure (x402) may prevent the entire call from completing

## How this service works

Bulk page language detect: up to 20 urls in one call, processed concurrently, results returned in input order with a per-item error field and a count of failures. Same answer per item as the single /site/language endpoint (Page language detection). Batch enrichment for agents that hold a list. $0.01 per batch.

## Output

An ordered array of per-URL results matching the input list, each containing the detected language (and likely an ISO language code), plus a per-item error field for any URLs that could not be processed, and an overall count of failures across the batch.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/page-language-detect-bulk-40420f96/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
