{"ok":true,"service":"latest-news-api","version":"1.0.0","protocol":"x402","description":"Paid open-data JSON API for AI agents (NASA, NOAA, USGS, CISA, FDA, FEMA, FX). Free discovery; full feeds require x402 USDC payment.","network":"eip155:8453","pay_to":"0xdAaF5fC585Da800d7CFD34a7d948D6Dea2bE6a6C","facilitator":"https://x402.dexter.cash","cache_ttl_seconds":300,"categories":["space","climate","technology","exploration","station","government","earthquakes","fx","security","recalls","disasters","spaceweather"],"endpoints":[{"method":"GET","path":"/","price":"free","description":"Service discovery and pricing catalog"},{"method":"GET","path":"/health","price":"free","description":"Liveness check"},{"method":"GET","path":"/openapi.json","price":"free","description":"OpenAPI 3.1 schema for tool generation"},{"method":"GET","path":"/.well-known/x402.json","price":"free","description":"x402 discovery document for registries (x402scan, agents)"},{"method":"GET","path":"/v1/categories","price":"free","description":"List available news categories"},{"method":"GET","path":"/v1/preview/{category}","price":"free","description":"Free 3-article JSON sample per category (for inspection)"},{"method":"GET","path":"/v1/news","price":"$0.01","description":"Latest headlines across all categories","mime_type":"application/json"},{"method":"GET","path":"/v1/news/{category}","price":"$0.005","description":"Headlines for one category (space, climate, technology, exploration, station, government, earthquakes, fx, security, recalls, disasters, spaceweather)","mime_type":"application/json"},{"method":"GET","path":"/v1/articles/{id}","price":"$0.002","description":"Single article by id","mime_type":"application/json"}],"agent_hints":{"how_to_pay":"Request a paid path without payment -> receive HTTP 402 with PAYMENT-REQUIRED -> sign USDC authorization -> retry with PAYMENT-SIGNATURE (or X-PAYMENT).","client_sdks":["@x402/fetch","@x402/evm","agents/x402"],"response_shape":"All paid responses use { ok, api_version, request_id, cached, pricing, links, data }","article_shape":"{ id, title, category, summary, source_url, source_name, attribution, license_note, published_at, fetched_at, tags }","content_policy":"Uses open/public-sector sources. Summaries are rewritten; always follow source_url. Not a substitute for reading the original document.","discovery":"Advertise via /.well-known/x402.json and Bazaar metadata on 402 responses. Register origin on x402scan; CDP Bazaar indexes after a successful settlement."},"links":{"self":"https://latest-news-api.latest-news.workers.dev/","openapi":"https://latest-news-api.latest-news.workers.dev/openapi.json","news":"https://latest-news-api.latest-news.workers.dev/v1/news","categories":"https://latest-news-api.latest-news.workers.dev/v1/categories","well_known_x402":"https://latest-news-api.latest-news.workers.dev/.well-known/x402.json","docs":"https://docs.x402.org","bazaar_docs":"https://docs.cdp.coinbase.com/x402/seller/get-discovered"}}