NASA ADS API

Science & Math / OAuth Advanced HTTPS CORS
Varies by plan (check documentation)

Overview

NASA ADS (Astrophysics Data System) is a digital library for astronomy and physics research papers, with millions of articles going back decades. The API lets you search, retrieve, and cite scientific literature programmatically using an OAuth token. It is ideal for researchers and developers building tools around academic astronomy content.

💡

Beginner Tip

Generate your personal API token from the ADS user account page — it is a Bearer token you include in the Authorization header, and it gives you access to all search and retrieval features.

Available Data

space mission data
celestial body information
launch schedule
astronomical images
Use case: Integrate nasa astrophysics data system data into web and mobile applications

Example Response

JSON Response
{
  "title": "Astronomy Picture of the Day",
  "date": "2025-01-15",
  "explanation": "A stunning nebula captured by the James Webb Telescope...",
  "url": "https://apod.nasa.gov/apod/image/...",
  "media_type": "image"
}

Field Reference

numFound Total number of papers matching your search query across the entire database.
docs Array of paper objects returned for the current page of results.
title Array containing the paper title as a string (wrapped in array for consistency).
author List of author names in "Last, First" format.
bibcode The unique ADS identifier for a paper, useful for fetching full details or generating citations.
year The publication year of the paper as a four-digit string.

Implementation Example

// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://ui.adsabs.harvard.edu/help/api/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "Authorization": "Bearer YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized The Authorization header is missing or the token is invalid/expired.
Log into your ADS account at https://ui.adsabs.harvard.edu, go to Account > API Token, and generate a new token.
No results returned The search query is too specific or uses unsupported field syntax.
Try a broader search term first (e.g., q=black+holes), then add filters like year:[2020 TO 2024] incrementally.
429 Rate Limit Exceeded You have exceeded the allowed number of requests per day (5,000 for standard accounts).
Implement request throttling in your code, caching results you have already fetched, or apply for elevated access.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 5/20
🔒 Security 15/15
🛠 Developer XP 8/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth OAuth
HTTPS REQUIRED
CORS YES
Category Science & Math
Difficulty Advanced
Verified: 2026-04-04

Similar APIs

View All →