# 2s Visa Requirement Lookup

> 2s Visa Requirement Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns visa entry requirements (visa-free, on-arrival, e-visa, required, etc.) for a given passport/destination country pair

## Facts

- Endpoint: GET https://2s.io/api/travel/visa
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-visa-requirement-lookup-692c9bba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_brGxXVuPzw7XBDaytGez6

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 2s-visa-requirement-lookup-692c9bba
```

Example prompt: Can you check whether a US passport holder needs a visa to visit Japan, and if it's visa-free, how many days are allowed?

## When to prefer this

Use this endpoint when an AI agent needs to quickly determine visa entry requirements between any two countries without requiring API key registration. Ideal for travel planning workflows, itinerary assistants, or compliance checks. Prefer this over official government sources when low-latency machine-readable responses are needed; note that results are informational only and sourced from the community-maintained Passport Index dataset, so always recommend users verify with official embassy sources for high-stakes travel decisions.

## Known failure modes

- Invalid or unrecognized country code/name returns an error or empty result set
- Missing required 'passport' or 'destination' query parameters returns a 400-level error
- Data may be outdated — visa policies change frequently and the community-maintained dataset may lag behind official policy changes
- Payment failure via x402 protocol results in a 402 response before data is returned

## How this service works

Look up the visa requirement for a traveler with a given passport visiting a destination country. Pass passport and destination as ISO-3166 alpha-3, alpha-2, or country name (e.g. passport=USA destination=Japan). Returns the requirement category — 'visa free' (with visaFreeDays, the allowed days), 'visa on arrival', 'e-visa', 'eta' (electronic travel authorization), 'visa required' (must arrange in advance), or 'no admission' — plus a plain-language description and the resolved passport/destination names. Data from the community-maintained Passport Index dataset (MIT). Informational only — not official immigration advice; verify with the destination's embassy before travel.

## Output

Returns an array of visa requirement entries each containing: visa category (e.g. 'visa free', 'visa on arrival', 'visa required'), number of visa-free days if applicable, a human-readable description of the entry requirement, normalized passport and destination country codes and names, and an optional note reminding users to verify with the destination embassy. Also includes the data source attribution (Passport Index dataset, MIT license).

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "passport": "US",
   "destination": "JP"
  }
 }
}
```

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [
      "passport",
      "destination"
     ],
     "properties": {
      "passport": {
       "type": "string",
       "description": "Passport country (ISO alpha-3/alpha-2 or name)."
      },
      "destination": {
       "type": "string",
       "description": "Destination country (ISO alpha-3/alpha-2 or name)."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-visa-requirement-lookup-692c9bba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
