# GlobalRules Country Visa Requirement (Common Passports)

> GlobalRules Country Visa Requirement (Common Passports) 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-14).

Returns the common-passport visa requirement for a specific country — e.g. whether most visitors need a visa to enter the US.

## Facts

- Endpoint: GET https://globalrules-api.onrender.com/api/v1/country/US/visa_requirement_common_passports
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/globalrules-country-visa-requirement-common-passports-7125e1e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PPflu1N7g2ZkrdLPdR_v-

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-visa-requirement-common-passports-7125e1e6
```

Example prompt: What's the visa requirement for common passport holders entering the US? Pull the latest data from GlobalRules for country code US.

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.01) single-field lookup of visa requirements for a specific country without needing full travel advisory detail. It is ideal for agents that need to quickly answer 'do I need a visa for country X' using a structured, machine-readable response. Prefer alternatives if you need visa requirements broken down by specific passport nationality rather than common passport holders, or if you need richer consular/embassy detail.

## Known failure modes

- Unsupported country code returns 404 or empty result
- Country not among the 98 supported countries returns an error
- Stale or unverified data if the source hasn't been refreshed recently
- Network timeout from the Render-hosted service under cold start conditions
- Malformed country code (e.g. 3-letter instead of 2-letter ISO) causes a 400 or no-match error

## 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 with the country code, the visa requirement applicable to common passport holders (e.g. visa-free, visa on arrival, e-visa required, visa required), and a timestamp indicating when the data was last 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-country-visa-requirement-common-passports-7125e1e6/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)
