Spaceflight News

News · No API Key Required · Works Globally

TL;DR

What it does: Browse and discover the latest spaceflight news articles including rocket launches, space missions, and space industry developments from multiple news sources.

Quick start: https://api.spaceflightnewsapi.net/v4/articles/?limit=5

No API key needed - just call the URL

Overview

The Spaceflight News API gives you access to thousands of spaceflight-related news articles from major space news outlets. You can browse the latest articles, search by keywords, filter by news source, and paginate through results. The API is completely free with no authentication required, making it perfect for hobby projects, space dashboards, and educational applications.

Live Example

Here's the exact URL to call and the real response you'll get:

The URL to call:

https://api.spaceflightnewsapi.net/v4/articles/?limit=1
Try This URL Now →

The actual response you get:

{
  "count": 34633,
  "next": "https://api.spaceflightnewsapi.net/v4/articles/?limit=1&offset=1",
  "previous": null,
  "results": [
    {
      "id": 38454,
      "title": "Live coverage: SpaceX to launch its first Falcon 9 rocket since Nasdaq debut",
      "authors": [{"name": "Will Robinson-Smith"}],
      "url": "https://spaceflightnow.com/2026/06/14/live-coverage-spacex-to-launch-its-first-falcon-9-rocket-since-nasdaq-debut/",
      "image_url": "https://spaceflightnow.com/wp-content/uploads/2026/03/20260326-Vandy-Starlink-File-Photo.jpg",
      "news_site": "Spaceflight Now",
      "summary": "The Starlink 17-54 mission includes the 1,500th Starlink satellite launched so far in 2026.",
      "published_at": "2026-06-14T23:29:03Z",
      "updated_at": "2026-06-14T23:30:20.317671Z",
      "featured": false
    }
  ]
}

What does this data mean?

The response above shows the latest spaceflight news article - a SpaceX Falcon 9 launch covered by Spaceflight Now. Here's what each field means:

count
Total number of articles matching your query (34,633 articles available)
next
URL to the next page of results. Follow this to paginate through all articles
previous
URL to the previous page of results, or null if you're on the first page
results[].id
Unique identifier for the article
results[].title
Headline/title - "Live coverage: SpaceX to launch its first Falcon 9 rocket since Nasdaq debut"
results[].authors
List of authors who wrote the article (e.g., Will Robinson-Smith)
results[].url
Link to the full article on the original news site
results[].image_url
URL of the article's featured/header image
results[].news_site
Name of the news outlet (e.g., "Spaceflight Now")
results[].summary
Brief description or excerpt of the article's content
results[].published_at
When the article was published (ISO 8601 format)
results[].updated_at
When the article was last updated
results[].featured
Whether the article is marked as featured (boolean: true/false)

How to use this API

JavaScript Example (with pagination)

// Fetch articles and paginate through results
async function fetchAllArticles(startUrl) {
  let url = startUrl;
  let page = 1;
  
  while (url) {
    const res = await fetch(url);
    const data = await res.json();
    
    console.log(`--- Page ${page} (${data.results.length} articles) ---`);
    data.results.forEach(article => {
      console.log(`${article.title} (${article.news_site})`);
    });
    
    // Follow the 'next' URL from the response
    url = data.next;
    page++;
  }
}

fetchAllArticles("https://api.spaceflightnewsapi.net/v4/articles/?limit=3");

Python Example (with pagination)

import requests

url = "https://api.spaceflightnewsapi.net/v4/articles/?limit=3"
page = 1

while url:
    response = requests.get(url)
    data = response.json()
    
    print(f"--- Page {page} ({len(data['results'])} articles) ---")
    for article in data['results']:
        print(f"{article['title']} ({article['news_site']})")
    
    # Follow the 'next' URL from the response
    url = data['next']
    page += 1

Frequently Asked Questions

Do I need an API key?
No! The Spaceflight News API is completely free with no authentication required. Just call the URL and get data.
How does pagination work?
Use the limit and offset query parameters. ?limit=10 returns 10 results per page. The response includes a next field with the URL for the next page, making pagination easy.
Can I filter by news site?
Yes! Use the ?news_site= parameter to filter articles by a specific news outlet (e.g., ?news_site=Spaceflight Now).
Can I search for specific articles?
Yes, use the ?search= parameter to search by keyword. For example, ?search=Artemis returns articles about NASA's Artemis program.
Is there a rate limit?
No documented rate limit, but please be reasonable with your request frequency. Avoid making thousands of requests per second.
Can I use this commercially?
Yes, this API is free for both personal and commercial use. Check the official documentation for any specific restrictions.
How do I parse the JSON response?
In JavaScript: data.results[0].title. In Python: data['results'][0]['title']. The field explanations above show what each field contains.

API Details

Base URL
https://api.spaceflightnewsapi.net/v4/articles/
Documentation
https://spaceflightnewsapi.net/
Category
News
Authentication
None required - completely free
Rate Limit
None documented, be reasonable
Geographic Coverage
Global