{
  "openapi": "3.0.1",
  "info": {
    "title": "Grants Search — Grants.gov, NIH, NSF & EU Funding Calls",
    "description": "Open grant opportunities and funded projects in one table: Grants.gov forecasts and open calls, EU Funding & Tenders calls, NIH RePORTER and NSF awards. Deadline, award ceiling/floor, eligibility, CFDA, funder, link. For grant writers, nonprofits, startups, universities. $1 per 1,000 results.",
    "version": "0.1",
    "x-build-id": "8CBkPM6eaa9xSEmyq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/actor-forge~grants-funding-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-actor-forge-grants-funding-search",
        "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/actor-forge~grants-funding-search/runs": {
      "post": {
        "operationId": "runs-sync-actor-forge-grants-funding-search",
        "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/actor-forge~grants-funding-search/run-sync": {
      "post": {
        "operationId": "run-sync-actor-forge-grants-funding-search",
        "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": {
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Search words sent to every source, e.g. \"health\", \"climate resilience\", \"artificial intelligence\". Grants.gov and the EU portal search the opportunity text; NIH searches project titles, terms and abstracts (all words must match); NSF searches award text. Leave empty for everything in the date windows."
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Where to search. Grants.gov = open, forecasted and closed US federal grant opportunities. EU Funding & Tenders = Horizon Europe, Digital Europe, LIFE, Erasmus+ and other EU calls, EuropeAid calls for proposals and EU cascade-funding open calls. NIH RePORTER and NSF = projects already awarded (who got funded, how much). Empty = all four.",
            "items": {
              "type": "string",
              "enum": [
                "grants-gov",
                "eu-funding",
                "nih-reporter",
                "nsf-awards"
              ],
              "enumTitles": [
                "Grants.gov (US federal opportunities)",
                "EU Funding & Tenders Portal (EU calls)",
                "NIH RePORTER (awarded projects)",
                "NSF Awards (awarded projects)"
              ]
            }
          },
          "statuses": {
            "title": "Status",
            "type": "array",
            "description": "Forecasted = announced but not yet open; Posted = open for applications now; Closed = deadline passed (useful for research and planning next year's cycle); Awarded = funded projects from NIH and NSF. Empty = forecasted, posted and awarded.",
            "items": {
              "type": "string",
              "enum": [
                "forecasted",
                "posted",
                "closed",
                "awarded"
              ],
              "enumTitles": [
                "Forecasted",
                "Posted (open now)",
                "Closed",
                "Awarded"
              ]
            }
          },
          "funder": {
            "title": "Funder / agency contains",
            "type": "string",
            "description": "Only rows whose funder, agency, agency code or programme contains this text (case-insensitive), e.g. \"National Institutes of Health\", \"HHS-NIH\", \"Department of Energy\", \"NIAID\", \"HORIZON\", \"Erasmus\"."
          },
          "closeDateFrom": {
            "title": "Deadline from",
            "type": "string",
            "description": "Only opportunities whose application deadline is on or after this date: YYYY-MM-DD or relative like \"today\" or \"7 days\" (from today). Opportunities without a published deadline are left out when a deadline window is set. Does not affect awards."
          },
          "closeDateTo": {
            "title": "Deadline to",
            "type": "string",
            "description": "Only opportunities whose deadline is on or before this date: YYYY-MM-DD or relative like \"60 days\" (from today). Combine with \"Deadline from\" = \"today\" for everything closing in the next 60 days."
          },
          "awardedFrom": {
            "title": "Awarded since",
            "type": "string",
            "description": "For NIH and NSF awards: only projects awarded on or after this date. YYYY-MM-DD or relative like \"90 days\", \"1 year\" (back from today).",
            "default": "1 year"
          },
          "awardedTo": {
            "title": "Awarded until",
            "type": "string",
            "description": "For NIH and NSF awards: only projects awarded on or before this date. Empty = today."
          },
          "eligibility": {
            "title": "Eligible applicant types (Grants.gov)",
            "type": "array",
            "description": "Grants.gov only: opportunities open to these applicant types (plus those open to anyone). The other sources do not publish structured eligibility, so this filter does not affect them.",
            "items": {
              "type": "string",
              "enum": [
                "nonprofit",
                "university",
                "small-business",
                "for-profit",
                "individual",
                "state-government",
                "local-government",
                "tribal",
                "school-district",
                "public-housing",
                "other"
              ],
              "enumTitles": [
                "Nonprofits (501(c)(3) or not)",
                "Universities and colleges",
                "Small businesses",
                "For-profit organisations",
                "Individuals",
                "State governments",
                "County, city and special district governments",
                "Native American tribes and tribal organisations",
                "Independent school districts",
                "Public / Indian housing authorities",
                "Others (see eligibility text)"
              ]
            }
          },
          "minAmount": {
            "title": "Minimum amount",
            "minimum": 0,
            "type": "integer",
            "description": "Only rows worth at least this much: an award's amount, or an opportunity's award ceiling (per grant). In the source's currency (USD for US sources, EUR for EU). Rows without a published amount are left out when an amount filter is set."
          },
          "maxAmount": {
            "title": "Maximum amount",
            "minimum": 0,
            "type": "integer",
            "description": "Only rows worth at most this much: an award's amount, or an opportunity's award floor (per grant). Same currency rules as the minimum."
          },
          "includeDetails": {
            "title": "Full Grants.gov details",
            "type": "boolean",
            "description": "Grants.gov search results carry only title, agency and dates. With this on (recommended), each opportunity is opened for its description, award ceiling/floor, total funding, number of awards, eligible applicants, category and assistance listing. Adds about half a second per Grants.gov row. Always on when an amount filter is set.",
            "default": true
          },
          "onlyNewSinceLastRun": {
            "title": "Only new since last run (monitor mode)",
            "type": "boolean",
            "description": "Remember what this exact search already returned and deliver only new rows next time. Schedule it daily or weekly for a grant alert feed.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Upper limit of rows for the whole run, shared evenly across the chosen sources. You pay only for rows delivered.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}