Para desarrolladores
API de contenido
Acceso de solo lectura a consejos de viaje, enfermedades infecciosas y fuentes en vaxy.app. Archivos JSON estáticos, sin autenticación.
Resumen
The Vaxy Content API is not a runtime server: each deploy generates static JSON alongside existing HTML and Markdown pages. Data comes from verified sources (LCR, WHO, RVP, RIVM where applicable).
URL base
All endpoints live under the locale path:
https://vaxy.app/es/travel/{slug}.jsonEndpoints
- GET
/{locale}/travel.jsonList of countries with LCR travel advice
- GET
/{locale}/travel/{slug}.jsonTravel vaccination advice per country
- GET
/{locale}/travel/diseases.jsonList of infectious diseases with travel advice
- GET
/{locale}/travel/diseases/{slug}.jsonDisease profile and country links
- GET
/{locale}/data/vaccinations.jsonVaccine catalog (expanding)
Idioma
Locale is in the path (nl, en, de, fr, es). Names and LCR strings follow the locale; disease profile body text is nl or en only for now (see data.profileInLanguage). Markdown mirrors use the same route with .md.
Campos de respuesta
- schemaVersion — contract version (currently 1)
- inLanguage — locale of this file (path + localized fields)
- canonicalUrl — HTML page for humans
- markdownUrl — Markdown mirror for LLMs
- alternateLocales — links to other languages
- lastUpdated — last content update
- data — payload (countries/diseases: lcrUrl links to LCR; diseases: profileInLanguage is the language of profile.blocks)
Atribución
Link to the original source via data.lcrUrl (LCR) where available. Medical content supports personal health admin only; Vaxy is not a healthcare provider.
Build validation
Empty vaccinations.json and openapi.json are exempt. Each populated vaccination entry requires sourceUrl.
Ejemplo
Live URLs:
- https://vaxy.app/es/travel.json
- https://vaxy.app/es/travel/thailand.json
- https://vaxy.app/es/travel/diseases.json
- https://vaxy.app/es/travel/diseases/malaria.json
- https://vaxy.app/es/data/vaccinations.json
- https://vaxy.app/es/developers/openapi.json
curl "https://vaxy.app/es/travel/thailand.json"
Not medical advice. Always verify current LCR or clinician guidance before travel.