Open documentation ↗Overview
Welcome to the Daymet Single Pixel Extraction Tool API. You can use this API to download daily surface data within the Daymet database in a `csv` or `json` format for a single point. This API allows users to query a single geographic point by latitude and longitude in decimal degrees. A routine is executed that translates the (lon, lat) coordinates into projected Daymet (x,y) Lambert Conformal Coordinates. These coordinates are used to access the Daymet database of daily interpolated surface weather variables. Daily data from the nearest 1 km x 1 km Daymet grid cell are extracted from the database. If you would like to learn how to automate the download of multiple locations for the Daymet Single Pixel Extraction Tool, click [here](https://github.com/ornldaac/daymet-single-pixel-batch).
Daymet Single Pixel Extraction Tool API is a geocoding API from ornl.gov. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 4 endpoints.
At a glance
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Geocoding
- Base URL
https://daymet.ornl.gov/single-pixel- Version
- 1.0.2
- Endpoints
- 4
- OpenAPI
- Specification ↗
- Spec updated
- 2021-06-21
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://daymet.ornl.gov/single-pixel/api/data" \
-H "Accept: application/json"const response = await fetch("https://daymet.ornl.gov/single-pixel/api/data", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://daymet.ornl.gov/single-pixel/api/data",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /api/data | Download Daymet Data |
| GET | /preview | Preview Daymet Data in a web browser |
| GET | /send/saveData | Download Daymet Data |
| GET | /visualize | Visualize Daymet Data in a web browser |
Questions
Does the Daymet Single Pixel Extraction Tool API API need an API key?
No. The Daymet Single Pixel Extraction Tool API API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the Daymet Single Pixel Extraction Tool API API support HTTPS?
Yes, the Daymet Single Pixel Extraction Tool API API is served over HTTPS.
How many endpoints does the Daymet Single Pixel Extraction Tool API API have?
Its OpenAPI description lists 4 endpoints in version 1.0.2. All of them are shown on this page.
What are alternatives to the Daymet Single Pixel Extraction Tool API API?
Other Geocoding APIs include Bing Maps, ip-api, OpenStreetMap, GeographQL, IP Address Details.
Similar geocoding APIs
Compare alternatives →Bing Maps
GeocodingCreate/customize digital maps based on Bing Maps data
ip-api
GeocodingFind location with IP address or domain
OpenStreetMap
GeocodingNavigation, geolocation and geographical data
GeographQL
GeocodingA Country, State, and City GraphQL API
IP Address Details
GeocodingFind geolocation with ip address
ipapi.co
GeocodingFind IP address location information
Listed from APIs.guru (CC0).