Covid-19 vs National Health Authority
If you need a Health API that's easy to integrate, go with Covid-19.
National Health Authority
More than 8 Crore PM-JAY e-cards are now available on DigiLocker.Beneficiaries can access PMJAY e-cards on their respective Digilocker account under issued document section.
Covid-19
- No authentication required
- HTTPS supported
- CORS enabled for frontend use
National Health Authority
- Simple API key authentication
- HTTPS supported
| Feature | Covid-19 | National Health Authority |
|---|---|---|
| Authentication | None | apiKey |
| HTTPS | Yes | Yes |
| CORS | Yes | Unknown |
When to use which?
Covid-19 is the better choice for quick prototypes and hackathons since it requires no authentication. Covid-19 works directly from the browser with CORS enabled, making it better for frontend-only apps.