x402hub
← Public & Gov Data

2s-jwnd2jdga-alleyford.vercel.app · station-near

2s-jwnd2jdga-alleyford.vercel.app · https://2s-jwnd2jdga-alleyford.vercel.app/api/climate/station-near
💵 $0.001 USDC per call 🌐 Base Sepolia, Solana 📈 2 calls / 30d · 1 unique payers

Find NOAA GHCN-Daily weather stations near a coordinate. Returns up to 100 stations within a configurable radius (default 500 km), sorted by distance. Each station includes id, name, lat/lon, elevation, country/state, and GSN/HCN/WMO flags. Backed by a ~132k-station registry refreshed monthly from ncei.noaa.gov.

This endpoint speaks x402: an unpaid request returns HTTP 402 with machine-readable payment terms, your agent pays the $0.001 USDC in USDC on-chain, and retries automatically. Pays to TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn.

Call it in 30 seconds

JavaScriptPythoncurl
// This service settles on Base Sepolia.
// Use an x402 client with a matching signer (e.g. an @x402 Solana client).
// First, inspect the payment terms for free:
const r = await fetch("https://2s-jwnd2jdga-alleyford.vercel.app/api/climate/station-near"); // returns HTTP 402 + machine-readable terms
console.log(r.status, await r.json());
# This service settles on Base Sepolia.
# Use an x402 client with a matching signer. To see the terms first, for free:
import httpx
r = httpx.get("https://2s-jwnd2jdga-alleyford.vercel.app/api/climate/station-near")  # HTTP 402 + machine-readable payment terms
print(r.status_code, r.json())
# 1) An unpaid request returns HTTP 402 with the exact payment terms:
curl -i "https://2s-jwnd2jdga-alleyford.vercel.app/api/climate/station-near?lat=-90&limit=1&lon=-180&radius_km=1"

# 2) Paying + retrying requires an x402 client that can sign the USDC
#    authorization (curl alone cannot). See the JS / Python tabs below.

New to x402? Read the 5-minute quickstart →

ad slot · a crypto-native, no-tracking ad loads here in production
Query this registry programmatically. Every service here is searchable through the x402hub API, an x402-payable endpoint your agents call and pay per request in USDC.
https://api-service-sandy.vercel.app · GET /api/search?q=... · $0.002 / call
Prefer to just support the project? Tip USDC on Base to 0x40BbeB1BEd1D4ba6f1d4C0eE0C9D93e2dA3347C6. This hub is free and ad-light.