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

The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.

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

Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.

JSON Response · Illustrative
{
  "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

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
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

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

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.

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth OAuth
HTTPS REQUIRED
CORS YES
Category Science & Math
Difficulty Advanced
Listing details not endpoint-verified

Similar APIs

View All →