Overview
eSubscription Voucher for LPG connections provided by BPCL (https://bharatpetroleum.com/) are made available to citizens in their DigiLocker accounts.
Ministry of Petroleum and Natural Gas(BPCL) 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 1 endpoints.
At a glance
- Authentication
- API key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Open Data
- Base URL
https://apisetu.gov.in/bharatpetroleum/v3- Version
- 3.0.0
- Endpoints
- 1
- OpenAPI
- Specification ↗
- Spec updated
- 2021-02-07
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X POST "https://apisetu.gov.in/bharatpetroleum/v3/lpgsv/certificate" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"const response = await fetch("https://apisetu.gov.in/bharatpetroleum/v3/lpgsv/certificate", {
method: "POST",
headers: {
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"POST",
"https://apisetu.gov.in/bharatpetroleum/v3/lpgsv/certificate",
headers={
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| POST | /lpgsv/certificate | LPG Subscription Voucher |
Questions
Does the Ministry of Petroleum and Natural Gas(BPCL) API need an API key?
Yes. The Ministry of Petroleum and Natural Gas(BPCL) API uses API key authentication; the documentation explains how to get credentials.
Does the Ministry of Petroleum and Natural Gas(BPCL) API support HTTPS?
Yes, the Ministry of Petroleum and Natural Gas(BPCL) API is served over HTTPS.
How many endpoints does the Ministry of Petroleum and Natural Gas(BPCL) API have?
Its OpenAPI description lists 1 endpoint in version 3.0.0. All of them are shown on this page.
What are alternatives to the Ministry of Petroleum and Natural Gas(BPCL) API?
Other Open Data APIs include Search Services, Wayback API, Wikipedia, Nasdaq Data Link, University of Oslo.
Similar open data APIs
Compare alternatives →Search Services
Open DataAPI for Internet Archive's Search-related services
Wayback API
Open DataAPI for Internet Archive's Wayback Machine
Wikipedia
Open DataMediawiki Encyclopedia
Nasdaq Data Link
Open DataThe source for financial, economic, and alternative datasets, serving investment professionals.
University of Oslo
Open DataCourses, lecture videos, detailed information for courses etc. for the University of Oslo (Norway)
Data API
Open DataServes the Clever Data API
Listed from APIs.guru (CC0).