# Spaceflight News API · Search news

Get news and media data with Spaceflight News API · Search news from Alexandria through one Spiral API key. Recent or historical space news on a topic, mission, company or publisher. For news tied to one specific launch or event use launch_news. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: News & Media
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `api-spaceflightnewsapi-net/space-news/search_news`
- Page: https://spiral.ai/tools/alexandria/api-spaceflightnewsapi-net/space-news/search_news

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `sort` | one of | newest, oldest, recently_updated | newest | newest or oldest by publication time, or recently_updated. |
| `type` | one of | articles, blogs, reports | articles | articles are professional news, blogs include high-quality amateur and agency posts, reports are ISS daily summaries. |
| `limit` | number | 1 to 50 | 10 | Items per page. |
| `query` | text |  | — | Phrase matched in the title or summary, such as 'Starship' or 'Artemis II'. |
| `featured` | true or false |  | — | Only featured (true) or non-featured (false) items; not for reports. |
| `news_sites` | list |  | — | Only these publishers, case-insensitive exact names, such as SpaceNews, NASASpaceflight, Spaceflight Now, Space.com, Arstechnica, NASA, ESA, SpaceX, Blue Origin. |
| `continuation` | text |  | — | Cursor from a previous call's continuation. |
| `title_contains` | text |  | — | Phrase matched in the title only. |
| `published_after` | text |  | — | Published at or after this date (YYYY-MM-DD) or UTC timestamp (2026-11-01T00:00:00Z). |
| `published_before` | text |  | — | Published before this date or UTC timestamp (exclusive). |
| `exclude_news_sites` | list |  | — | Leave out these publishers. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "api-spaceflightnewsapi-net/space-news/search_news",
    "input": {
      "sort": "newest"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=api-spaceflightnewsapi-net%2Fspace-news%2Fsearch_news

## Common questions

### Spaceflight News API · Search news

**How much does Spaceflight News API · Search news cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Spaceflight News API · Search news through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "api-spaceflightnewsapi-net/space-news/search_news"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use Spaceflight News API · Search news?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use Spaceflight News API · Search news?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

