# GlobalRules – GB Units of Measurement

> GlobalRules – GB Units of Measurement 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 units of measurement system used in Great Britain (e.g. metric/imperial mix) as a single verified country fact.

## Facts

- Endpoint: GET https://globalrules-api.onrender.com/api/v1/country/GB/units
- 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-gb-units-of-measurement-ceee59a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_55lq0BEMiF6LpcOJb4Jml

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-gb-units-of-measurement-ceee59a7
```

Example prompt: What units of measurement does Great Britain officially use — metric, imperial, or a mix?

## When to prefer this

Choose this endpoint when you need a single, verified, up-to-date fact about Great Britain's measurement system without pulling a full country profile. Ideal for lightweight lookups in travel apps, e-commerce localization pipelines, or compliance checks where only the units field is needed and per-call cost efficiency matters.

## Known failure modes

- Invalid or unsupported country code returns a 404 or error response
- Field not available for requested country returns empty or null value
- Service downtime on render.com free tier may cause slow cold starts or 503 errors
- Stale data if the verified source has not been recently refreshed

## 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 (GB), the units of measurement data field (e.g. metric, imperial, or mixed), and a last-updated timestamp indicating when the data was verified.

## 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-gb-units-of-measurement-ceee59a7/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)
