# Spaceflight News API
> Latest space news — articles and blog posts about rockets, launches, missions and astronomy, aggregated from dozens of sources (SpaceNews, NASA, ESA, Spaceflight Now and more). Search the archive by keyword or fetch a single article. Great for space dashboards, newsletters, aggregators and education apps.

## Authentication
All requests require your oanor API key in the `x-oanor-key` header. Get one at https://www.oanor.com/developer/keys.

```bash
curl -H "x-oanor-key: oanor_live_…" "https://api.oanor.com/spacenews-api/..."
```

## Pricing
- **Free** (Free) — 8,000 calls/Mo, 2 req/s
- **Basic** ($8/Mo) — 120,000 calls/Mo, 8 req/s
- **Pro** ($24/Mo) — 600,000 calls/Mo, 20 req/s
- **Mega** ($59/Mo) — 2,500,000 calls/Mo, 50 req/s

## Endpoints

### Space News

#### `GET /v1/article` — Article by id

**Parameters:**
- `id` (query, required, string) — Numeric article id Example: `38167`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/spacenews-api/v1/article?id=38167"
```

**Response:**
```json
{
    "data": {
        "id": 38167,
        "url": "https://spacepolicyonline.com/news/repercussions-of-new-glenns-explosion-still-coming-into-focus/",
        "image": "https://spacepolicyonline.com/wp-content/uploads/2026/05/faa-new-glenn-expl-300x39.jpg",
        "title": "Repercussions of New Glenn’s Explosion Still Coming Into Focus",
        "authors": [
            "Marcia Smith"
        ],
        "summary": "The repercussions of last night’s explosion of Blue Origin’s New Glenn rocket during a pre-launch test will take some time to assess. Among the key questions are not only what […]",
        "featured": false,
        "news_site": "SpacePolicyOnline.com",
        "updated_at": "2026-05-29T22:30:14.991929Z",
        "published_at": "2026-05-29T22:21:19Z"
    },
    "meta": {
        "timestamp": "2026-05-30T06:12:01.364Z",
        "request_id": "2b0b44cd-2a83-44ec-8508-dfa69dd4de8e"
    },
    "status": "ok",
    "message": "Article retrieved",
    "success": true
}
```

#### `GET /v1/articles` — Space news articles

**Parameters:**
- `search` (query, optional, string) — Keyword filter
- `limit` (query, optional, string) — Max 1-50 Example: `10`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/spacenews-api/v1/articles?limit=10"
```

**Response:**
```json
{
    "data": {
        "count": 10,
        "total": 34379,
        "search": null,
        "results": [
            {
                "id": 38167,
                "url": "https://spacepolicyonline.com/news/repercussions-of-new-glenns-explosion-still-coming-into-focus/",
                "image": "https://spacepolicyonline.com/wp-content/uploads/2026/05/faa-new-glenn-expl-300x39.jpg",
                "title": "Repercussions of New Glenn’s Explosion Still Coming Into Focus",
                "authors": [
                    "Marcia Smith"
                ],
                "summary": "The repercussions of last night’s explosion of Blue Origin’s New Glenn rocket during a pre-launch test will take some time to assess. Among the key questions are not only what […]",
                "featured": false,
                "news_site": "SpacePolicyOnline.com",
                "updated_at": "2026-05-29T22:30:14.991929Z",
                "published_at": "2026-05-29T22:21:19Z"
            },
            {
                "id": 38166,
                "url": "https://spaceflightnow.com/2026/05/29/live-coverage-ula-to-launch-29-amazon-leo-satellites-on-atlas-5-rocket-from-cape-canaveral-2/",
                "image": "http://spaceflightnow.com/wp-content/uploads/2026/05/20260529_LA-07_prelaunch_AB-1.jpeg",
                "title": "Live coverage: ULA to launch 29 Amazon Leo satellites on Atlas 5 rocket from Cape Canaveral",
                "authors": [
                    "Will Robinson
…(truncated, see openapi.json for full schema)
```

#### `GET /v1/blogs` — Space blog posts

**Parameters:**
- `search` (query, optional, string) — Keyword filter
- `limit` (query, optional, string) — Max 1-50 Example: `10`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/spacenews-api/v1/blogs?limit=10"
```

**Response:**
```json
{
    "data": {
        "count": 10,
        "total": 1995,
        "search": null,
        "results": [
            {
                "id": 2277,
                "url": "https://blog.ulalaunch.com/blog/united-launch-alliance-precisely-delivers-seventh-amazon-leo-mission-advancing-constellation-toward-commercial-service",
                "image": "https://blog.ulalaunch.com/hubfs/av_leo7_l4_media.jpg",
                "title": "United Launch Alliance Precisely Delivers Seventh Amazon Leo Mission, Advancing Constellation Toward Commercial Service",
                "authors": [
                    "ULA"
                ],
                "summary": " \n    \n \nULA has launched the majority of Amazon Leo satellites on orbit ",
                "featured": false,
                "news_site": "United Launch Alliance",
                "updated_at": "2026-05-30T01:50:20.401325Z",
                "published_at": "2026-05-30T01:40:06Z"
            },
            {
                "id": 2276,
                "url": "https://www.nasa.gov/blogs/spacestation/2026/05/29/blood-clotting-research-spacewalk-cleanup-wrap-up-week-on-space-station/",
                "image": "https://images-assets.nasa.gov/image/iss074e0591327/iss074e0591327~large.jpg",
                "title": "Blood-Clotting Research, Spacewalk Cleanup Wrap Up Week on Space Station",
                "authors": [
                    "NASA"
                ],
                "summary": "The Expedition 74 crew members primarily fo
…(truncated, see openapi.json for full schema)
```


---
Marketplace page: https://www.oanor.com/api/spacenews-api
OpenAPI spec: https://www.oanor.com/api/spacenews-api/openapi.json
