Skip to content

Add Cosmic Live Data (geophysics API) to Data & Social APIs#440

Open
dotrockets wants to merge 2 commits into
xpaysh:mainfrom
dotrockets:add-cosmic-live-data
Open

Add Cosmic Live Data (geophysics API) to Data & Social APIs#440
dotrockets wants to merge 2 commits into
xpaysh:mainfrom
dotrockets:add-cosmic-live-data

Conversation

@dotrockets
Copy link
Copy Markdown

Adds Cosmic Live Data to the Data & Social APIs section.

A live x402 endpoint serving real-time geophysics for AI agents: planetary KP-index, Schumann resonance amplitude measured at Tomsk State University (continuous since 1997), solar wind speed, and solar X-ray flux class. One JSON call, refreshed every 5 minutes.

  • $0.05 USDC per call on Base mainnet
  • Self-hosted facilitator (xpay), no API keys / no signup
  • x402 v2 with Bazaar discovery extension
  • Free rounded preview at /v1/preview
  • Endpoint: https://x402.dotrockets.com/v1/cosmic

🤖 Generated with Claude Code

dotrockets and others added 2 commits May 27, 2026 03:28
Real-time geophysics API (KP-index, Schumann resonance from Tomsk,
solar wind, X-ray flux), x402 v2, $0.05 USDC/call on Base.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Cosmic data + AI-visibility + screenshot + scrape→markdown + web search,
with catalog, MCP server and /.well-known discovery.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@TateLyman
Copy link
Copy Markdown

Ran a no-payment external reachability pass against the submitted public surface. I did not send payment headers, signatures, or paid calls.

Repro:

curl -L -sS -D - --max-time 15 https://x402.dotrockets.com/.well-known/x402 -o /tmp/x402
curl -L -sS -D - --max-time 15 https://x402.dotrockets.com/.well-known/x402.json -o /tmp/x402-json
curl -L -sS -D - --max-time 15 https://x402.dotrockets.com/.well-known/agent.json -o /tmp/agent-json
curl -L -sS -D - --max-time 15 https://x402.dotrockets.com/llms.txt -o /tmp/llms
curl -L -sS -D - --max-time 15 https://x402.dotrockets.com/v1/preview -o /tmp/preview
npx --yes x402-surface-check@latest --endpoint --method GET https://x402.dotrockets.com/v1/cosmic --origin https://x402.dotrockets.com

Observed from this network:

  • /.well-known/x402, /.well-known/x402.json, /.well-known/agent.json, /llms.txt, and /v1/preview each timed out after 15s.
  • The direct paid endpoint probe also failed at fetch/reachability before any 402 challenge could be observed.

Patch note before merge: verify public reachability from outside your deployment network and make sure the free preview plus discovery aliases return quickly. Once those respond, the next check is whether /v1/cosmic returns a structured x402 402 challenge before execution, with explicit no-store cache policy and browser-readable payment retry headers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants