# GlobalRules Country Languages Lookup

> GlobalRules Country Languages Lookup is a paid API for AI agents from globalrules-api.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the official and spoken languages for a specific country (India in this URL) using the GlobalRules country data API

## Facts

- Endpoint: GET https://globalrules-api.onrender.com/api/v1/country/IN/languages
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/globalrules-country-languages-lookup-38cfc74f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pWnwaFEFC2Vr2T_-FEUVM

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 globalrules-country-languages-lookup-38cfc74f
```

Example prompt: What are the official and spoken languages in India? Look it up using GlobalRules so I get verified country data.

## When to prefer this

Choose this endpoint when you need a quick, verified, single-field language lookup for a specific country without building or maintaining your own country data database. It is particularly useful for agents automating travel planning, app localization decisions, international compliance checks, or onboarding flows where you need authoritative language data for India or other supported countries at low cost ($0.01 per call).

## Known failure modes

- Invalid or unsupported country code returns a 404 or error response
- Country code not among the 106 supported countries returns an error
- Network timeout from the Render-hosted service during cold start
- Payment failure via x402 protocol prevents access to the response
- Stale or outdated language data if source hasn't been re-verified recently

## How this service works

One specific fact for one country: VAT/GST rate, public holidays by country, visa requirements for travelers, tipping customs, power plug type, minimum wage, corporate tax, digital nomad visa, customs duty-free allowance and more. 138 countries, 55 fields, verified sources. Example: /api/v1/country/JP/vat

## Output

Returns a JSON object containing the country code (IN), a list of official and/or spoken languages for India, and a timestamp indicating when the data was last verified/updated.

## 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",
     "properties": {
      "country": {
       "type": "string"
      },
      "updated": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/globalrules-country-languages-lookup-38cfc74f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from globalrules-api.onrender.com](https://www.zero.xyz/host/globalrules-api.onrender.com/llms.txt)
