TL;DR
The Spaceflight News API provides the latest articles about spaceflight, rocket launches, space missions, and the space industry. Each article includes title, summary, image URL, news site, publication date, and a link to the full article. Supports pagination, search, and filtering by news site and launch ID. Updated throughout the day as new articles are published. No API key required.
Quick start: https://api.spaceflightnewsapi.net/v4/articles/?limit=1
No API key needed — free space news!
How to Use This API
1. Get Latest Articles
Returns the most recent spaceflight news articles:
https://api.spaceflightnewsapi.net/v4/articles/?limit=10
2. Get a Specific Article
https://api.spaceflightnewsapi.net/v4/articles/25000
3. Search Articles
https://api.spaceflightnewsapi.net/v4/articles/?search=Starship
4. Filter by News Site
https://api.spaceflightnewsapi.net/v4/articles/?news_site=NASA
5. JavaScript — News Feed
fetch('https://api.spaceflightnewsapi.net/v4/articles/?limit=5')
.then(r => r.json())
.then(data => {
console.log(`Total articles: ${data.count}`);
data.results.forEach(article => {
console.log(article.title);
console.log(` By: ${article.news_site} — ${new Date(article.published_at).toLocaleDateString()}`);
console.log(` ${article.summary.slice(0, 120)}...`);
console.log(` Image: ${article.image_url}`);
});
});
6. Python — Launch-Related News
import requests
# Search for launch-related articles
params = {
'search': 'Falcon 9',
'limit': 10,
'ordering': '-published_at'
}
resp = requests.get(
'https://api.spaceflightnewsapi.net/v4/articles/',
params=params
).json()
print(f"Found {resp['count']} articles about Falcon 9")
for a in resp['results']:
print(f" • {a['title'][:70]}...")
print(f" {a['news_site']} | {a['published_at'][:10]}")
Latest articles:
https://api.spaceflightnewsapi.net/v4/articles/?limit=5
Frequently Asked Questions
- What news sites are covered?
- Major space news sources including NASA, Space.com, SpaceNews, Ars Technica (space section), NASASpaceflight, Everyday Astronaut, SpaceX Updates, ESA, and many more space-focused outlets.
- How often is the database updated?
- New articles are added throughout the day as they are published. The API polls news sources regularly and makes new content available typically within hours of publication.
- What data is included for each article?
- Title, summary, image URL, news site name, published date, updated date, URL to full article, and optional featured status and launch association (if the article relates to a specific launch).
- How do I paginate through results?
- Use
limit(max 100) andoffsetparameters. The response includescount(total),next(next page URL), andprevious(previous page URL) for easy navigation. - Can I filter by date range?
- Yes — use
published_at_gteandpublished_at_ltefor date range filtering (ISO 8601 format). Also supportsupdated_at_gte/updated_at_lte. - Is there a rate limit?
- No documented rate limit. The API is free for use in applications, websites, and projects. Be reasonable with request frequency and cache results where possible.
API Details
- API URL
https://api.spaceflightnewsapi.net/v4/- Documentation
- Spaceflight News API Docs
- Category
- News
- Authentication
- Not Required
- Endpoints
/articles,/articles/{id},/blogs,/reports,/launches,/events
What You Can Build
- Space news aggregator with latest launch and mission articles
- Rocket launch dashboard combining news with launch schedule data
- Space industry monitoring tool tracking company announcements
- Daily space digest email with top stories from multiple sources
- Mission companion app showing relevant news for upcoming launches