{
  "openapi": "3.0.1",
  "info": {
    "title": "NASA POWER Solar & Weather Data Scraper",
    "description": "Export NASA POWER solar irradiance, temperature, wind, humidity, precipitation and renewable-energy parameters for any lat/lng on Earth. Daily, monthly or climatology granularity. Multi-point batch input. Ideal for solar siting, agricultural modelling, and climate analytics.",
    "version": "1.0",
    "x-build-id": "pvGwBj8wBEz0N9j7g"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parseforge~nasa-power-energy-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parseforge-nasa-power-energy-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/parseforge~nasa-power-energy-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parseforge-nasa-power-energy-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/parseforge~nasa-power-energy-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parseforge-nasa-power-energy-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000"
          },
          "points": {
            "title": "Points (lat,lng pairs)",
            "type": "array",
            "description": "List of locations. Each item: { name?, latitude, longitude }. Latitude in [-90, 90], longitude in [-180, 180]."
          },
          "temporal": {
            "title": "Temporal Granularity",
            "enum": [
              "daily",
              "monthly",
              "climatology",
              "hourly"
            ],
            "type": "string",
            "description": "Time aggregation of the records."
          },
          "start": {
            "title": "Start Date (YYYYMMDD)",
            "type": "string",
            "description": "Start date. Format YYYYMMDD for daily/hourly, YYYY for monthly."
          },
          "end": {
            "title": "End Date (YYYYMMDD)",
            "type": "string",
            "description": "End date. Format YYYYMMDD for daily/hourly, YYYY for monthly."
          },
          "community": {
            "title": "Community",
            "enum": [
              "RE",
              "SB",
              "AG"
            ],
            "type": "string",
            "description": "Parameter community: Renewable Energy, Sustainable Buildings, or Agro-climatology."
          },
          "parameters": {
            "title": "Parameters",
            "type": "array",
            "description": "Variables to retrieve. Pick from the community-specific catalog.",
            "items": {
              "type": "string",
              "enum": [
                "ALLSKY_SFC_SW_DWN",
                "ALLSKY_SFC_LW_DWN",
                "ALLSKY_SFC_SW_DIFF",
                "ALLSKY_SFC_SW_DNI",
                "CLRSKY_SFC_SW_DWN",
                "T2M",
                "T2M_MAX",
                "T2M_MIN",
                "T2MDEW",
                "T2MWET",
                "TS",
                "RH2M",
                "QV2M",
                "PRECTOTCORR",
                "WS2M",
                "WS10M",
                "WS50M",
                "WD2M",
                "WD10M",
                "WD50M",
                "PS",
                "CDD18_3",
                "HDD18_3",
                "FROST_DAYS",
                "ALLSKY_KT",
                "ALLSKY_NKT"
              ],
              "enumTitles": [
                "All Sky Surface Shortwave Downward",
                "All Sky Surface Longwave Downward",
                "All Sky Surface Shortwave Diffuse",
                "All Sky Surface Shortwave Direct Normal",
                "Clear Sky Surface Shortwave Downward",
                "Temperature at 2m",
                "Max Temp at 2m",
                "Min Temp at 2m",
                "Dew Point at 2m",
                "Wet Bulb at 2m",
                "Surface Temp",
                "Rel Humidity at 2m",
                "Specific Humidity at 2m",
                "Precipitation Corrected",
                "Wind Speed at 2m",
                "Wind Speed at 10m",
                "Wind Speed at 50m",
                "Wind Dir at 2m",
                "Wind Dir at 10m",
                "Wind Dir at 50m",
                "Surface Pressure",
                "Cooling Degree Days base 18.3°C",
                "Heating Degree Days base 18.3°C",
                "Frost Days",
                "All Sky Insolation Clearness",
                "All Sky Normalized Insolation Clearness"
              ]
            }
          },
          "unitsFormat": {
            "title": "Units Format",
            "enum": [
              "METRIC",
              "IMPERIAL"
            ],
            "type": "string",
            "description": "Metric (SI) or English (Imperial) units."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}