CharitySense Assistant API

Paid Advanced operations. Each request consumes the token's daily Advanced allowance.

Operations 4

POST /api/v2/charity-question Submit a question about one canonical charity profile #
POST /api/v2/agent-feedback Submit optional integration or data-quality feedback #
GET /api/v2/assistant/capabilities Get the assistant's supported and deferred capabilities #
POST /api/v2/assistant/chat/stream Stream a CharitySense research response as server-sent events #

Documentation

Specifications

Other Resources

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-assistant-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-assistant-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CharitySense Assistant 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: Assistant
  description: Paid Advanced operations. Each request consumes the token's daily Advanced allowance.
paths:
  /api/v2/charity-question:
    post:
      tags:
      - Assistant
      operationId: submitCharityQuestion
      summary: Submit a question about one canonical charity profile
      x-openai-isConsequential: true
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CharityQuestionRequest'
      responses:
        '200':
          description: Question capture status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuestionResult'
        '400':
          $ref: '#/components/responses/ErrorResponse'
        '404':
          $ref: '#/components/responses/ErrorResponse'
        '403':
          $ref: '#/components/responses/ErrorResponse'
        '429':
          $ref: '#/components/responses/ErrorResponse'
        '503':
          $ref: '#/components/responses/ErrorResponse'
  /api/v2/agent-feedback:
    post:
      tags:
      - Assistant
      operationId: submitAgentFeedback
      summary: Submit optional integration or data-quality feedback
      x-openai-isConsequential: true
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentFeedbackRequest'
      responses:
        '200':
          description: Feedback capture status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeedbackResult'
        '400':
          $ref: '#/components/responses/ErrorResponse'
        '403':
          $ref: '#/components/responses/ErrorResponse'
        '429':
          $ref: '#/components/responses/ErrorResponse'
        '404':
          $ref: '#/components/responses/ErrorResponse'
        '503':
          $ref: '#/components/responses/ErrorResponse'
  /api/v2/assistant/capabilities:
    get:
      tags:
      - Assistant
      operationId: getAssistantCapabilities
      summary: Get the assistant's supported and deferred capabilities
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: Assistant capability lists.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssistantCapabilities'
        '401':
          $ref: '#/components/responses/ErrorResponse'
        '403':
          $ref: '#/components/responses/ErrorResponse'
  /api/v2/assistant/chat/stream:
    post:
      tags:
      - Assistant
      operationId: streamAssistantChat
      summary: Stream a CharitySense research response as server-sent events
      x-openai-isConsequential: true
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      parameters:
      - name: X-CharitySense-Session
        in: header
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssistantChatRequest'
      responses:
        '200':
          description: SSE frames followed by a data [DONE] frame.
          content:
            text/event-stream:
              schema:
                type: string
        '400':
          $ref: '#/components/responses/ErrorResponse'
        '401':
          $ref: '#/components/responses/ErrorResponse'
        '403':
          $ref: '#/components/responses/ErrorResponse'
        '429':
          $ref: '#/components/responses/ErrorResponse'
        '503':
          $ref: '#/components/responses/ErrorResponse'
components:
  schemas:
    AssistantChatRequest:
      type: object
      required:
      - Message
      properties:
        Message:
          type: string
          minLength: 1
          maxLength: 2000
        History:
          type: array
          maxItems: 20
          items:
            type: object
            required:
            - Role
            - Content
            properties:
              Role:
                type: string
                enum:
                - user
                - assistant
              Content:
                type: string
                maxLength: 2000
            additionalProperties: false
        Context:
          type: object
          properties:
            Path:
              type: string
            EIN:
              type: string
            CharityName:
              type: string
            SearchQuery:
              type: string
          additionalProperties: false
      additionalProperties: false
    QuestionResult:
      type: object
      required:
      - RequestID
      - Stored
      - Notified
      properties:
        RequestID:
          type: string
        Stored:
          type: boolean
        Notified:
          type: boolean
      additionalProperties: false
    FeedbackResult:
      type: object
      required:
      - FeedbackID
      - Stored
      - Notified
      properties:
        FeedbackID:
          type: string
        Stored:
          type: boolean
        Notified:
          type: boolean
      additionalProperties: false
    CharityQuestionRequest:
      type: object
      required:
      - EIN
      - Question
      - Email
      properties:
        EIN:
          oneOf:
          - type: integer
          - type: string
        Question:
          type: string
          maxLength: 4000
        Email:
          type: string
          format: email
      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
    AgentFeedbackRequest:
      type: object
      required:
      - Message
      properties:
        FeedbackType:
          type: string
        Message:
          type: string
          maxLength: 8000
        EIN:
          type: string
        Email:
          type: string
          format: email
        RecoverySessionID:
          type: string
          maxLength: 128
        Metadata:
          type: object
          additionalProperties: true
      additionalProperties: false
    AssistantCapabilities:
      type: object
      required:
      - Supported
      - NotYet
      - SearchRecoveryEnabled
      properties:
        Supported:
          type: array
          items:
            type: string
        NotYet:
          type: array
          items:
            type: string
        SearchRecoveryEnabled:
          type: boolean
      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