# DataPulse Agent Integration

**Endpoint:** https://datapulse.waltsoft.net/v1/forecast
**Price:** $0.50/query (x402)
**Payment:** Base USDC or Solana USDC

## Quick Start

```
fetch402("https://datapulse.waltsoft.net/v1/forecast?lat=30.2216&lon=-97.6206&hours=6")
```

## Parameters

| Param | Type | Required | Description |
|-------|------|----------|-------------|
| lat   | float | yes | Latitude (CONUS: 21-50) |
| lon   | float | yes | Longitude (CONUS: -135 to -55) |
| hours | int  | no  | Forecast hours ahead, 1-18, default 1 |

## Response Fields

- `coordinate` — snapped lat/lon after grid projection
- `run` — HRRR cycle date, hour, and forecast offset
- `valid_time` — ISO 8601 UTC time of the forecast
- `source` — always "NOAA HRRR 3km surface analysis"
- `variables.tmp_2m` — air temperature at 2m in °C
- `variables.dpt_2m` — dew point at 2m in °C
- `variables.wind.speed_ms` — wind speed at 10m in m/s
- `variables.wind.direction_deg` — wind direction in degrees (FROM)
- `variables.apcp` — accumulated precipitation in mm (for the forecast hour)
- `variables.tcdc` — total cloud cover in %

## Data Source

NOAA HRRR (High-Resolution Rapid Refresh), 3km CONUS grid, hourly cycles.
Public data bucket: s3://noaa-hrrr-bdp-pds/
