Open documentation ↗Overview
A real-time RESTish web API for worldwide carbon dioxide levels.
CarbonDoomsDay is an open data API from carbondoomsday.com. Requests are authenticated with HTTP Basic auth. It is served over HTTPS. Its OpenAPI description documents 2 endpoints.
At a glance
- Authentication
- HTTP Basic
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Open Data
- Base URL
https://api.carbondoomsday.com/api- Version
- v1
- Endpoints
- 2
- OpenAPI
- Specification ↗
- Spec updated
- 2018-08-24
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.carbondoomsday.com/api/co2/" \
-H "Accept: application/json" \
-H "Authorization: Basic BASE64_USER_PASSWORD"const response = await fetch("https://api.carbondoomsday.com/api/co2/", {
method: "GET",
headers: {
"Accept": "application/json",
"Authorization": "Basic BASE64_USER_PASSWORD",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.carbondoomsday.com/api/co2/",
headers={
"Accept": "application/json",
"Authorization": "Basic BASE64_USER_PASSWORD",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /co2/ | CO2 measurements from the Mauna Loa observatory. |
| GET | /co2/{date}/ | CO2 measurements from the Mauna Loa observatory. |
Questions
Does the CarbonDoomsDay API need an API key?
Yes. The CarbonDoomsDay API uses HTTP Basic authentication; the documentation explains how to get credentials.
Does the CarbonDoomsDay API support HTTPS?
Yes, the CarbonDoomsDay API is served over HTTPS.
How many endpoints does the CarbonDoomsDay API have?
Its OpenAPI description lists 2 endpoints in version v1. All of them are shown on this page.
What are alternatives to the CarbonDoomsDay 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).