# GlobalRules Country Number Format Lookup

> GlobalRules Country Number Format 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 number formatting conventions (decimal separators, thousands separators, digit grouping) for a specific country by ISO country code.

## Facts

- Endpoint: GET https://globalrules-api.onrender.com/api/v1/country/DE/number_format
- 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-number-format-lookup-f05c2a18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CgZITAl4XU6izIGTRrf0v

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-number-format-lookup-f05c2a18
```

Example prompt: What number format does Germany use — specifically the decimal and thousands separators? Look it up from GlobalRules for country code DE.

## When to prefer this

Choose this endpoint when you need a single, authoritative, machine-readable number formatting fact for a specific country without building locale libraries yourself. Ideal for agents handling internationalization, invoice generation, data display localization, or form validation across multiple countries. Prefer this over general locale libraries when you need a verified, curated data point per country on demand.

## Known failure modes

- Invalid or unsupported ISO country code returns an error or empty result
- Country not in the 106-country dataset returns a 404 or null response
- Payment failure (x402) if USDC funds are insufficient
- Rate limiting or server unavailability from the Render-hosted service
- Stale data if the last-updated timestamp is old

## 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

A JSON object containing the country code, the number format details for the specified country (including decimal separator, thousands separator, and digit grouping conventions), 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-number-format-lookup-f05c2a18/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)
