---
updatedAt: 2026-09-07T12:45:24.000Z
agentTools:
  projectIndex: https://developer.candid.org/llms.txt
---

# /summary

Search for total grant summaries that match the criteria specified.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Grants API",
    "description": "Leverage advanced search and filters to analyze the most comprehensive and accurate data on grants, funders, recipients, and funding activity.",
    "version": "1.0.1"
  },
  "servers": [
    {
      "url": "https://api.candid.org/grants/v1"
    }
  ],
  "paths": {
    "/summary": {
      "get": {
        "tags": [
          "summary"
        ],
        "description": "Search for total grant summaries that match the criteria specified.",
        "operationId": "grants_summary",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "Keyword to search for.",
            "schema": {
              "type": "string",
              "example": "Equitable Development",
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "location",
            "in": "query",
            "description": "Geoname ID for the location to search. (e.g. Geonameid '6252001' searches for 'United States').",
            "schema": {
              "type": "integer",
              "example": 6252001,
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "geo_id_type",
            "in": "query",
            "description": "Geo ID type for the location parameter to search on. The only supported geo ID type is geonameid.",
            "schema": {
              "type": "string",
              "example": "",
              "enum": [
                "geonameid"
              ],
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "location_type",
            "in": "query",
            "description": "Select how the location parameter is applied for search results. \"funder\" represents the location of the funder, \"recipient\" represents the location of the recipient, and \"area_served\" represents the location where the funding was used.",
            "schema": {
              "type": "string",
              "example": "",
              "enum": [
                "funder",
                "recipient",
                "area_served"
              ],
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "year",
            "in": "query",
            "description": "The year a grant was awarded to search on. Multiple years can be selected through a comma separated list. Values are in YYYY format (e.g. 2019).",
            "style": "form",
            "explode": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "example": 2019
              },
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "subject",
            "in": "query",
            "description": "The subject code to search on. For example, the subject code 'SN0201' searches for 'Urban development'. Multiple subject codes can be selected by passing a comma separated list without spaces. Remove any trailing zeros from the end of the PCS code.",
            "style": "form",
            "explode": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "example": "SN0201"
              },
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "population",
            "in": "query",
            "description": "The population code to search on. For example, the population code 'PG0302' searches for 'Low-income people'. Multiple population codes can be selected by passing a comma separated list without spaces. Remove any trailing zeros from the end of the PCS code.",
            "style": "form",
            "explode": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "example": "PG0302"
              },
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "support",
            "in": "query",
            "description": "Select the support strategy code to search on. For example, the support strategy code 'UA' searches for 'General support'.  Multiple support strategy codes can be selected by passing a comma separated list without spaces. Remove any trailing zeros from the end of the PCS code.",
            "style": "form",
            "explode": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "example": "UA"
              },
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "transaction",
            "in": "query",
            "description": "The transaction code to search on. For example, the transaction code 'TA' searches for 'Cash grants'. Multiple transaction codes can be selected by passing a comma separated list without spaces. Remove any trailing zeros from the end of the PCS code.",
            "style": "form",
            "explode": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "example": "TA"
              },
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "recip_id",
            "in": "query",
            "description": "The recipient key to search on. For example, the recipient ID '321486' searches for 'Bedford Stuyvesant Restoration Corportaion'. Multiple recipient keys can be selected by passing a comma separated list. This parameter also accepts EIN, but only in conjunction with the id_type parameter.",
            "explode": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "example": "321486"
              },
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "funder_id",
            "in": "query",
            "description": "The funder key to search on. For example, the funder ID 'KRES002' searches for 'Kresge Foundation'.  Multiple funder keys can be selected through a comma separated list. This parameter also accepts EIN, but only in conjunction with the id_type parameter.",
            "style": "form",
            "explode": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "example": "KRES002"
              },
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "id_type",
            "in": "query",
            "description": "Select the id_type when looking up the recipient or funder by their EIN. Do not specify this parameter when using the recipient or funder key.",
            "schema": {
              "type": "string",
              "example": "",
              "enum": [
                "ein"
              ],
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "include_gov",
            "in": "query",
            "description": "Select if U.S. Government grantmakers should be listed in the search results.",
            "schema": {
              "type": "string",
              "example": "",
              "enum": [
                "yes",
                "no"
              ],
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "min_amt",
            "in": "query",
            "description": "Minimum dollar amount (in USD) of grants to consider for search results",
            "schema": {
              "type": "integer",
              "example": 0,
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "max_amt",
            "in": "query",
            "description": "Maximum dollar amount (in USD) of grants to consider for search results",
            "schema": {
              "type": "integer",
              "example": 1000000,
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "format",
            "in": "query",
            "description": "Defines the format of the response.",
            "schema": {
              "type": "string",
              "example": "",
              "enum": [
                "json",
                "xml"
              ],
              "x-global": true
            },
            "x-global": true
          },
          {
            "name": "profile_levels",
            "in": "query",
            "description": "Comma separated list of GS seal levels to search for.",
            "schema": {
              "type": "string",
              "example": "platinum",
              "x-global": true
            },
            "x-global": true
          }
        ],
        "responses": {
          "200": {
            "description": "Response includes number of grants, value of grants, number of foundations, and number of recipients that match the criteria searched.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "meta": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status code.",
                          "example": 200
                        },
                        "status": {
                          "type": "string",
                          "description": "Description of the HTTP response status code.",
                          "example": "OK"
                        },
                        "elapsed_time": {
                          "type": "string",
                          "description": "Elapsed time of API call in milliseconds.",
                          "example": 1
                        },
                        "time": {
                          "type": "string",
                          "description": "Time of API call.",
                          "example": "2021-01-01T01:01:01.000Z"
                        }
                      }
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "number_of_grants": {
                          "type": "integer",
                          "description": "Total number of grants awarded that meet the search criteria",
                          "example": 57
                        },
                        "value_of_grants": {
                          "type": "number",
                          "description": "Total sum of dollar value of grants awarded that meet the search criteria",
                          "example": 74949700
                        },
                        "number_of_foundations": {
                          "type": "integer",
                          "description": "Total number of funders that awarded a grant that meet the search criteria",
                          "example": 39
                        },
                        "number_of_recipients": {
                          "type": "integer",
                          "description": "Total number of recipients that received a grant that meet the search criteria",
                          "example": 25
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BadRequest"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BadRequest"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Forbidden"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Forbidden"
                }
              }
            }
          },
          "404": {
            "description": "No Results Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotFound"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotFound"
                }
              }
            }
          },
          "406": {
            "description": "Not Acceptable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotAcceptable"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotAcceptable"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TooManyRequests"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TooManyRequests"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InternalServerError"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InternalServerError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BadRequest": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "HTTP response status code.",
            "example": 400
          },
          "message": {
            "type": "string",
            "example": "The request cannot be fulfilled due to bad syntax."
          }
        }
      },
      "Unauthorized": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "HTTP response status code.",
            "example": 401
          },
          "message": {
            "type": "string",
            "example": "Access denied due to missing subscription key. Make sure to include subscription key when making requests to an API."
          }
        }
      },
      "Forbidden": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "HTTP response status code.",
            "example": 403
          },
          "message": {
            "type": "string",
            "example": "Forbidden, we found insufficient permissions to grant access to the resources. Please check the detailed message of the response."
          }
        }
      },
      "NotFound": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "HTTP response status code.",
            "example": 404
          },
          "message": {
            "type": "string",
            "example": "Request was processed successfully but we could not find the resource ein"
          }
        }
      },
      "NotAcceptable": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "HTTP response status code.",
            "example": 406
          },
          "message": {
            "type": "string",
            "example": "The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request."
          }
        }
      },
      "TooManyRequests": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "HTTP response status code.",
            "example": 429
          },
          "message": {
            "type": "string",
            "example": "Rate limit is exceeded. Try again later."
          }
        }
      },
      "InternalServerError": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "HTTP response status code.",
            "example": 500
          },
          "message": {
            "type": "string",
            "example": "Oh no!, this is bad, something went wrong... please contact API support!"
          }
        }
      }
    },
    "securitySchemes": {
      "apiKeyHeader": {
        "type": "apiKey",
        "name": "Subscription-Key",
        "in": "header"
      },
      "apiKeyQuery": {
        "type": "apiKey",
        "name": "Subscription-Key",
        "in": "query"
      }
    }
  },
  "security": [
    {
      "apiKeyHeader": []
    },
    {
      "apiKeyQuery": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```