Skip to content

Ministry of Road Transport and Highways API

by apisetu.gov.in

API keyHTTPSOpen Data
Open documentation ↗

Overview

Driving License (DL) & Vehicle Registration Certificate (RC) as available in Ministry of Transport's SARATHI & VAHAN portals (http://morth.nic.in/) can be pulled by citizens into their DigiLocker accounts.

Ministry of Road Transport and Highways is an open data API from apisetu.gov.in. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 5 endpoints.

At a glance

Authentication
API key
HTTPS
Yes
CORS
Unknown
Category
Open Data
Base URL
https://apisetu.gov.in/transport/v3
Version
3.0.0
Endpoints
5
Spec updated
2021-02-07

Make a first request

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

cURL
curl -X POST "https://apisetu.gov.in/transport/v3/drvlc/certificate" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
JavaScript
const response = await fetch("https://apisetu.gov.in/transport/v3/drvlc/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://apisetu.gov.in/transport/v3/drvlc/certificate",
    headers={
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
POST/drvlc/certificateDriving License
POST/fitcer/certificateFitness Certificate
POST/rvcer/certificateRegistration of Vehicles
POST/vhinsc/certificateVehicle Insurance Certificate
POST/vhtax/certificateVehicle Tax Receipt

Questions

Does the Ministry of Road Transport and Highways API need an API key?

Yes. The Ministry of Road Transport and Highways API uses API key authentication; the documentation explains how to get credentials.

Does the Ministry of Road Transport and Highways API support HTTPS?

Yes, the Ministry of Road Transport and Highways API is served over HTTPS.

How many endpoints does the Ministry of Road Transport and Highways API have?

Its OpenAPI description lists 5 endpoints in version 3.0.0. All of them are shown on this page.

What are alternatives to the Ministry of Road Transport and Highways API?

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

Compare alternatives →

Listed from APIs.guru (CC0).