CharitySense Dataset API

Service health and published dataset statistics. Statistics and top lists consume the Advanced allowance.

Operations 2

GET /api/v2/health Check API liveness #
GET /api/v2/stats Get published dataset statistics #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/charitysense-com-dataset-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

charitysense-com-dataset-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CharitySense Dataset API
  version: 3.0.0
  description: Canonical CharitySense API for nonprofit research compiled from the canonical research overlay.
  contact:
    name: CharitySense
    email: mazhar@charitysense.com
    url: https://data.charitysense.com/contact
servers:
- url: https://data.charitysense.com
security: []
tags:
- name: Dataset
  description: Service health and published dataset statistics. Statistics and top lists consume the Advanced allowance.
paths:
  /api/v2/health:
    get:
      tags:
      - Dataset
      operationId: getHealth
      summary: Check API liveness
      responses:
        '200':
          description: The API process is healthy.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Health'
        '503':
          $ref: '#/components/responses/ErrorResponse'
  /api/v2/stats:
    get:
      tags:
      - Dataset
      operationId: getStats
      summary: Get published dataset statistics
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: Published corpus totals and freshness metadata.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Stats'
        '503':
          $ref: '#/components/responses/ErrorResponse'
components:
  schemas:
    Stats:
      type: object
      required:
      - Charities
      - Filings
      - ModalLatestYear
      - ComputedAt
      properties:
        Charities:
          type: integer
        Filings:
          type: integer
        SectorRevenue:
          type: number
        ProgramDollars:
          type: number
        ModalLatestYear:
          type: integer
        FilingsByForm:
          type: object
          additionalProperties:
            type: integer
        CountsApproximate:
          type: boolean
        SectorOverview:
          $ref: '#/components/schemas/SectorOverview'
        SectorComposition:
          $ref: '#/components/schemas/SectorComposition'
        ComputedAt:
          type: string
          format: date-time
      additionalProperties: false
    SectorYear:
      type: object
      required:
      - TaxYear
      - OrganizationCount
      - FilingCount
      properties:
        TaxYear:
          type: integer
        OrganizationCount:
          type: integer
        FilingCount:
          type: integer
        Revenue:
          type: object
          properties:
            Total:
              type: number
            Contributions:
              type: number
            ProgramService:
              type: number
            Investment:
              type: number
            Other:
              type: number
          additionalProperties: false
        Expenses:
          type: object
          properties:
            Total:
              type: number
            ProgramServices:
              type: number
            ManagementAndGeneral:
              type: number
            Fundraising:
              type: number
            GrantsTotal:
              type: number
            DomesticOrganizationGrants:
              type: number
            DomesticIndividualGrants:
              type: number
            ForeignGrants:
              type: number
          additionalProperties: false
        BalanceSheet:
          type: object
          properties:
            Assets:
              type: number
            Liabilities:
              type: number
          additionalProperties: false
        Coverage:
          type: object
          additionalProperties:
            type: integer
      additionalProperties: false
    Health:
      type: object
      required:
      - Status
      - SchemaVersion
      - Documents
      properties:
        Status:
          type: string
          const: Healthy
        SchemaVersion:
          type: integer
          const: 2
        CompiledAt: {}
        Documents:
          type: integer
      additionalProperties: false
    SectorComposition:
      type: object
      required:
      - RegistryOrganizations
      - Groups
      properties:
        RegistryOrganizations:
          type: integer
        RegistryUpdatedAt:
          type: string
          format: date-time
        Groups:
          type: array
          items:
            type: object
            required:
            - Key
            - Label
            - Organizations
            properties:
              Key:
                type: string
              Label:
                type: string
              Organizations:
                type: integer
            additionalProperties: false
      additionalProperties: false
    SectorOverview:
      type: object
      required:
      - Form
      - OrganizationCount
      - FilingCount
      - LatestCompleteYear
      - Years
      properties:
        Form:
          type: string
          const: '990'
        OrganizationCount:
          type: integer
        FilingCount:
          type: integer
        LatestCompleteYear:
          type: integer
        Years:
          type: array
          items:
            $ref: '#/components/schemas/SectorYear'
      additionalProperties: false
    Error:
      type: object
      required:
      - detail
      properties:
        detail:
          oneOf:
          - type: string
          - type: object
            properties:
              ErrorCode:
                type: string
              Message:
                type: string
            additionalProperties: true
          - type: array
            description: FastAPI request-validation errors.
            items:
              type: object
              additionalProperties: true
      additionalProperties: false
  responses:
    ErrorResponse:
      description: Request error in detail, with a stable ErrorCode when available.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-CharitySense-API-Key
externalDocs:
  description: Agent integration guide and recommended workflow.
  url: https://data.charitysense.com/agents