Charity Search
To try a test and directly interact with the API endpoint click "Test It" and use an embedded API client to send requests with custom headers and variables, then see the live response; essentially letting you test this API directly within this page. When testing please use our Demo URL: https://demo-payments.frontstream.com/api/CharitySearch
optional - Charity Name - partial or full name
optional - Valid US/CA Nonprofit EIN/Tax ID. For US EINs, the dash proceeding the first two numbers is optional; the endpoint will handle it either way (i.e. 12-3456789 and 123456789 are both valid and will result in the same record being returned)
optional - This should be either 1 (US) or 2 (Canada) - Default to US
optional - Searches the city name of charity addresses
optional - Searches the state code of charity addresses - ISO Standard two digit State code. (VA, NY)
Defaults to 1 - The page of results to display (i.e. if there are 100 overall results to your search and you provide this as 3 with a PageSize=10, this will return results #21 through #30)
Defaults to 10 - The number of results to display per page.
Default SortColumn NpoName - Indicates which SearchResults field to sort by (see response example for valid values). Only supports sorting by one column.
true/false - Determine to order the results by descending values of the selected column (or NpoName if not selected).
Returns Charity Search Data
How many total possible results there are for your search.
How many pages of data exist based on your selected PageSize.
Confirms what you passed in the querystring.
Confirms what you passed in the querystring.
Bad Request
If Charity Search Data not found
GET /api/CharitySearch HTTP/1.1
Accept: */*
{
"TotalResultCount": 1,
"TotalPages": 1,
"PageIndex": 1,
"PageSize": 1,
"SearchResults": [
{
"CharityId": "text",
"NpoName": "text",
"EIN": "text",
"Address1": "text",
"Address2": "text",
"City": "text",
"State": "text",
"Zip": "text",
"Country": "text",
"NpoEligibilityFlag": true,
"ParentOrgName": "text",
"NTEEcode": "text"
}
]
}Charity Search Example
Take a look at how you may call this method:
Postman Example for CharitySearch API:
Method:
GETURL:
https://demo-payments.fronstream.com/api/CharitySearchParams:
Name:Red Cross(optional, charity name)EIN:123456789(optional, EIN or Tax ID)City:New York(optional, city)State:NY(optional, state code)PageIndex:1(optional, default 1)PageSize:10(optional, default 10)SortColumn:NpoName(optional, default sorting by name)SortDesc:false(optional, sort order)
After setting these parameters, click Send to view the results.
Last updated
