DataActive

Weather Data

Real-time weather for any location. No API key needed. Returns temperature, humidity, wind, and forecast data.

Endpointx402 Payment Required

POST

https://agentsvc.io/api/v1/services/weather/call

Price

$0.002 USDC

Latency P99

~400ms

Provider

agentsvc.io

Input Schema

{ "type": "object", "required": [ "location" ], "properties": { "location": { "type": "string", "description": "City name, zip code, or lat,lon coordinates" }, "units": { "type": "string", "enum": [ "metric", "imperial" ], "default": "metric" }, "lang": { "type": "string", "default": "en", "description": "Language code for descriptions" } } }

Output Schema

{ "type": "object", "properties": { "location": { "type": "object", "properties": { "name": { "type": "string" }, "country": { "type": "string" }, "lat": { "type": "number" }, "lon": { "type": "number" } } }, "current": { "type": "object", "properties": { "temp_c": { "type": "number" }, "feels_like_c": { "type": "number" }, "humidity_pct": { "type": "integer" }, "wind_kph": { "type": "number" }, "condition": { "type": "string" }, "uv_index": { "type": "number" } } }, "forecast_3d": { "type": "array", "items": { "type": "object" } } } }

Code Examples

curl -X POST "https://agentsvc.io/api/v1/services/weather/call" \
  -H "Content-Type: application/json" \
  -H "X-Payment: x402 usdc base <your-signed-payment>" \
  -d '{
  "url": "https://example.com"
}'

Tags

#weather#geolocation#forecast#climate#realtime

Service Info

Service IDsvc_weather_02
Categorydata
StatusActive
ChainBase (USDC)
Protocolx402
Read API Documentation →