{
  "name": "ClimatePulse",
  "description": "Hyperlocal weather intelligence API for outdoor planning, travel, and activity scheduling. 9 endpoints: real-time current conditions with gear recommendations, 7-day detailed forecasts, activity-specific go/no-go assessments (hiking, skiing, surfing, camping, and more), severe weather alerts with preparedness guides, side-by-side location comparisons, real-time air quality + health guidance, wildfire smoke tracking, growing-season/frost-date intelligence, and historical event-weather probability. Powered by Open-Meteo official data (free, sub-kilometer resolution). Includes Amazon and REI outdoor gear affiliate links. Pay-per-query via x402 micropayments on Base.",
  "url": "https://climatepulse.theaslangroupllc.com",
  "version": "1.0.0",
  "capabilities": [
    "hyperlocal-weather-conditions",
    "multi-day-forecasts",
    "outdoor-activity-assessment",
    "go-no-go-ratings",
    "severe-weather-alerts",
    "emergency-preparedness-guides",
    "location-climate-comparison",
    "outdoor-gear-recommendations",
    "uv-index-tracking",
    "precipitation-forecasting",
    "wind-speed-forecasting",
    "activity-specific-conditions"
  ],
  "supported_activities": [
    "hiking",
    "skiing",
    "surfing",
    "cycling",
    "camping",
    "running",
    "golf",
    "beach",
    "fishing"
  ],
  "data_sources": [
    "Open-Meteo (api.open-meteo.com) — free official weather data, sub-kilometer resolution, global coverage, no API key required",
    "Tavily — real-time severe weather alerts, air quality, wildfire smoke, growing conditions, and historical climate research",
    "Claude — synthesis, planning insights, gear and health recommendations"
  ],
  "payment": {
    "protocol": "x402",
    "network": "eip155:8453",
    "asset": "USDC",
    "contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc"
  },
  "endpoints": [
    {
      "path": "/api/climate/now",
      "method": "GET",
      "description": "Current hyperlocal conditions — description, temperature, feels-like, UV index, wind, humidity, cloud cover, precipitation, outdoor score (1–10), what to wear, hourly highlights, and Amazon + REI gear links.",
      "parameters": [
        {
          "name": "location",
          "required": true,
          "description": "City or location name"
        },
        {
          "name": "units",
          "required": false,
          "description": "imperial (default) or metric"
        },
        {
          "name": "lang",
          "required": false
        }
      ],
      "price_usd": 0.05,
      "payment_required": true
    },
    {
      "path": "/api/climate/forecast",
      "method": "GET",
      "description": "7-day detailed forecast — per-day description, high/low, feels-like, precipitation chance, wind, UV, outdoor score, and planning note. Includes week summary, best/worst outdoor day, packing essentials, and gear links.",
      "parameters": [
        {
          "name": "location",
          "required": true
        },
        {
          "name": "days",
          "required": false,
          "description": "1–7 (default 7)"
        },
        {
          "name": "units",
          "required": false
        },
        {
          "name": "lang",
          "required": false
        }
      ],
      "price_usd": 0.08,
      "payment_required": true
    },
    {
      "path": "/api/climate/activity",
      "method": "GET",
      "description": "Activity-specific weather assessment — go/no-go rating, go score (1–10), conditions summary, activity notes, safety notes, best time of day, gear checklist with Amazon + REI links, and alternative dates when conditions improve.",
      "parameters": [
        {
          "name": "location",
          "required": true
        },
        {
          "name": "activity",
          "required": true,
          "description": "hiking | skiing | surfing | cycling | camping | running | golf | beach | fishing"
        },
        {
          "name": "units",
          "required": false
        },
        {
          "name": "lang",
          "required": false
        }
      ],
      "price_usd": 0.1,
      "payment_required": true
    },
    {
      "path": "/api/climate/severe",
      "method": "GET",
      "description": "Severe weather assessment — threat level (none/low/elevated/high/extreme), active alerts, 24h and 3-day timeline, safety actions, preparedness checklist with Amazon links, shelter guidance, evacuation criteria, and emergency contacts.",
      "parameters": [
        {
          "name": "location",
          "required": true
        },
        {
          "name": "units",
          "required": false
        },
        {
          "name": "lang",
          "required": false
        }
      ],
      "price_usd": 0.08,
      "payment_required": true
    },
    {
      "path": "/api/climate/compare",
      "method": "GET",
      "description": "Side-by-side climate comparison for 2–4 locations — rankings (warmest, sunniest, driest, best outdoor), per-location outdoor score, pros/cons, week outlook, and recommendations for vacation, relocation, or outdoor sports.",
      "parameters": [
        {
          "name": "locations",
          "required": true,
          "description": "Comma-separated location names (2–4)"
        },
        {
          "name": "purpose",
          "required": false,
          "description": "e.g. vacation, relocation, sports"
        },
        {
          "name": "units",
          "required": false
        },
        {
          "name": "lang",
          "required": false
        }
      ],
      "price_usd": 0.1,
      "payment_required": true
    },
    {
      "path": "/api/climate/air",
      "method": "GET",
      "description": "Real-time air quality + health risk assessment — AQI, primary pollutant breakdown (PM2.5, PM10, ozone), activity guidance by population group, N95/air-purifier recommendations, and condition-specific guidance for asthma, COPD, heart disease, pregnancy, and kids.",
      "parameters": [
        {
          "name": "location",
          "required": true,
          "description": "City or location name"
        },
        {
          "name": "lang",
          "required": false
        }
      ],
      "price_usd": 0.05,
      "payment_required": true
    },
    {
      "path": "/api/climate/smoke",
      "method": "GET",
      "description": "Wildfire smoke tracker — AQI estimate, nearby active fires, health risk level, mask and indoor-air guidance, and evacuation status for any location.",
      "parameters": [
        {
          "name": "location",
          "required": true,
          "description": "City or location name"
        },
        {
          "name": "lang",
          "required": false
        }
      ],
      "price_usd": 0.05,
      "payment_required": true
    },
    {
      "path": "/api/climate/grow",
      "method": "GET",
      "description": "Growing-season intelligence — USDA hardiness zone, last/first frost dates, and a planting calendar (what to plant now, start indoors, or plan for the next 4 weeks) with frost-protection and season-extension tips.",
      "parameters": [
        {
          "name": "location",
          "required": true,
          "description": "City or location name"
        },
        {
          "name": "crop",
          "required": false,
          "description": "Specific crop or plant to tailor advice for"
        },
        {
          "name": "lang",
          "required": false
        }
      ],
      "price_usd": 0.08,
      "payment_required": true
    },
    {
      "path": "/api/climate/event",
      "method": "GET",
      "description": "Historical weather probability for event planning — rain/heat/frost odds, a risk level, and contingency-planning guidance for weddings, marathons, and festivals. Historical climatology, not a forecast.",
      "parameters": [
        {
          "name": "location",
          "required": true,
          "description": "City or location name"
        },
        {
          "name": "date",
          "required": true,
          "description": "Target event date (YYYY-MM-DD)"
        },
        {
          "name": "event_type",
          "required": false,
          "description": "e.g. wedding, marathon, outdoor-festival, camping"
        },
        {
          "name": "lang",
          "required": false
        }
      ],
      "price_usd": 0.08,
      "payment_required": true
    }
  ],
  "openapi": "https://climatepulse.theaslangroupllc.com/openapi.json",
  "llms_txt": "https://climatepulse.theaslangroupllc.com/llms.txt",
  "contact": "https://climatepulse.theaslangroupllc.com"
}
