{
  "openapi": "3.0.1",
  "info": {
    "title": "Foundation Grants Finder: IRS 990-PF Funders",
    "description": "Find private foundations that fund your cause. From IRS 990-PF e-file data: grants paid (recipient, state, purpose, amount) plus funder assets, giving, application contact, deadlines and restrictions. Filter by state, keyword, amount. No login or API key.",
    "version": "1.0",
    "x-build-id": "J2lGgQC6sMbeLPshs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tatonicventures~foundation-grants-990pf/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tatonicventures-foundation-grants-990pf",
        "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/tatonicventures~foundation-grants-990pf/runs": {
      "post": {
        "operationId": "runs-sync-tatonicventures-foundation-grants-990pf",
        "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/tatonicventures~foundation-grants-990pf/run-sync": {
      "post": {
        "operationId": "run-sync-tatonicventures-foundation-grants-990pf",
        "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": {
          "foundationStates": {
            "title": "Foundation states",
            "type": "array",
            "description": "Find private foundations headquartered in these US states (2-letter codes, e.g. CO, CA, NY). Foundations are processed largest first, by assets on the IRS Business Master File.",
            "items": {
              "type": "string"
            }
          },
          "foundationNameKeywords": {
            "title": "Foundation name contains",
            "type": "array",
            "description": "Keep foundations whose IRS name contains any of these words (case-insensitive), e.g. 'FAMILY FOUNDATION', 'BOETTCHER'. Combined with states using AND.",
            "items": {
              "type": "string"
            }
          },
          "foundationEins": {
            "title": "Foundation EINs",
            "type": "array",
            "description": "Specific foundations by EIN (9 digits, dashes optional). Always included, regardless of other filters.",
            "items": {
              "type": "string"
            }
          },
          "recipientStates": {
            "title": "Recipient states (grant filter)",
            "type": "array",
            "description": "Only output grants paid to recipients in these states, e.g. CO. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "purposeKeywords": {
            "title": "Grant purpose / recipient keywords",
            "type": "array",
            "description": "Only output grants whose purpose or recipient name contains any of these words, e.g. YOUTH, MENTOR, FOOD BANK, ARTS.",
            "items": {
              "type": "string"
            }
          },
          "minGrantAmount": {
            "title": "Minimum grant amount (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip grants smaller than this.",
            "default": 0
          },
          "outputType": {
            "title": "Output",
            "enum": [
              "both",
              "grants",
              "funders"
            ],
            "type": "string",
            "description": "Funder profiles include assets, total giving, application contact, deadlines and restrictions. Grant rows list each grant paid (recipient, city, state, purpose, amount).",
            "default": "both"
          },
          "filingYears": {
            "title": "IRS processing years to search",
            "type": "array",
            "description": "IRS e-file index years to search (the year the IRS processed the return; 2024 or later). The latest filing per foundation is used.",
            "default": [
              "2026",
              "2025"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxFoundations": {
            "title": "Max foundations",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of foundations to process in this run.",
            "default": 25
          },
          "maxGrantsPerFoundation": {
            "title": "Max grants per foundation",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only the largest N matching grants per foundation. 0 = no limit.",
            "default": 0
          },
          "skipPreselectedOnlyFunders": {
            "title": "Skip foundations that only give to pre-selected charities",
            "type": "boolean",
            "description": "Foundations that check the 990-PF box 'only makes contributions to preselected charitable organizations and does not accept unsolicited requests' are skipped.",
            "default": false
          },
          "includeIndividualRecipients": {
            "title": "Include grants to individuals",
            "type": "boolean",
            "description": "By default grants that appear to go to private individuals (e.g. scholarships listed by person name) are excluded to avoid collecting personal data.",
            "default": false
          },
          "includeContactPersonNames": {
            "title": "Include application contact person names",
            "type": "boolean",
            "description": "By default, if the application contact is a person rather than an organization, the name is omitted (address, phone and email of the foundation's application contact are still returned).",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}