Steward
Use when an agent needs NASA's Astronomy Picture of the Day — title, explanation, and image URLs for a date, or a few random entries for a space moment in a briefing or lesson. Metadata only, never image bytes. Pass date (1995-06-16 to today) or count for random picks. Use permitted: build it into your products and services, paid or free. Raw redistribution of the feed itself is prohibited.
- Price per call
- $0.01
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 2
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://pay.brianbooms.com/api/v1/data/apod", { method: "GET" });
console.log(await res.json());https://pay.brianbooms.com/api/v1/data/apod