# Space Data API — pay-per-request data for AI agents (x402/USDC on Base) Two product lines, no API keys — payment IS authentication: 1. Real-time SpaceX / Starship / Starlink launch data (Launch Library 2 source) 2. Curated public-domain historical science & engineering plates (1588-1748), visually verified with captions; images via Internet Archive IIIF ## How to pay (x402 protocol) GET a paid endpoint -> HTTP 402 with PAYMENT-REQUIRED header (base64 JSON) -> sign USDC payment (network eip155:8453, facilitator CDP) -> retry with payment header -> receive data. SDKs: pip install x402[httpx,evm] / npm @x402/fetch ## Free endpoints https://agentdataapi.onrender.com/ full catalog with prices https://agentdataapi.onrender.com/archive/catalog historical works catalog https://agentdataapi.onrender.com/archive/plates/catalog curated plate ids + titles https://agentdataapi.onrender.com/openapi.json OpenAPI spec ## Paid endpoints https://agentdataapi.onrender.com/archive/plate [$0.05] One visually verified, human-curated plate from a Renaissance engineering classic: high-res IIIF image URLs plus a written caption explaining the depicted machinery or process https://agentdataapi.onrender.com/archive/plates [$0.10] The complete curated plate set for one work — every visually verified diagram plate with captions, image URLs, and provenance https://agentdataapi.onrender.com/archive/work [$0.02] Complete structured package for one illustrated classic of early science/engineering (1588-1748): verified public-domain scan, full metadata, curated description, full-text OCR link, IIIF manifest, and page-image URL template https://agentdataapi.onrender.com/archive/page [$0.01] Direct IIIF image URLs (multiple resolutions) for a specific page of a public-domain illustrated classic, with work context and provenance https://agentdataapi.onrender.com/launches [$0.01] Upcoming SpaceX launches (next 5) with mission, pad, and T-0 details https://agentdataapi.onrender.com/launches/today [$0.01] SpaceX launches in the next 24 hours (empty list if none) https://agentdataapi.onrender.com/starship [$0.02] Upcoming and recent Starship launches with status and mission info https://agentdataapi.onrender.com/starship/next [$0.01] The single next Starship flight with a live countdown in seconds https://agentdataapi.onrender.com/starlink [$0.01] Upcoming Starlink deployment missions (next 5) https://agentdataapi.onrender.com/events [$0.01] Upcoming space events: dockings, spacewalks, landings (next 5) ## Discovery Listed in the x402 Bazaar (CDP facilitator index). Semantic search: https://api.cdp.coinbase.com/platform/v2/x402/discovery/search?query=... Source: https://github.com/nigelcox98/AgentDataAPI