{
  "opencollection": "1.0.0",
  "info": {
    "name": "OpenUV API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-access-token",
      "value": "{{x-access-token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "UV Index",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Current UV Index",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openuv.io/api/v1/uv",
            "params": [
              {
                "name": "lat",
                "value": "",
                "type": "query",
                "description": "Latitude in decimal degrees (-90 to 90)."
              },
              {
                "name": "lng",
                "value": "",
                "type": "query",
                "description": "Longitude in decimal degrees (-180 to 180)."
              },
              {
                "name": "alt",
                "value": "",
                "type": "query",
                "description": "Altitude in meters above sea level. Improves UV accuracy for high-elevation locations."
              },
              {
                "name": "dt",
                "value": "",
                "type": "query",
                "description": "ISO 8601 timestamp for the requested UV reading or forecast anchor. Defaults to the current time."
              }
            ]
          },
          "docs": "Returns the current UV index, daily maximum UV, ozone level, sun position\nand Fitzpatrick skin-type-specific safe exposure times for the given coordinate.\n"
        },
        {
          "info": {
            "name": "Get UV Index Forecast",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openuv.io/api/v1/forecast",
            "params": [
              {
                "name": "lat",
                "value": "",
                "type": "query",
                "description": "Latitude in decimal degrees (-90 to 90)."
              },
              {
                "name": "lng",
                "value": "",
                "type": "query",
                "description": "Longitude in decimal degrees (-180 to 180)."
              },
              {
                "name": "alt",
                "value": "",
                "type": "query",
                "description": "Altitude in meters above sea level. Improves UV accuracy for high-elevation locations."
              },
              {
                "name": "dt",
                "value": "",
                "type": "query",
                "description": "ISO 8601 timestamp for the requested UV reading or forecast anchor. Defaults to the current time."
              }
            ]
          },
          "docs": "Returns a time-series UV index forecast for the given coordinate. Each entry\ncontains the UV value, ISO 8601 timestamp and sun position at the forecast step.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Protection",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Sun Protection Window",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openuv.io/api/v1/protection",
            "params": [
              {
                "name": "lat",
                "value": "",
                "type": "query",
                "description": "Latitude in decimal degrees (-90 to 90)."
              },
              {
                "name": "lng",
                "value": "",
                "type": "query",
                "description": "Longitude in decimal degrees (-180 to 180)."
              },
              {
                "name": "alt",
                "value": "",
                "type": "query",
                "description": "Altitude in meters above sea level. Improves UV accuracy for high-elevation locations."
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "Lower UV index bound for the protection window. Defaults to 3.5."
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "Upper UV index bound for the protection window. Defaults to 3.5."
              }
            ]
          },
          "docs": "Returns the start and end times of the recommended sun-protection window for\nthe day, defined as the period when UV index crosses the configurable `from`\nand `to` thresholds (default 3.5).\n"
        }
      ]
    },
    {
      "info": {
        "name": "Account",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get API Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openuv.io/api/v1/status"
          },
          "docs": "Lightweight health check that returns whether the OpenUV API is currently\navailable. Recommended before making metered requests on slow networks.\n"
        },
        {
          "info": {
            "name": "Get API Usage Statistics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openuv.io/api/v1/stat"
          },
          "docs": "Returns per-key request volumes and accrued cost for today, yesterday,\nthe current month, and the previous month.\n"
        }
      ]
    }
  ],
  "bundled": true
}