Search organizations
curl --request GET \
--url https://api.endaoment.org/v2/orgs/searchimport requests
url = "https://api.endaoment.org/v2/orgs/search"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.endaoment.org/v2/orgs/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.endaoment.org/v2/orgs/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.endaoment.org/v2/orgs/search"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.endaoment.org/v2/orgs/search")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.endaoment.org/v2/orgs/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"ein": "530196605",
"name": "American Red Cross",
"description": "Providing disaster relief and emergency assistance",
"address": {
"line1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"zip": "94105",
"country": "USA"
},
"logo": "https://example.com/logo.png",
"nteeCode": "M20",
"nteeDescription": "Disaster Preparedness and Relief Services",
"featuredIndex": 1,
"isCompliant": true,
"lifetimeContributionsUsdc": "1000000000",
"donationsReceived": 42,
"grantsReceived": 15,
"deployments": [
{
"chainId": 1,
"contractAddress": "0x1234567890123456789012345678901234567890",
"usdcBalance": "2000000",
"isDeployed": true
}
],
"claimedDateUtc": "2024-03-20T10:30:00Z",
"claimedType": "DIRECT",
"claimed": true,
"website": "https://www.redcross.org"
}
]Nonprofit Organizations
Search organizations
Returns a list of organizations based on search criteria. This endpoint is paginated and supports various filters including:
- Full-text search
- NTEE codes (major and minor)
- Geographic location (country and state)
Results are enriched with contribution statistics and deployment information.
GET
/
v2
/
orgs
/
search
Search organizations
curl --request GET \
--url https://api.endaoment.org/v2/orgs/searchimport requests
url = "https://api.endaoment.org/v2/orgs/search"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.endaoment.org/v2/orgs/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.endaoment.org/v2/orgs/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.endaoment.org/v2/orgs/search"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.endaoment.org/v2/orgs/search")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.endaoment.org/v2/orgs/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"ein": "530196605",
"name": "American Red Cross",
"description": "Providing disaster relief and emergency assistance",
"address": {
"line1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"zip": "94105",
"country": "USA"
},
"logo": "https://example.com/logo.png",
"nteeCode": "M20",
"nteeDescription": "Disaster Preparedness and Relief Services",
"featuredIndex": 1,
"isCompliant": true,
"lifetimeContributionsUsdc": "1000000000",
"donationsReceived": 42,
"grantsReceived": 15,
"deployments": [
{
"chainId": 1,
"contractAddress": "0x1234567890123456789012345678901234567890",
"usdcBalance": "2000000",
"isDeployed": true
}
],
"claimedDateUtc": "2024-03-20T10:30:00Z",
"claimedType": "DIRECT",
"claimed": true,
"website": "https://www.redcross.org"
}
]Query Parameters
Comma-separated list of US state codes to filter organizations by. Possible values: AL, AK, AZ, AR, CA, CO, CT, DE, DC, FL, GA, HI, ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, OR, PA, RI, SC, SD, TN, TX, UT, VT, VA, WA, WV, WI, WY
Example:
"CA,NY,TX"
Response
200 - application/json
List of organizations matching the search criteria
Was this page helpful?