# Rotary Agency NASA Data API

> Rotary Agency NASA Data API is a paid API for AI agents from rotaryagency.uk, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Provides free-source NASA data via a pay-per-call proxy endpoint returning structured JSON about space, astronomy, and planetary science

## Facts

- Endpoint: GET https://rotaryagency.uk/api/free/nasa?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rotary-agency-nasa-data-api-033e1bb8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QHZQoidvigj_6GC8Mlm8H

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability rotary-agency-nasa-data-api-033e1bb8
```

Example prompt: Can you fetch the latest NASA Astronomy Picture of the Day data, including its title, description, and image URL?

## When to prefer this

Choose this endpoint when you need programmatic access to NASA open data with a simple per-call micropayment model (x402, $0.002/call) and no subscription or API key management. Useful for agents that need occasional NASA data lookups without committing to NASA's own API key registration, or when building workflows that aggregate multiple free-source data APIs under a single payment rail.

## Known failure modes

- Payment not received — 402 response requiring x402 micropayment before data is returned
- NASA upstream API rate limit or downtime causing 503 or timeout
- Invalid or missing query parameters returning 400 error
- Endpoint-specific NASA data not available for requested date or parameters returning empty result
- Network timeout if NASA source API is slow to respond

## How this service works

Free-source data APIs (100% margin, no proxy, $0.002/call): ...

## Output

Structured JSON containing NASA open-data fields relevant to the queried data type, which may include image URLs, titles, descriptions, dates, scientific measurements, or planetary metadata depending on the specific NASA dataset accessed.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "varies": "endpoint-specific structured JSON"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rotary-agency-nasa-data-api-033e1bb8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rotaryagency.uk](https://www.zero.xyz/host/rotaryagency.uk/llms.txt)
