{
  "openapi": "3.0.1",
  "info": {
    "title": "CO Charity Registry - Nonprofit Filings & Financials",
    "description": "Colorado charitable-solicitation register (public open data): registration + annual financial filings for charities, paid solicitors and fundraising consultants - revenue/expense breakdown, year-end assets, program-service ratio, IRS exempt status, and the officers behind each organization.",
    "version": "0.0",
    "x-build-id": "W94SV9NtIT5w3e7nO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/j0401~co-charity-registry/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-j0401-co-charity-registry",
        "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/j0401~co-charity-registry/runs": {
      "post": {
        "operationId": "runs-sync-j0401-co-charity-registry",
        "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/j0401~co-charity-registry/run-sync": {
      "post": {
        "operationId": "run-sync-j0401-co-charity-registry",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "filings",
              "officers",
              "purposes",
              "otherStates",
              "entity",
              "aggregate"
            ],
            "type": "string",
            "description": "filings = registration + financial filings (default). officers = associated persons. purposes = stated charitable purpose. otherStates = other states it solicits in. entity = one organization's whole record (needs entityId). aggregate = one count row per group.",
            "default": "filings"
          },
          "name": {
            "title": "Organization name",
            "type": "string",
            "description": "Organization name substring, e.g. 'VINCENT', 'FOOD BANK'. Blank = any.",
            "default": ""
          },
          "entityId": {
            "title": "Entity ID",
            "type": "string",
            "description": "Colorado entity id (e.g. '20093009043'). Required for mode=entity; also usable as an exact filter.",
            "default": ""
          },
          "fein": {
            "title": "FEIN",
            "type": "string",
            "description": "Federal EIN, with or without the dash (e.g. '26-2686998' or '262686998').",
            "default": ""
          },
          "registrantType": {
            "title": "Registrant type",
            "enum": [
              "",
              "Charitable Organization",
              "Paid Solicitor",
              "Paid Financial Consultant"
            ],
            "type": "string",
            "description": "Charitable Organization (~269k filings), Paid Solicitor (~2.4k), Paid Financial Consultant (~850). Blank = any.",
            "default": ""
          },
          "filingType": {
            "title": "Filing type",
            "type": "string",
            "description": "Exact filing type: RENEWAL (~223k), INITIAL REGISTRATION, AMENDMENT, EXTENSION, FINANCIAL REPORT, ... Blank = any.",
            "default": ""
          },
          "status": {
            "title": "Registration status",
            "type": "string",
            "description": "Exact status (case-insensitive): GOOD (~194k), NOTICE 3, WITHDRAWN, EXEMPT, REVOKED, ... Blank = any.",
            "default": ""
          },
          "taxExemptStatus": {
            "title": "IRS tax-exempt status",
            "type": "string",
            "description": "IRS exempt status substring. Blank = any.",
            "default": ""
          },
          "county": {
            "title": "County",
            "type": "string",
            "description": "Colorado county of the principal address, e.g. 'DENVER', 'EL PASO'. Blank = any.",
            "default": ""
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "Principal city substring. Blank = any.",
            "default": ""
          },
          "state": {
            "title": "Other state (mode=otherStates)",
            "type": "string",
            "description": "Two-letter state the charity is authorized to solicit in (mode=otherStates only). Blank = any.",
            "default": ""
          },
          "revenueMin": {
            "title": "Total revenue >= ",
            "type": "number",
            "description": "Minimum total revenue on the filing (USD). Filings with no reported financials are excluded."
          },
          "revenueMax": {
            "title": "Total revenue <= ",
            "type": "number",
            "description": "Maximum total revenue on the filing (USD)."
          },
          "expensesMin": {
            "title": "Total expenses >= ",
            "type": "number",
            "description": "Minimum total expenses on the filing (USD)."
          },
          "expensesMax": {
            "title": "Total expenses <= ",
            "type": "number",
            "description": "Maximum total expenses on the filing (USD)."
          },
          "approvedFrom": {
            "title": "Approved on or after",
            "type": "string",
            "description": "Only filings approved on/after this date (YYYY-MM-DD). The newest filings are first.",
            "default": ""
          },
          "approvedTo": {
            "title": "Approved before",
            "type": "string",
            "description": "Only filings approved before this date (YYYY-MM-DD).",
            "default": ""
          },
          "signedFrom": {
            "title": "Officer signed on or after",
            "type": "string",
            "description": "Only filings whose authorized officer signed on/after this date (YYYY-MM-DD).",
            "default": ""
          },
          "signedTo": {
            "title": "Officer signed before",
            "type": "string",
            "description": "Only filings whose authorized officer signed before this date (YYYY-MM-DD).",
            "default": ""
          },
          "corpus": {
            "title": "Aggregate table",
            "enum": [
              "filings",
              "officers",
              "purposes",
              "otherStates"
            ],
            "type": "string",
            "description": "Which table to aggregate when mode=aggregate. The groupBy dimension must belong to this table (filings: registrantType/filingType/status/county/city/taxExemptStatus/nteeCode; officers: entityType/personType; otherStates: state/registrantType/authorizedSoliciting; purposes: none).",
            "default": "filings"
          },
          "groupBy": {
            "title": "Aggregate by",
            "enum": [
              "",
              "registrantType",
              "filingType",
              "status",
              "county",
              "city",
              "taxExemptStatus",
              "nteeCode",
              "entityType",
              "personType",
              "state",
              "authorizedSoliciting"
            ],
            "type": "string",
            "description": "Dimension to count over (must belong to the selected corpus). Blank = that table's default (registrantType for filings, personType for officers, state for otherStates).",
            "default": ""
          },
          "maxResults": {
            "title": "Max records",
            "minimum": 0,
            "type": "integer",
            "description": "Cap the number of records pushed in rows/entity mode (0 = up to ~10k per run; each record is metered individually, so there is no per-run charge cap). Aggregate mode returns every group.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}