# Visa Requirements & Passport Visa Lookup

> Visa Requirements & Passport Visa Lookup is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Given a passport country and destination country, returns visa entry type (visa-free, e-visa, visa-on-arrival, or visa-required), permitted stay in days, and a human-readable status string; supports full 200x200 visa matrix retrieval.

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/visa-requirements
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-96f4ea97
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1i_fzDpS8CGYufM7eL529

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 x402-deployer-x402-deployer-workers-dev-96f4ea97 -d '<json body>'
```

Example prompt: Can I travel to Japan with a Brazilian passport without getting a visa first, and if so how many days am I allowed to stay?

## When to prefer this

Use this endpoint when you need structured, machine-readable visa eligibility data for a specific passport-destination pair or want the full global visa matrix. Prefer this over scraping embassy websites or general web search when you need consistent, structured output (entry type + stay duration) across many country combinations.

## Known failure modes

- Unrecognized country code or name returns an error or null result
- Landlocked or territory entries not in the passport-index-dataset may return missing data
- Dataset may be slightly outdated relative to current diplomatic changes
- full_matrix requests may be slower or larger than single-pair lookups

## How this service works

Visa requirements / passport visa lookup / visa-free travel checker / e-visa + visa-on-arrival lookup / passport-index / travel eligibility / Schengen + ESTA-style entry rules. Given a passport country and destination, returns whether entry is visa-free, e-visa, visa-on-arrival, or visa-required, plus permitted stay in days and a human-readable status string. Pass full_matrix to get the entire 200x200 visa matrix for the passport. Backed by the public CC-BY passport-index-dataset.

## Output

Returns the entry requirement type (visa-free, e-visa, visa-on-arrival, or visa-required), the number of permitted stay days, and a human-readable status string for the given passport/destination pair. If full_matrix is passed, returns the complete 200x200 matrix of all passport-destination combinations.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {
      "passport": {
       "type": "string",
       "description": "Passport country as ISO 3166-1 alpha-2 (e.g. 'US', 'GB', 'IN'). Case-insensitive."
      },
      "destination": {
       "type": "string",
       "description": "Destination country as ISO 3166-1 alpha-2 (e.g. 'JP', 'FR'). Required unless full_matrix=true."
      },
      "full_matrix": {
       "type": "boolean",
       "description": "If true, returns the full row of requirements for the passport country across all destinations instead of a single pair. Default false."
      }
     },
     "required": [
      "passport"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "passport": {
       "type": "string"
      },
      "destination": {
       "type": "string"
      },
      "requirement_raw": {
       "type": "string"
      },
      "status": {
       "type": "string"
      },
      "visa_free": {
       "type": "boolean"
      },
      "visa_free_days": {
       "type": "integer"
      },
      "attribution": {
       "type": "string"
      }
     }
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-96f4ea97/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
