Skip to content

Co-WIN Certificate API API

by cowin.gov.cin

API keyHTTPSOpen Data
Open documentation ↗

Overview

API to get Co-WIN vaccination certificate.

Co-WIN Certificate API is an open data API from cowin.gov.cin. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 1 endpoints.

At a glance

Authentication
API key
HTTPS
Yes
CORS
Unknown
Category
Open Data
Base URL
https://cowin.gov.cin/cert/external
Version
1.0.0
Endpoints
1
Spec updated
2021-02-07

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X POST "https://cowin.gov.cin/cert/external/pdf/certificate" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
JavaScript
const response = await fetch("https://cowin.gov.cin/cert/external/pdf/certificate", {
  method: "POST",
  headers: {
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "POST",
    "https://cowin.gov.cin/cert/external/pdf/certificate",
    headers={
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
POST/pdf/certificateDownload the certificate in pdf format

Questions

Does the Co-WIN Certificate API API need an API key?

Yes. The Co-WIN Certificate API API uses API key authentication; the documentation explains how to get credentials.

Does the Co-WIN Certificate API API support HTTPS?

Yes, the Co-WIN Certificate API API is served over HTTPS.

How many endpoints does the Co-WIN Certificate API API have?

Its OpenAPI description lists 1 endpoint in version 1.0.0. All of them are shown on this page.

What are alternatives to the Co-WIN Certificate API API?

Other Open Data APIs include Search Services, Wayback API, Wikipedia, Nasdaq Data Link, University of Oslo.

Compare alternatives →

Listed from APIs.guru (CC0).