- Takes: Name
- Passive: the target is not contacted
- Cost: 1 request against the monthly quota
- Plan: Any plan
Send the GraphQL document in the query field. publicSearchFaceted returns summary and rating data; page through results with from and result_size. Arguments include term, ein, states, sizes (MICRO, SMALL, MEDIUM, LARGE, SUPER), causes, ratings (0 to 4), is_rated, c3, advisories and order_by (relevance, rating, size).
Request body (JSON) · 2ShowHide
query
The GraphQL document
variables
Variables for the document
Response fields · 15ShowHide
result_count
Total number of results found
from
Offset of the first result in this response
ein
Employer Identification Number (9 digits)
name
Primary name of the organization
mission
Statement of the organization's purpose
size
Size class by annual revenue (Micro to Super, or Unknown)
organization_url
The organization's primary web address
charity_navigator_url
Its page on Charity Navigator
encompass_score
Encompass Rating as a score out of 100
encompass_star_rating
Encompass Rating as stars, 0 to 4
encompass_publication_date
Date the rating was made public
city
City
state
State
highest_level_alert
Highest alert level: LOW, MEDIUM, HIGH or HIGHEST
causes[]
Causes the organization supports
curl -X POST 'https://api.charitynavigator.org/graphql' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"query":"query ($term: String!) { publicSearchFaceted(term: $term, states: [\"IL\"], result_size: 3) { result_count results { ein name city state encompass_score encompass_star_rating highest_level_alert } } }","variables":{"term":"Example Food Bank"}}'{
"data": {
"publicSearchFaceted": {
"result_count": 1,
"results": [
{
"ein": "000000000",
"name": "Example Food Bank",
"city": "Springfield",
"state": "IL",
"encompass_score": "90",
"encompass_star_rating": "4",
"highest_level_alert": null
}
]
}
}
}