Skip to content

Daymet Single Pixel Extraction Tool API API

by ornl.gov

No authHTTPSGeocoding
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
Spec updated
2021-06-21

Make a first request

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

cURL
curl -X GET "https://daymet.ornl.gov/single-pixel/api/data" \
  -H "Accept: application/json"
JavaScript
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);
Python
import requests

response = requests.request(
    "GET",
    "https://daymet.ornl.gov/single-pixel/api/data",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/api/dataDownload Daymet Data
GET/previewPreview Daymet Data in a web browser
GET/send/saveDataDownload Daymet Data
GET/visualizeVisualize 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.

Compare alternatives →

Listed from APIs.guru (CC0).