Atlasblock API

GET/v1/climate/nearby

The nearest NOAA stations to a point (paginated).

[ OPTIONS ]
NameTypeRequiredDescription
latnumberYesLatitude of the center point.
lngnumberYesLongitude of the center point.
radiusnumberNoMiles (default 50, max 200).
pageintegerNoPage number (default 1).
per_pageintegerNoResults per page (default 25, max 100).
[ EXAMPLE REQUEST ]
curl "https://atlasblock.dev/api/v1/climate/nearby?lat=35.21&lng=-80.85&radius=50"
[ 200 OK ]
{
  "status": "success",
  "data": {
    "center": {
      "latitude": 35.21,
      "longitude": -80.85,
      "radius_miles": 50
    },
    "stations": [
      {
        "station": "USW00013881",
        "station_name": "CHARLOTTE DOUGLAS AP NC",
        "avg_temp_f": 61.2,
        "distance_miles": 6.1
      }
    ],
    "pagination": {
      "page": 1,
      "per_page": 25,
      "total": 1,
      "total_pages": 1
    }
  }
}
GET/v1/climate/nearby?lat=35.21&lng=-80.85&radius=50
[ QUERY ]
[ CURL ]
curl "https://atlasblock.dev/api/v1/climate/nearby?lat=35.21&lng=-80.85&radius=50" \
  -H "Authorization: Bearer $ATLASBLOCK_API_KEY"
[ EVERY REQUEST ]

Send an Authorization: Bearer key against the base URL https://atlasblock.dev/api. Every call counts toward your plan quota. See the overview for authentication, rate limits, and status codes.