# GlobalRules Country Plug Type Lookup

> GlobalRules Country Plug Type 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-16).

Returns the electrical plug type(s) used in a specified country (e.g. GB) as a single JSON field.

## Facts

- Endpoint: GET https://globalrules-api.onrender.com/api/v1/country/GB/plug
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/globalrules-country-plug-type-lookup-667b7a4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BLOXcq_j3BC7US8On7Xk6

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-plug-type-lookup-667b7a4f
```

Example prompt: What plug type does the UK use? I'm planning a trip and want to know if I need a plug adapter.

## When to prefer this

Choose this endpoint when you need only the plug type for a single country and want the cheapest possible call ($0.01 USDC). Prefer this over the full country profile endpoint when you don't need VAT, holidays, or other fields — it returns exactly one fact. Use it for travel planning tools, e-commerce compliance checks, or device configuration workflows where plug standard is the only needed data point.

## Known failure modes

- Invalid or unsupported country code returns an error or empty response
- Country code not among the 98 supported countries returns a 404 or error
- Misformatted country code (e.g. lowercase or 3-letter code) may be rejected
- Network timeout from the Render.com hosted service
- Stale data if electrical standards change and the source hasn't been reverified

## 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 plug type(s) used in that country (e.g. 'G' for UK Type G), and an 'updated' timestamp indicating when the data was last verified. The response is a single targeted field rather than a full country profile.

## 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-plug-type-lookup-667b7a4f/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)
