{
  "openapi": "3.0.1",
  "info": {
    "title": "US Energy.gov Data Scraper",
    "description": "Scrape energy-related content from Energy.gov, including articles, press releases, documents, titles, dates, offices, and types. Automate collection of structured data from the U.S. Department of Energy, ideal for researchers, journalists, and professionals needing accurate, up-to-date information.",
    "version": "1.0",
    "x-build-id": "T8dMbOD80iihVy6oS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parseforge~energy-gov-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parseforge-energy-gov-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~energy-gov-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parseforge-energy-gov-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~energy-gov-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parseforge-energy-gov-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": "Maximum number of items to collect. Free users: Limited to 100. Paid users: Optional, max 1,000,000"
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Search keywords to filter articles."
          },
          "articleType": {
            "title": "Article Type",
            "enum": [
              "1378506",
              "7",
              "1",
              "708757",
              "863081",
              "430933",
              "1378508",
              "430939",
              "13",
              "19",
              "25",
              "1380643",
              "1378950"
            ],
            "type": "string",
            "description": "Filter by article type"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "es"
            ],
            "type": "string",
            "description": "Filter by language"
          },
          "office": {
            "title": "Office",
            "enum": [
              "Office of NEPA Policy and Compliance",
              "Vehicle Technologies Office",
              "Buildings",
              "Office of Environmental Management",
              "Office of Critical Minerals and Energy Innovation",
              "Energy.gov",
              "Office of Electricity",
              "Office of Hearings and Appeals",
              "National Nuclear Security Administration",
              "Office of Management",
              "Office of Fossil Energy and Carbon Management",
              "Office of the General Counsel",
              "Solar Energy Technologies Office",
              "Office of Inspector General",
              "Bioenergy Technologies Office",
              "Hydrogen and Fuel Cell Technologies Office",
              "Office of Environment, Health, Safety & Security",
              "Office of Science",
              "Office of Legacy Management",
              "Wind Energy Technologies Office",
              "Office of Nuclear Energy",
              "Office of Indian Energy Policy and Programs",
              "Oak Ridge Office of Environmental Management",
              "Office of Enterprise Assessments",
              "Federal Energy Management Program",
              "Advanced Manufacturing & Industrial Decarbonization",
              "Water Power Technologies Office",
              "Savannah River Site",
              "Office of Cybersecurity, Energy Security, and Emergency Response",
              "Solid-State Lighting",
              "Office of Energy Dominance Financing",
              "Office of Congressional and Intergovernmental Affairs",
              "DOE STEM",
              "Grid Deployment Office",
              "Portsmouth/Paducah Project Office",
              "Better Buildings Neighborhood Program",
              "Office of Technology Commercialization",
              "Northern New Mexico Citizens Advisory Board",
              "Strategic Analysis",
              "Better Buildings Residential Network",
              "Industrial Technologies Office",
              "Geothermal Technologies Office",
              "Advanced Materials & Manufacturing Technologies Office",
              "Environmental Management Los Alamos Field Office",
              "Idaho Cleanup Project Citizens Advisory Board",
              "Success Stories",
              "Office of International Affairs",
              "Energy Saver",
              "Energy Technology Engineering Center",
              "Arctic Energy Office",
              "Office of the Chief Information Officer",
              "CMS Support",
              "Weatherization Assistance Program",
              "Careers",
              "Office of Small Business Programs",
              "Office of State and Community Energy Programs",
              "Collegiate Wind Competition",
              "Office of Project Management",
              "Nuclear Physics",
              "Clean Energy Infrastructure",
              "Basic Energy Sciences",
              "Office of Policy",
              "Office of Clean Energy Demonstrations",
              "HydroGEN Advanced Water Splitting Materials Consortium",
              "Office of the Chief Financial Officer",
              "West Valley Demonstration Project",
              "Grid Talk",
              "Biological and Environmental Research",
              "Office of Energy Efficiency & Renewable Energy",
              "Sustainability Performance Office",
              "Portsmouth Site Specific Advisory Board",
              "Paducah Citizens Advisory Board",
              "Office of Manufacturing and Energy Supply Chains",
              "Southwestern Power Administration",
              "Energy Storage Grand Challenge",
              "State and Local Solution Center",
              "Artificial Intelligence & Technology Office",
              "Communication Standards and Guidelines",
              "State Energy Advisory Board (STEAB)",
              "EM Consolidated Business Center (EMCBC)",
              "Industrial Technologies",
              "National Laboratory Impact Initiative",
              "Small Business Conference",
              "Community Solar",
              "Education",
              "Loan Programs Office",
              "Office of Minority Economic Impact",
              "Southeastern Power Administration",
              "Fusion Energy Sciences",
              "Office of the Chief Human Capital Officer",
              "Better Buildings",
              "Moab UMTRA Project",
              "Technology-to-Market",
              "WINDExchange",
              "DOE Safety Culture",
              "Guide to Tribal Energy Development",
              "Critical Minerals & Materials Program",
              "FORGE",
              "Secretary of Energy Advisory Board",
              "Isotope R&D and Production (DOE IP)",
              "Office of Critical and Emerging Technologies",
              "Clean Energy Manufacturing Initiative",
              "Advanced Research Projects Agency - Energy",
              "Funding Opportunities",
              "EM Consolidated Business Center- New York (EMCBC-NY)",
              "Grid Modernization Initiative",
              "Advanced Scientific Computing Research",
              "Office of the Under Secretary for Infrastructure",
              "Water Security Grand Challenge",
              "Electric Vehicles",
              "Interconnection Innovation e-Xchange",
              "Home Energy Rebates Programs",
              "Open Energy Data",
              "Per- and Polyfluoroalkyl Substances",
              "Office of Intelligence and Counterintelligence",
              "High Energy Physics",
              "Mission Innovation",
              "Office of Secretarial Boards and Councils",
              "Fusion",
              "Strategy for Plastics Innovation",
              "H2 Twin Cities",
              "National Renewable Energy Laboratory",
              "Solar Powering America",
              "Buildings Next",
              "Data Management",
              "Jobs",
              "State, Local and Tribal Technical Assistance Gateway",
              "Test Group",
              "Commission to Review the Effectiveness of the National Energy Laboratories",
              "ESPC Campaign",
              "Office of Community Engagement ",
              "Office of Public Affairs",
              "Small Business Innovation Research and Small Business Technology Transfer",
              "Argonne National Laboratory",
              "Lawrence Berkeley National Laboratory",
              "Net Zero World Initiative",
              "Oak Ridge National Laboratory",
              "Office of Small and Disadvantaged Business Utilization",
              "Pacific Northwest National Laboratory",
              "Accelerator R&D and Production",
              "Adoption Readiness Levels",
              "Ames Laboratory",
              "Asset Revitalization Initiative",
              "Brookhaven National Laboratory",
              "Distribution Grid Transformation ",
              "DOE Charitable Giving Campaign",
              "Energy Basics",
              "Energy Grid Integration Program",
              "Energy Materials Network",
              "Fermi National Accelerator Laboratory",
              "Green Button",
              "Joint Office of Energy and Transportation",
              "Lawrence Livermore National Laboratory",
              "National Energy Technology Laboratory",
              "Office of Under Secretary for Science",
              "Savannah River National Laboratory",
              "Workforce Development for Teachers and Scientists"
            ],
            "type": "string",
            "description": "Filter by DOE office or organization"
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "date",
              "relevance"
            ],
            "type": "string",
            "description": "Sort order for results",
            "default": "date"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}