$ man visa-requirements
/visa-requirements(1)
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
localeCATEGORY
uncategorized
STATUS
● live
NAME
visa-requirements — visa requirements lookup
SYNOPSIS
POST https://x402.org/v1/visa-requirements
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Visa requirements lookup. Passport country + destination → visa-free / e-visa / visa-on-arrival / visa-required + duration. Public CC-BY dataset.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| passport | string | ISO 2-letter country code. | required |
| destination | string | ISO 2-letter country code. | 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.org/v1/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 once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the visa-requirements tool to ..."
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 |
|---|---|---|
| iata-airport-info | IATA / ICAO airport code lookup. | $0.005 |
| satellite-tile | Satellite imagery tile / lat-lon to satellite PNG / Sentinel-2 tile API / cloud-free satellite snapshot / agent-callable satellite imagery. | $0.005 |
| vin-decode | VIN decoder / VIN lookup / decode VIN / vehicle identification number / NHTSA vPIC wrapper. | $0.005 |
| weather | Weather API / weather forecast / current weather / hourly forecast. | $0.005 |
| weather-forecast | Weather forecast / hourly forecast / current weather / temperature / precipitation / UV index / sunrise-sunset / Open-Meteo / weather API. | $0.005 |
| astro-times | sunrise-sunset / golden-hour / civil twilight / nautical dusk / day-length / solar-noon / dawn-dusk / astronomy times. | $0.002 |
| country-info | Country info / ISO 3166 / country code lookup / capital city lookup / currencies by country / population / region resolver. | $0.002 |
| earthquakes-recent | Earthquake feed / seismic activity / USGS / recent quakes / quake monitor / tremor data / fault line activity / tsunami alerts. | $0.002 |
SEE ALSO