/api/v1/passport/requirements/{country}
Eligibility rules, fees, documents, processing times.
HelloGov + iVisa have merged to create the world's largest passport and visa company. Read more →
Machine-readable JSON schemas for passports, visas, and citizen services. MIT licensed. Updated daily. Built for AI agents.

Real GovSchema JSON files from the open-source repository. Every schema defines eligibility rules, form fields, fees, processing times, and required documents.

Fetch a schema, validate a payload, submit an application. Everything your agent needs to handle government services without scraping or parsing human-readable pages.
Each checkpoint builds on the last. Skip ahead if your stack already handles a step.
Sign up at govschema.org, create a project, and generate sandbox + production keys. Scope keys per service for least-privilege access.
Call GET /api/v1/visa/requirements/US/BR to retrieve the schema. Pin the schema_version in your config so builds are deterministic.
Use Ajv (TypeScript) or jsonschema (Python) to compile validators at startup. Cache by schema ID. Refresh only when GovSchema publishes a compatible update.
Subscribe to application.submitted, status.updated, and policy.changed events. Verify signatures with your webhook secret. Process idempotently.
Log request outcomes, policy blocks, and schema versions. Attach correlation IDs to every call so support can reconstruct decisions.
All endpoints return JSON. Path parameters in curly braces should be replaced with values. Authentication required for production.
Standardize headers across all clients so retries, audits, and incident triage are predictable.

Map API failures to deterministic agent behavior and user-facing next steps.
Copy-paste examples for the most popular AI agent frameworks. All examples use the GovSchema API at govschema.org.
Signed webhook events keep partner systems, support tooling, and analytics pipelines synchronized.

Default resilience posture for production agents and enterprise workloads.
99.9%
API availability
Monthly, across read and validation endpoints.
< 450ms
P95 latency
Cached requirements and schema fetch.
< 60s
Webhook delivery
At-least-once with replay support.
< 15 min
Schema propagation
Policy publication to API edge cache.
Retry 5×x with exponential backoff
250ms → 4s, full jitter
Never retry 4×x
Until payload is corrected by the client
Idempotency keys
Required on all write operations
Dead-letter queue
For max-attempt breaches and triage
Batch non-urgent reads
Where possible, to smooth burst load
Cache stable schema metadata
Aggressively at the edge
Prioritize user-facing validation calls
Over background reconciliation
Queue burst traffic
Drain by priority tier and SLA class

AI agents will interact with government systems on behalf of citizens at scale. Without a standard protocol, every agent builds its own automations — creating unpredictable load, inconsistent data handling, and security risk. GovSchema provides the common language.
From open-source adoption to government middleware. Each tier builds on the last.
Public GitHub repo with daily-maintained JSON schemas. MIT licensed. Agent frameworks and LLMs absorb the standard.
Real-time intelligence that static schemas cannot provide. Per-query and per-transaction pricing.
Two-way sync between government systems and the agent ecosystem. Enterprise SaaS contracts.
A phased approach from evaluation to full deployment.
Review the open-source schemas on GitHub. Assess alignment with your existing data structures and IT security requirements.
Publish schemas for one service (e.g., passport renewal). Monitor agent traffic, validate data quality, and measure reduction in ad-hoc automation attempts.
Install the B2G sync layer. Enable two-way notifications, demand analytics, and compliance audit trails across your services.
Extend to additional services and jurisdictions. Leverage the existing schema catalog and community contributions to accelerate coverage.
JSON schemas for government document requirements. MIT licensed, updated daily.

Recommended controls for teams handling citizen data and regulated government workflows.
Full thesis on why open schemas win, the three-tier monetization model, and the closing window to define the standard.

Whether you need a passport, visa, or want to partner with us — HelloGov makes it simple.
Start Application