curl --request GET \
--url https://api.dev.endaoment.org/v1/orgs/ein/{ein}/subprojectsimport requests
url = "https://api.dev.endaoment.org/v1/orgs/ein/{ein}/subprojects"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.dev.endaoment.org/v1/orgs/ein/{ein}/subprojects', 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.dev.endaoment.org/v1/orgs/ein/{ein}/subprojects",
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.dev.endaoment.org/v1/orgs/ein/{ein}/subprojects"
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.dev.endaoment.org/v1/orgs/ein/{ein}/subprojects")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.endaoment.org/v1/orgs/ein/{ein}/subprojects")
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",
"sponsorOrgId": "123e4567-e89b-12d3-a456-426614174000",
"sponsorOrgEin": "123456789",
"ein": "123456789",
"name": "Education Initiative",
"description": "Supporting educational programs in underserved communities",
"website": "https://example.org/initiative",
"logo": "https://example.org/images/logo.png",
"nteeCode": "E91",
"nteeDescription": "Nursing, Convalescent (Geriatric and Nursing)",
"featuredIndex": 100,
"lifetimeContributionsUsdc": "1000000"
}
]List organization subprojects
Returns visible subprojects sponsored by the organization matching the provided EIN.
curl --request GET \
--url https://api.dev.endaoment.org/v1/orgs/ein/{ein}/subprojectsimport requests
url = "https://api.dev.endaoment.org/v1/orgs/ein/{ein}/subprojects"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.dev.endaoment.org/v1/orgs/ein/{ein}/subprojects', 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.dev.endaoment.org/v1/orgs/ein/{ein}/subprojects",
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.dev.endaoment.org/v1/orgs/ein/{ein}/subprojects"
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.dev.endaoment.org/v1/orgs/ein/{ein}/subprojects")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.endaoment.org/v1/orgs/ein/{ein}/subprojects")
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",
"sponsorOrgId": "123e4567-e89b-12d3-a456-426614174000",
"sponsorOrgEin": "123456789",
"ein": "123456789",
"name": "Education Initiative",
"description": "Supporting educational programs in underserved communities",
"website": "https://example.org/initiative",
"logo": "https://example.org/images/logo.png",
"nteeCode": "E91",
"nteeDescription": "Nursing, Convalescent (Geriatric and Nursing)",
"featuredIndex": 100,
"lifetimeContributionsUsdc": "1000000"
}
]Path Parameters
Sponsor organization EIN, with or without hyphen.
"530196605"
Response
Subprojects sponsored by the organization
Unique identifier of the subproject
"123e4567-e89b-12d3-a456-426614174000"
Unique identifier of the sponsoring organization
"123e4567-e89b-12d3-a456-426614174000"
Employer Identification Number (EIN) of the sponsoring organization
"123456789"
IRS Identifier for the subproject (without hyphen)
"123456789"
Name of the subproject
"Education Initiative"
Detailed description of the subproject
"Supporting educational programs in underserved communities"
Website URL of the subproject
"https://example.org/initiative"
URL of the subproject logo image
"https://example.org/images/logo.png"
NTEE (National Taxonomy of Exempt Entities) Code
"E91"
Full text description of the NTEE code
"Nursing, Convalescent (Geriatric and Nursing)"
Display order index (higher values appear first)
100
Total lifetime contributions to this subproject in USDC, in the smallest currency unit (1000000 = 1 USD)
"1000000"
Was this page helpful?