Returns a paginated list of spaceflight news articles from various sources including NASA, SpaceX, and space news outlets. Use this to fetch the latest space news with optional filtering by news site, date range, or search terms.
From spec: Returns a paginated list of spaceflight news articles with filtering and search options.
Usage Tips
- No authentication required
- Supports pagination with limit and offset parameters
- Returns up to 100 results per page by default
- Response includes count, next/previous URLs for pagination
Parameters (25)
event(array, query, optional)
Search for all documents related to a specific event using its Launch Library 2 ID.
has_event(boolean, query, optional)
Get all documents that have a related event.
has_launch(boolean, query, optional)
Get all documents that have a related launch.
is_featured(boolean, query, optional)
Get all documents that are featured.
launch(array, query, optional)
Search for all documents related to a specific launch using its Launch Library 2 ID.
limit(integer, query, optional)
Number of results to return per page.
news_site(string, query, optional)
Search for documents with a news_site__name present in a list of comma-separated values. Case insensitive.
news_site_exclude(string, query, optional)
Search for documents with a news_site__name not present in a list of comma-separated values. Case insensitive.
offset(integer, query, optional)
The initial index from which to return the results.
ordering(array, query, optional)
Order the result on `published_at, -published_at, updated_at, -updated_at`.
* `published_at` - Published at
* `-published_at` - Published at (descending)
* `updated_at` - Updated at
* `-updated_at` - Updated at (descending)
published_at_gt(string, query, optional)
Get all documents published after a given ISO8601 timestamp (excluded).
published_at_gte(string, query, optional)
Get all documents published after a given ISO8601 timestamp (included).
published_at_lt(string, query, optional)
Get all documents published before a given ISO8601 timestamp (excluded).
published_at_lte(string, query, optional)
Get all documents published before a given ISO8601 timestamp (included).
search(string, query, optional)
Search for documents with a specific phrase in the title or summary.
summary_contains(string, query, optional)
Search for all documents with a specific phrase in the summary.
summary_contains_all(string, query, optional)
Search for documents with a summary containing all keywords from comma-separated values.
summary_contains_one(string, query, optional)
Search for documents with a summary containing at least one keyword from comma-separated values.
title_contains(string, query, optional)
Search for all documents with a specific phrase in the title.
title_contains_all(string, query, optional)
Search for documents with a title containing all keywords from comma-separated values.
title_contains_one(string, query, optional)
Search for documents with a title containing at least one keyword from comma-separated values.
updated_at_gt(string, query, optional)
Get all documents updated after a given ISO8601 timestamp (excluded).
updated_at_gte(string, query, optional)
Get all documents updated after a given ISO8601 timestamp (included).
updated_at_lt(string, query, optional)
Get all documents updated before a given ISO8601 timestamp (excluded).
updated_at_lte(string, query, optional)
Get all documents updated before a given ISO8601 timestamp (included).
Examples (1)
Fetch the 2 most recent spaceflight news articlesprobe-gate
Demonstrates basic pagination to retrieve a small batch of recent articles.