$ man visa-requirements
/visa-requirements
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
localeCATEGORY
uncategorized
STATUS
● live
NAME
visa-requirements — checks visa requirements between any passport and destination country
SYNOPSIS
POST https://x402.agentutility.ai/visa-requirements
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Checks visa requirements between any passport and destination country. 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. Use it as a passport visa lookup, visa-free travel checker, e-visa + visa-on-arrival lookup, passport-index query, travel eligibility check, or Schengen + ESTA-style entry-rules reference.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| passport | string | Passport country as ISO 3166-1 alpha-2 (e.g. 'US', 'GB', 'IN'). Case-insensitive. | required |
| destination | string | Destination country as ISO 3166-1 alpha-2 (e.g. 'JP', 'FR'). Required unless full_matrix=true. | optional |
| full_matrix | boolean | If true, returns the full row of requirements for the passport country across all destinations instead of a single pair. Default false. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| passport | string | ISO country code of the traveler's passport that was queried. |
| destination | string | ISO country code of the destination being checked for entry requirements. |
| visa_free | string | Entry category: visa-free, e-visa, visa-on-arrival, or visa-required. |
| visa_free_days | string | Maximum stay duration in days allowed under the returned entry category. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/visa-requirements \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the visa-requirements tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- localetravelvisa-requirementspassportimmigrationvisa-freee-visa
- methods
- POST
- cluster
- locale
- price
- $0.005 USDC per call
ADJACENT — other endpoints in locale
| endpoint | description | price |
|---|---|---|
| air-quality | Returns current air quality readings and AQI category for any latitude/longitude, with optional hourly forecast rows for the next 1-72 hours. | $0.005 |
| airport-code-lookup | Resolves airport codes to airport name, municipality, country, region, coordinates, elevation, scheduled-service flag, homepage, and Wiki… | $0.005 |
| astro-times | Sunrise sunset times. | $0.005 |
| climate-data | Returns historical daily temperature, precipitation, humidity, wind, and solar radiation for any latitude/longitude. | $0.005 |
| country-info | Country info lookup. | $0.005 |
| current-weather | Looks up current weather conditions for a latitude/longitude: temperature, humidity, precipitation, wind, and WMO condition code. | $0.005 |
| holiday-lookup | Holiday calendar. | $0.005 |
| iata-airport-info | Looks up airport metadata from an IATA or ICAO code. | $0.005 |
SEE ALSO