{
  "openapi": "3.0.1",
  "info": {
    "title": "Grants.gov Federal Funding Opportunities Scraper",
    "description": "Search Grants.gov, the official US federal grants database, by keyword and status (posted, forecasted, closed, archived). Get title, agency, open and close dates, CFDA codes, plus optional award ceiling and floor, total funding, eligibility and contact. Export CSV, Excel, JSON. No login.",
    "version": "0.1",
    "x-build-id": "IfnMX4YxkbmGLvGoo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/recordsdata~grants-gov-opportunities-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-recordsdata-grants-gov-opportunities-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/recordsdata~grants-gov-opportunities-scraper/runs": {
      "post": {
        "operationId": "runs-sync-recordsdata-grants-gov-opportunities-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/recordsdata~grants-gov-opportunities-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-recordsdata-grants-gov-opportunities-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": {
          "keyword": {
            "title": "Keyword (optional)",
            "type": "string",
            "description": "Search term matched against grant titles and descriptions, for example \"health\", \"rural broadband\" or \"STEM education\". Leave empty to list all opportunities with the selected statuses."
          },
          "oppStatuses": {
            "title": "Opportunity status",
            "type": "array",
            "description": "Which Grants.gov opportunity statuses to include: posted (open for applications now), forecasted (announced, not yet open), closed or archived. Defaults to posted.",
            "items": {
              "type": "string",
              "enum": [
                "forecasted",
                "posted",
                "closed",
                "archived"
              ],
              "enumTitles": [
                "Forecasted",
                "Posted (open now)",
                "Closed",
                "Archived"
              ]
            },
            "default": [
              "posted"
            ]
          },
          "agencies": {
            "title": "Agencies",
            "type": "array",
            "description": "Only opportunities posted by these agencies. A department (for example Department of Health and Human Services) includes all its sub-agencies; pick a sub-agency (for example HHS: National Institutes of Health) to narrow it. Leave empty for all agencies.",
            "items": {
              "type": "string",
              "enum": [
                "AC",
                "USDA",
                "USDA-AMS",
                "USDA-APHIS",
                "USDA-FAS",
                "USDA-FS",
                "USDA-NIFA",
                "USDA-NRCS",
                "USDA-RBCS",
                "USDA-RUS",
                "DOC",
                "DOC-DOCNISTERA",
                "DOC-DOCNOAAERA",
                "DOC-EDA",
                "DOC-NIST",
                "DOD",
                "DOD-AMC-ACCAPGN",
                "DOD-AMC-ACCAPGD",
                "DOD-AFRL-AFRLDET8",
                "DOD-AFRL",
                "DOD-USAFA",
                "DOD-AFOSR",
                "DOD-AMC-ACCRI",
                "DOD-DARPA-DSO",
                "DOD-DARPA-IPTO",
                "DOD-DARPA-TTO",
                "DOD-AMRAA",
                "DOD-DTRA",
                "DOD-AMC",
                "DOD-COE-ERDC",
                "DOD-COE-FW",
                "DOD-AFRL-RW",
                "DOD-NGIA",
                "DOD-ONR-AIR",
                "DOD-ONR-NRL",
                "DOD-ONR-SUP",
                "DOD-ONR-SEA-CRANE",
                "DOD-ONR-SEA-N00178",
                "DOD-OEA",
                "DOD-ONR",
                "DOD-AF347CS",
                "DOD-WHS",
                "DOE",
                "DOE-ARPAE",
                "DOE-GFO",
                "DOE-01",
                "DOE-ID",
                "DOE-NETL",
                "PAMS",
                "PAMS-SC",
                "HHS",
                "HHS-ASPR",
                "HHS-ACF",
                "HHS-ACF-OHS",
                "HHS-ACF-ORR",
                "HHS-ACF-OTIP",
                "HHS-ACL",
                "HHS-OS-ASPR",
                "HHS-CMS",
                "HHS-CDC-CSTLTS",
                "HHS-CDC-NCBDDD",
                "HHS-CDC-NCCDPHP",
                "HHS-CDC-NCEH",
                "HHS-CDC-NCEZID",
                "HHS-CDC-NCHHSTP",
                "HHS-CDC-NCIPC",
                "HHS-CDC-OD",
                "HHS-CDC-OPHPR",
                "HHS-CDC-HHSCDCERA",
                "HHS-CDC-GHC",
                "HHS-FDA",
                "HHS-HRSA",
                "HHS-IHS",
                "HHS-NIH11",
                "HHS-OPHS",
                "HHS-OS-ONC",
                "HHS-SAMHS-SAMHSA",
                "DHS",
                "DHS-DHS",
                "DHS-USCG",
                "HUD",
                "USDOJ",
                "USDOJ-OJP-BJA",
                "USDOJ-OJP-BJS",
                "USDOJ-OJP-NIJ",
                "USDOJ-OJP-OVC",
                "USDOJ-OJP-OJJDP",
                "DOL",
                "DOL-ILAB",
                "DOL-ETA",
                "DOL-OESE",
                "DOL-VETS",
                "DOS",
                "DOS-AF",
                "DOS-ECA",
                "DOS-ET",
                "DOS-GHSD",
                "DOS-INL",
                "DOS-NEA",
                "DOS-PRM",
                "DOS-GTIP",
                "DOS-ALB",
                "DOS-AGO",
                "DOS-AUS",
                "DOS-AUT",
                "DOS-AZE",
                "DOS-BGD",
                "DOS-BEN",
                "DOS-KHM",
                "DOS-CPV",
                "DOS-CHN",
                "DOS-CYP",
                "DOS-DJI",
                "DOS-EGY",
                "DOS-GRC",
                "DOS-ITA",
                "DOS-LVA",
                "DOS-MOZ",
                "DOS-NER",
                "DOS-MKD",
                "DOS-SRB",
                "DOS-SLE",
                "DOS-ESP",
                "DOS-COD",
                "DOS-DOM",
                "DOS-USEU",
                "DOS-NLD",
                "DOS-PHL",
                "DOS-USUN",
                "DOS-TUN",
                "DOS-VNM",
                "DOS-ZWE",
                "DOI",
                "DOI-BIA",
                "DOI-BLM",
                "DOI-BOR",
                "DOI-FWS",
                "DOI-USGS1",
                "DOI-NPS",
                "USDOT",
                "USDOT-DO-SIPPRA",
                "USDOT-GCR",
                "DOT",
                "DOT-DOT X-50",
                "DOT-OSDBU",
                "DOT-FAA-AIP",
                "DOT-FAA-FAA ARG",
                "DOT-FRA",
                "DOT-FHWA",
                "DOT-FAA-FAA COE-FAA JAMS",
                "DOT-NHTSA",
                "VA",
                "VA-CSHF",
                "VA-HPGPDP",
                "VA-VLGP",
                "EPA",
                "IMLS",
                "MCC",
                "NASA",
                "NASA-HQ",
                "NEA",
                "NEH",
                "NSF"
              ],
              "enumTitles": [
                "AmeriCorps (AC, all sub-agencies)",
                "Department of Agriculture (USDA, all sub-agencies)",
                "USDA: Agricultural Marketing Service (USDA-AMS)",
                "USDA: Animal and Plant Health Inspection Service (USDA-APHIS)",
                "USDA: Foreign Agricultural Service (USDA-FAS)",
                "USDA: Forest Service (USDA-FS)",
                "USDA: National Institute of Food and Agriculture (USDA-NIFA)",
                "USDA: Natural Resources Conservation Service (USDA-NRCS)",
                "USDA: Rural Business-Cooperative Service (USDA-RBCS)",
                "USDA: Rural Utilities Service (USDA-RUS)",
                "Department of Commerce (DOC, all sub-agencies)",
                "DOC: DOC NIST ERA (DOC-DOCNISTERA)",
                "DOC: DOC NOAA - ERA Production (DOC-DOCNOAAERA)",
                "DOC: Economic Development Administration (DOC-EDA)",
                "DOC: National Institute of Standards and Technology (DOC-NIST)",
                "Department of Defense (DOD, all sub-agencies)",
                "DOD: ACC APG - Natick (DOD-AMC-ACCAPGN)",
                "DOD: ACC-APG-Detrick (DOD-AMC-ACCAPGD)",
                "DOD: AFRL Kirtland AFB (DOD-AFRL-AFRLDET8)",
                "DOD: Air Force -- Research Lab (DOD-AFRL)",
                "DOD: Air Force Academy (DOD-USAFA)",
                "DOD: Air Force Office of Scientific Research (DOD-AFOSR)",
                "DOD: Army Contracting Command Rock Island (DOD-AMC-ACCRI)",
                "DOD: DARPA - Defense Sciences Office (DOD-DARPA-DSO)",
                "DOD: DARPA - Information Processing Technologies Office (DOD-DARPA-IPTO)",
                "DOD: DARPA - Tactical Technology Office (DOD-DARPA-TTO)",
                "DOD: Defense Health Agency Contracting Activity - DHACA (DOD-AMRAA)",
                "DOD: Defense Threat Reduction Agency (DOD-DTRA)",
                "DOD: Dept of the Army -- Materiel Command (DOD-AMC)",
                "DOD: Engineer Research and Development Center (DOD-COE-ERDC)",
                "DOD: Fort Worth District (DOD-COE-FW)",
                "DOD: Munitions Directorate (DOD-AFRL-RW)",
                "DOD: National Geospatial-Intelligence Agency (DOD-NGIA)",
                "DOD: NAVAIR (DOD-ONR-AIR)",
                "DOD: Naval Research Laboratory (DOD-ONR-NRL)",
                "DOD: Naval Supply Systems Command (DOD-ONR-SUP)",
                "DOD: NSWC CRANE - N00164 (DOD-ONR-SEA-CRANE)",
                "DOD: NSWC Dahlgren (DOD-ONR-SEA-N00178)",
                "DOD: Office of Local Defense Community Cooperation (DOD-OEA)",
                "DOD: Office of Naval Research (DOD-ONR)",
                "DOD: USAF 347 Contracting Squadron (DOD-AF347CS)",
                "DOD: Washington Headquarters Services (DOD-WHS)",
                "Department of Energy (DOE, all sub-agencies)",
                "DOE: Advanced Research Projects Agency Energy (DOE-ARPAE)",
                "DOE: Golden Field Office (DOE-GFO)",
                "DOE: Headquarters (DOE-01)",
                "DOE: Idaho Field Office (DOE-ID)",
                "DOE: National Energy Technology Laboratory (DOE-NETL)",
                "Department of Energy - Office of Science (PAMS, all sub-agencies)",
                "PAMS: Office of Science (PAMS-SC)",
                "Department of Health and Human Services (HHS, all sub-agencies)",
                "HHS: Admin for Strategic Preparedness and Response (HHS-ASPR)",
                "HHS: Administration for Children and Families (HHS-ACF)",
                "HHS: Administration for Children and Families - OHS (HHS-ACF-OHS)",
                "HHS: Administration for Children and Families - ORR (HHS-ACF-ORR)",
                "HHS: Administration for Children and Families-IOAS-OTIP (HHS-ACF-OTIP)",
                "HHS: Administration for Community Living (HHS-ACL)",
                "HHS: Assistant Secretary for Preparedness and Response (HHS-OS-ASPR)",
                "HHS: Center for Medicare and Medicaid Services (HHS-CMS)",
                "HHS: CENTERS FOR DISEASE CONTROL  CSTLTS (HHS-CDC-CSTLTS)",
                "HHS: Centers for Disease Control - NCBDDD (HHS-CDC-NCBDDD)",
                "HHS: Centers for Disease Control - NCCDPHP (HHS-CDC-NCCDPHP)",
                "HHS: Centers for Disease Control - NCEH (HHS-CDC-NCEH)",
                "HHS: Centers for Disease Control - NCEZID (HHS-CDC-NCEZID)",
                "HHS: Centers for Disease Control - NCHHSTP (HHS-CDC-NCHHSTP)",
                "HHS: Centers for Disease Control - NCIPC (HHS-CDC-NCIPC)",
                "HHS: Centers for Disease Control - OD (HHS-CDC-OD)",
                "HHS: Centers for Disease Control - OPHPR (HHS-CDC-OPHPR)",
                "HHS: Centers for Disease Control and Prevention - ERA (HHS-CDC-HHSCDCERA)",
                "HHS: Centers for Disease Control-GHC (HHS-CDC-GHC)",
                "HHS: Food and Drug Administration (HHS-FDA)",
                "HHS: Health Resources and Services Administration (HHS-HRSA)",
                "HHS: Indian Health Service (HHS-IHS)",
                "HHS: National Institutes of Health (HHS-NIH11)",
                "HHS: Office of the Assistant Secretary for Health (HHS-OPHS)",
                "HHS: Office of the National Coordinator (HHS-OS-ONC)",
                "HHS: Substance Abuse and Mental Health Services Adminis (HHS-SAMHS-SAMHSA)",
                "Department of Homeland Security (DHS, all sub-agencies)",
                "DHS: Department of Homeland Security - FEMA (DHS-DHS)",
                "DHS: United States Coast Guard (DHS-USCG)",
                "Department of Housing and Urban Development (HUD, all sub-agencies)",
                "Department of Justice (USDOJ, all sub-agencies)",
                "USDOJ: Bureau of Justice Assistance (USDOJ-OJP-BJA)",
                "USDOJ: Bureau of Justice Statistics (USDOJ-OJP-BJS)",
                "USDOJ: National Institute of Justice (USDOJ-OJP-NIJ)",
                "USDOJ: Office for Victims of Crime (USDOJ-OJP-OVC)",
                "USDOJ: Office of Juvenile Justice Delinquency Prevention (USDOJ-OJP-OJJDP)",
                "Department of Labor (DOL, all sub-agencies)",
                "DOL: Bureau of International Labor Affairs (DOL-ILAB)",
                "DOL: Employment and Training Administration (DOL-ETA)",
                "DOL: Office of Elementary and Secondary Education (DOL-OESE)",
                "DOL: Veterans Employment and Training Service (DOL-VETS)",
                "Department of State (DOS, all sub-agencies)",
                "DOS: Bureau of African Affairs (DOS-AF)",
                "DOS: Bureau Of Educational and Cultural Affairs (DOS-ECA)",
                "DOS: Bureau of Emerging Threats (DOS-ET)",
                "DOS: Bureau of Global Health Security and Diplomacy (DOS-GHSD)",
                "DOS: Bureau of International Narcotics-Law Enforcement (DOS-INL)",
                "DOS: Bureau of Near Eastern Affairs (DOS-NEA)",
                "DOS: Bureau of Population Refugees and Migration (DOS-PRM)",
                "DOS: Office to Monitor-Combat Trafficking in Persons (DOS-GTIP)",
                "DOS: U.S. Mission to Albania (DOS-ALB)",
                "DOS: U.S. Mission to Angola (DOS-AGO)",
                "DOS: U.S. Mission to Australia (DOS-AUS)",
                "DOS: U.S. Mission to Austria (DOS-AUT)",
                "DOS: U.S. Mission to Azerbaijan (DOS-AZE)",
                "DOS: U.S. Mission to Bangladesh (DOS-BGD)",
                "DOS: U.S. Mission to Benin (DOS-BEN)",
                "DOS: U.S. Mission to Cambodia (DOS-KHM)",
                "DOS: U.S. Mission to Cape Verde (DOS-CPV)",
                "DOS: U.S. Mission to China (DOS-CHN)",
                "DOS: U.S. Mission to Cyprus (DOS-CYP)",
                "DOS: U.S. Mission to Djibouti (DOS-DJI)",
                "DOS: U.S. Mission to Egypt (DOS-EGY)",
                "DOS: U.S. Mission to Greece (DOS-GRC)",
                "DOS: U.S. Mission to Italy (DOS-ITA)",
                "DOS: U.S. Mission to Latvia (DOS-LVA)",
                "DOS: U.S. Mission to Mozambique (DOS-MOZ)",
                "DOS: U.S. Mission to Niger (DOS-NER)",
                "DOS: U.S. Mission to North Macedonia (DOS-MKD)",
                "DOS: U.S. Mission to Serbia (DOS-SRB)",
                "DOS: U.S. Mission to Sierra Leone (DOS-SLE)",
                "DOS: U.S. Mission to Spain (DOS-ESP)",
                "DOS: U.S. Mission to the Democratic Republic of Congo (DOS-COD)",
                "DOS: U.S. Mission to the Dominican Republic (DOS-DOM)",
                "DOS: U.S. Mission to the European Union (DOS-USEU)",
                "DOS: U.S. Mission to the Netherlands (DOS-NLD)",
                "DOS: U.S. Mission to the Philippines (DOS-PHL)",
                "DOS: U.S. Mission to the United Nations (DOS-USUN)",
                "DOS: U.S. Mission to Tunisia (DOS-TUN)",
                "DOS: U.S. Mission to Vietnam (DOS-VNM)",
                "DOS: U.S. Mission to Zimbabwe (DOS-ZWE)",
                "Department of the Interior (DOI, all sub-agencies)",
                "DOI: Bureau of Indian Affairs (DOI-BIA)",
                "DOI: Bureau of Land Management (DOI-BLM)",
                "DOI: Bureau of Reclamation (DOI-BOR)",
                "DOI: Fish and Wildlife Service (DOI-FWS)",
                "DOI: Geological Survey (DOI-USGS1)",
                "DOI: National Park Service (DOI-NPS)",
                "Department of the Treasury (USDOT, all sub-agencies)",
                "USDOT: SIPPRA (USDOT-DO-SIPPRA)",
                "USDOT: U.S. Dept. of Treasury RESTORE Act Program (USDOT-GCR)",
                "Department of Transportation (DOT, all sub-agencies)",
                "DOT: 69A345 Office of the Under Secretary for Policy (DOT-DOT X-50)",
                "DOT: 69A350 OSDBU (DOT-OSDBU)",
                "DOT: Airport Improvement Program Discretionary Grants (DOT-FAA-AIP)",
                "DOT: DOT - FAA Aviation Research Grants (DOT-FAA-FAA ARG)",
                "DOT: DOT - Federal Railroad Administration (DOT-FRA)",
                "DOT: DOT Federal Highway Administration (DOT-FHWA)",
                "DOT: FAA-COE-JAMS (DOT-FAA-FAA COE-FAA JAMS)",
                "DOT: National Highway Traffic Safety Administration (DOT-NHTSA)",
                "Department of Veterans Affairs (VA, all sub-agencies)",
                "VA: Construction of State Home Facilities (VA-CSHF)",
                "VA: Homeless Providers Grant and Per Diem Program (VA-HPGPDP)",
                "VA: Veterans Legacy Grants Program (VA-VLGP)",
                "Environmental Protection Agency (EPA, all sub-agencies)",
                "Institute of Museum and Library Services (IMLS, all sub-agencies)",
                "Millennium Challenge Corporation (MCC, all sub-agencies)",
                "National Aeronautics and Space Administration (NASA, all sub-agencies)",
                "NASA: NASA Headquarters (NASA-HQ)",
                "National Endowment for the Arts (NEA, all sub-agencies)",
                "National Endowment for the Humanities (NEH, all sub-agencies)",
                "U.S. National Science Foundation (NSF, all sub-agencies)"
              ]
            },
            "default": []
          },
          "fundingCategories": {
            "title": "Funding categories",
            "type": "array",
            "description": "Only opportunities in these funding activity categories, for example Health, Education or Science and Technology. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "AG",
                "AR",
                "BC",
                "CD",
                "CP",
                "DPR",
                "ED",
                "ELT",
                "EN",
                "ENV",
                "FN",
                "HL",
                "HO",
                "HU",
                "ISS",
                "IS",
                "IIJ",
                "LJL",
                "NR",
                "OZ",
                "O",
                "RT",
                "RD",
                "ST",
                "T"
              ],
              "enumTitles": [
                "Agriculture",
                "Arts",
                "Business and Commerce",
                "Community Development",
                "Consumer Protection",
                "Disaster Prevention and Relief",
                "Education",
                "Employment, Labor and Training",
                "Energy",
                "Environment",
                "Food and Nutrition",
                "Health",
                "Housing",
                "Humanities",
                "Income Security and Social Services",
                "Information and Statistics",
                "Infrastructure Investment and Jobs Act (IIJA)",
                "Law, Justice and Legal Services",
                "Natural Resources",
                "Opportunity Zone Benefits",
                "Other (see text field entitled \"Explanation of Other Category of Funding Activity\" for clarification)",
                "Recreation and Tourism",
                "Regional Development",
                "Science and Technology and other Research and Development",
                "Transportation"
              ]
            },
            "default": []
          },
          "eligibilities": {
            "title": "Who can apply",
            "type": "array",
            "description": "Only opportunities open to these kinds of applicants, for example nonprofits, state governments or individuals. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "02",
                "01",
                "22",
                "05",
                "21",
                "07",
                "11",
                "12",
                "13",
                "25",
                "20",
                "06",
                "08",
                "23",
                "04",
                "00",
                "99"
              ],
              "enumTitles": [
                "City or township governments",
                "County governments",
                "For profit organizations other than small businesses",
                "Independent school districts",
                "Individuals",
                "Native American tribal governments (Federally recognized)",
                "Native American tribal organizations (other than Federally recognized tribal governments)",
                "Nonprofits having a 501(c)(3) status with the IRS, other than institutions of higher education",
                "Nonprofits that do not have a 501(c)(3) status with the IRS, other than institutions of higher education",
                "Others (see text field entitled \"Additional Information on Eligibility\" for clarification)",
                "Private institutions of higher education",
                "Public and State controlled institutions of higher education",
                "Public housing authorities/Indian housing authorities",
                "Small businesses",
                "Special district governments",
                "State governments",
                "Unrestricted (i.e., open to any type of entity above), subject to any clarification in text field entitled \"Additional Information on Eligibility\""
              ]
            },
            "default": []
          },
          "fundingInstruments": {
            "title": "Funding instruments",
            "type": "array",
            "description": "Only opportunities with these instruments: grant, cooperative agreement, procurement contract or other. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "CA",
                "G",
                "O",
                "PC"
              ],
              "enumTitles": [
                "Cooperative Agreement",
                "Grant",
                "Other",
                "Procurement Contract"
              ]
            },
            "default": []
          },
          "cfdaNumbers": {
            "title": "Assistance Listing (CFDA) numbers",
            "type": "array",
            "description": "Only opportunities under these Assistance Listing numbers (formerly CFDA), for example 93.847. Leave empty for all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "postedWithinDays": {
            "title": "Posted within",
            "enum": [
              "",
              "3",
              "7",
              "14",
              "21",
              "28",
              "35",
              "42",
              "49",
              "56"
            ],
            "type": "string",
            "description": "Only opportunities posted in the last 3 days up to the last 8 weeks. Applied by Grants.gov itself.",
            "default": ""
          },
          "openDateFrom": {
            "title": "Open date from (YYYY-MM-DD)",
            "type": "string",
            "description": "Only opportunities posted on or after this date. Checked by the actor on each result, so combine it with other filters to keep the search narrow.",
            "default": ""
          },
          "openDateTo": {
            "title": "Open date to (YYYY-MM-DD)",
            "type": "string",
            "description": "Only opportunities posted on or before this date.",
            "default": ""
          },
          "closeDateFrom": {
            "title": "Close date from (YYYY-MM-DD)",
            "type": "string",
            "description": "Only opportunities whose application deadline is on or after this date. Opportunities without a deadline are skipped when a close-date filter is set.",
            "default": ""
          },
          "closeDateTo": {
            "title": "Close date to (YYYY-MM-DD)",
            "type": "string",
            "description": "Only opportunities whose application deadline is on or before this date.",
            "default": ""
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "",
              "openDate|desc",
              "openDate|asc",
              "closeDate|asc",
              "closeDate|desc"
            ],
            "type": "string",
            "description": "Order of the results. Leave on relevance to use the Grants.gov default.",
            "default": ""
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of grant opportunities to return. Free plan is limited to 10. You are charged one opportunity-record event per delivered row.",
            "default": 200
          },
          "includeFullDetails": {
            "title": "Include full details",
            "type": "boolean",
            "description": "Also fetch full description, award ceiling/floor, total funding, eligibility text and agency contact for each opportunity. Billed as a separate event.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new results (monitor mode)",
            "type": "boolean",
            "description": "Only new results: skip every grant opportunity this same search already returned in an earlier run, so scheduled runs return just what is new, and you are not charged for skipped opportunities. Max results then means N new rows.",
            "default": false
          },
          "stateKey": {
            "title": "Monitor name (optional)",
            "type": "string",
            "description": "Optional label to keep several independent monitors for the same search. Runs that share the same keyword, statuses and name share one list of seen opportunities. Leave empty to use the default monitor.",
            "default": ""
          },
          "resetSeen": {
            "title": "Reset seen records",
            "type": "boolean",
            "description": "Clear the stored list of already-seen opportunities for this search and monitor name before the run, so every matching opportunity counts as new again.",
            "default": false
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}