Pour les développeurs

API Content

Accès en lecture seule aux conseils de voyage, maladies infectieuses et sources sur vaxy.app. Fichiers JSON statiques, sans authentification.

Aperçu

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 de base

All endpoints live under the locale path:

https://vaxy.app/fr/travel/{slug}.json

Points de terminaison

  • GET /{locale}/travel.json

    List of countries with LCR travel advice

  • GET /{locale}/travel/{slug}.json

    Travel vaccination advice per country

  • GET /{locale}/travel/diseases.json

    List of infectious diseases with travel advice

  • GET /{locale}/travel/diseases/{slug}.json

    Disease profile and country links

  • GET /{locale}/data/vaccinations.json

    Vaccine catalog (expanding)

Langue

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.

Champs de réponse

  • 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)

Attribution

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.

OpenAPI

Machine-readable specification:

openapi.json

Exemple

Live URLs:

curl "https://vaxy.app/fr/travel/thailand.json"

Not medical advice. Always verify current LCR or clinician guidance before travel.