Queries
filingType
filingType
Response
Returns MetaDataOfMiscCode!
foundationType
foundationType
Response
Returns MetaDataOfMiscCode!
geoChildren
geoChildren
Response
Returns MetaDataOfGeoChild!
geoSearch
geoSearch
Response
Returns MetaDataOfGeoData!
Example
Query
query geoSearch(
$searchTerms: String!,
$parentId: Int,
$parentLevel: GeoLevel,
$geoLevel: GeoLevel,
$limit: Int
) {
geoSearch(
searchTerms: $searchTerms,
parentId: $parentId,
parentLevel: $parentLevel,
geoLevel: $geoLevel,
limit: $limit
) {
meta {
...MetaFragment
}
data {
...GeoDataFragment
}
}
}
msa
msa
Response
Returns MetaDataOfMiscCode!
nteeMajor
nteeMajor
Response
Returns MetaDataOfNteeMiscCode!
nteeMinor
nteeMinor
Response
Returns MetaDataOfNteeMiscCode!
subsection
subsection
Response
Returns MetaDataOfMiscCode!
termsByCode
termsByCode
Response
Returns MetaDataOfTerm!
Arguments
| Name | Description |
|---|---|
pcsCodes - [PCSCodeInput!] | Search query |
termsByFacet
termsByFacet
Response
Returns MetaDataOfTerm!
Arguments
| Name | Description |
|---|---|
facet - FacetType! | Search query |
termsByMatch
termsByMatch
Response
Returns MetaDataOfTerm!
Arguments
| Name | Description |
|---|---|
match - MatchInput | Search query |
termsByName
termsByName
Response
Returns MetaDataOfTerm!
Arguments
| Name | Description |
|---|---|
pcsNames - [PCSNameInput!] | Search query |
Types
AdministrativeArea
CountryLevel
FacetType
Values
| Enum Value | Description |
|---|---|
| Describes what is being supported – grantmaker areas of focus, primary work of nonprofits and activities being funded |
| Describes who is being supported - details characteristics (age, sex, race/ethnic heritage, etc.) of the population(s) being targeted as the intended beneficiary of support and services being provided |
| Describes how an organization is providing or receiving support |
| Describes what type of organization is providing or receiving support |
| Describes how the goals of a program or grant are being implemented or supported |
GeoChild
Fields
| Field Name | Description |
|---|---|
id - Int! | Geoname ID |
name - String! | Geography Name |
displayName - String! | Geoname Display Name |
geoLevel - GeoLevel! | Level for the geography |
admin1Code - String! | First administrative unit code |
GeoData
Fields
| Field Name | Description |
|---|---|
id - Int! | Geography ID |
name - String! | Geography Name |
displayName - String! | Geography Display Name |
countryCode - String! | Country Code |
geoLevel - GeoLevel! | Level for the Geography |
country - CountryLevel! | Country Details |
admin1 - AdministrativeArea! | State or Province Details |
admin2 - AdministrativeArea | County Details |
GeoLevel
MatchInput
Meta
MetaDataOfGeoChild
Fields
| Field Name | Description |
|---|---|
meta - Meta! | Array of Metadata for Term Search. |
data - [GeoChild!]! | Array of Response Data. |
MetaDataOfGeoData
Fields
| Field Name | Description |
|---|---|
meta - Meta! | Array of Metadata for Term Search. |
data - [GeoData!]! | Array of Response Data. |
MetaDataOfMiscCode
Fields
| Field Name | Description |
|---|---|
meta - Meta! | Array of Metadata for Term Search. |
data - [MiscCode!]! | Array of Response Data. |
MetaDataOfNteeMiscCode
Fields
| Field Name | Description |
|---|---|
meta - Meta! | Array of Metadata for Term Search. |
data - [NteeMiscCode!]! | Array of Response Data. |
MetaDataOfTerm
MiscCode
NteeMiscCode
Fields
| Field Name | Description |
|---|---|
pcsCrosswalk - PcsCrosswalk | NTEE to PCS crosswalk value. |
key - String! | Value of Key |
value - String! | Description of Organization |
searchValue - String! | Search Value |
type - String! | Type of Organization |
PCSCodeInput
Fields
| Input Field | Description |
|---|---|
code - String! | PCS code |
facet - FacetType | PCS facet to be searched |
PCSNameInput
Fields
| Input Field | Description |
|---|---|
name - String! | PCS name |
facet - FacetType | PCS facet to be searched |
PcsCrosswalk
Term
Fields
| Field Name | Description |
|---|---|
facet - FacetType! | The taxonomy or PCS facet of the term. |
name - String! | The name of the term. |
code - String! | The code of the term. |
searchValue - String! | The code of the term to be used in some search values. |
description - String! | The description of the term. |
parents - [Term!]! | The parent terms of the term queried. |
children - [Term!]! | The child terms of the term queried. |
hasChildren - Boolean! | Indicates that the current term has a children terms. |
depth - Int! | Indicates the number of parent levels the current term has. |