Cleared for take-off…
LoadingCleared for take-off…
LoadingDevelopers · Raahi Data API
Visa access, entry rules, best-time and flight facts for the Indian passport — grounded, source-cited, and served from one authenticated, metered endpoint. Drop it into your booking flow, forex app or trip planner.
Every field traces to a public dataset (passport-index, mledoze/countries, ERA5). We never invent rules or fees.
Purpose-built for the Indian passport — the segment global entry-requirement APIs treat as an afterthought.
Bearer-key auth, a rate-limit header on every response, and a free sandbox tier to build against.
Quickstart
X-RateLimit-Remaining header.Request
curl -H "Authorization: Bearer rahi_live_…" \ "https://rahi-taupe.vercel.app/api/v1/visa?country=TH"
Response · 200
{
"passport": "IN",
"country": { "code": "TH", "name": "Thailand", "region": "Asia", "capital": "Bangkok", "currency": "THB" },
"visa": { "category": "visa-on-arrival", "label": "Visa on arrival", "daysAllowed": 15, "accessScore": 80 },
"bestMonths": ["Jan", "Feb", "Dec"],
"flightFromDelhi": { "km": 2916, "hours": 4 },
"source": "ilyankou/passport-index-dataset + mledoze/countries + ERA5 climate normals",
"disclaimer": "Educational only. Rules change without notice — verify with the official embassy before travel."
}Reference
| Field | In | Description |
|---|---|---|
| Authorization | header | Bearer <your key>. Or ?key= as a query fallback. |
| country | query | ISO-2 destination code, e.g. TH, AE, JP. Required. |
| visa.category | response | visa-free · visa-on-arrival · e-visa · eta · visa-required |
| visa.daysAllowed | response | Visa-free days when known, else null. |
| bestMonths | response | Most comfortable months from ERA5 climate normals. |
| flightFromDelhi | response | Great-circle km + approx non-stop hours. |
Endpoints
GET /api/v1/visa
?country=TH
Visa category, days, access score, best months & flight time.
GET /api/v1/best-time
?country=TH
12-month climate-comfort profile + sweet-spot months.
GET /api/v1/cost
?country=TH
Rough mid-range daily budget (₹/day) + vibe tags.
GET /api/v1/compare
?countries=TH,VN,ID
Visa, best months, budget & flight time for up to 5, at once.
All endpoints share the same bearer-key auth, quota and X-RateLimit-Remaining header. Machine-readable spec: /api/v1/openapi (OpenAPI 3).
White-label widget
Drop a grounded “can I go visa-free?” checker into your site with one iframe — no key, no build. Match your brand with ?accent= (a hex colour).
<iframe src="https://rahi-taupe.vercel.app/embed/visa?accent=ea580c" width="460" height="280" style="border:0" title="Raahi visa checker"></iframe>
The widget is embeddable from any origin (frame-ancestors: *) and shows “Powered by Raahi”. For a deeper/custom embed, use the JSON API above.
Access tiers
All data is educational — your end users must still verify official rules before travelling. Please cache responses and attribute “Powered by Raahi” where shown to users.