Metadata & Codes

Metadata routes expose the IRS and CharityQuery code definitions used throughout the API. Use them to understand coded fields, build dropdowns, validate filter values, and interpret enriched response objects.

How metadata is used
Metadata routes help developers build reliable filters and readable interfaces.
  • Populate selects, dropdowns, comboboxes, and filter menus.
  • Look up valid values before sending metadata-validated filters.
  • Understand enriched fields such as ntee_code, deductibility, and geocode_status.
  • Cache metadata in your own application when values are used frequently.

Metadata requests do not count against your daily request limit.

Metadata key
A broad reference for coded fields used throughout CharityQuery.
GET /metadata/charity-key

This route is primarily a reference. It does not validate requests, but it helps explain the coded fields available in the API.

fieldlabeldescription
einEmployer Identification NumberA nine-digit number assigned by the IRS to identify a particular organization's account.
namePrimary Name of OrganizationLegal non-profit name.
icoIn Care Of NamePerson (officer, director, etc.) to whose attention any correspondence should be directed.
streetStreet AddressStreet address of the organization.
cityCityCity where the organization is located.
stateStateState where the organization is located.
zipZip CodePostal code of the organization.
groupGroup Exemption NumberA four-digit internal number assigned to central or parent organizations holding group exemption letters.
subsectionSubsection CodeCodes shown under section 501(c) of the Internal Revenue Code of 1986 that define the category under which an organization may be exempt.
affiliationAffiliation CodeDefines the organizational grouping.
classificationClassification CodeCodes under section 501(c) defining the classification of the organization within a subsection.
rulingRuling DateMonth and year (YYYYMM) on the ruling or determination letter recognizing the organization's exempt status.
deductibilityDeductibility CodeSignifies whether contributions made to the organization are deductible.
foundationFoundation CodeCodes that differentiate between private foundations and public charities.
activityActivity CodesDeprecated with the adoption of the National Taxonomy of Exempt Entities (NTEE) coding system in January 1995. Previously three activity codes (AAABBBCCC) described the organization's cause.
organizationOrganization CodeIndicates the legal structure of the nonprofit organization.
statusExempt Organization Status CodeDefines the type of exemption held by the organization.
tax_periodTax PeriodTax period of the latest return filed (YYYYMM).
filing_req_codeFiling Requirement CodeIndicates the primary return(s) the organization is required to file.
pf_filing_req_codePrivate Foundation Filing Requirement CodeIndicates the primary return(s) the organization is required to file for private foundations.
account_paidAccounting PeriodDesignates the accounting period or fiscal year ending month (MM) of the organization.
asset_amountAsset AmountTotal assets from the most recent Form 990 series return filed by the organization.
income_amountIncome AmountTotal income from the most recent Form 990 series return filed by the organization.
revenue_amountRevenue AmountTotal revenue from the most recent Form 990 series return.
ntee_codeNational Taxonomy of Exempt Entities (NTEE) CodeCode used to classify an exempt organization based on its primary exempt activity.
ntee_groupNational Taxonomy of Exempt Entities (NTEE) General GroupA modifier used to describe activities in support of nonprofit organizations
geocode_statusIndicates how a charity's geographic coordinates were determinedCharities may have either physical addresses or P.O. Boxes. Physical addresses are processed through the U.S. Census geocoder to obtain latitude and longitude. In some cases, an exact match is not possible, and fallback methods such as ZIP code centroids are used. The geocode_status value indicates how the coordinates were obtained and the level of accuracy for each record.
Fields with metadata routes
These fields have dedicated metadata endpoints.

These routes are especially useful when building UI filters. They let your application show readable labels while sending valid API values.

Subsection and classification are a special case and should be handled as a paired value.

keytypemetadataRoute
subsectionstring/metadata/subsection-classification-codes
classificationstring/metadata/subsection-classification-codes
ntee_codestring/metadata/ntee-codes
ntee_groupstring/metadata/ntee-groups
account_paidstring/metadata/account-paid-codes
pf_filing_req_codestring/metadata/pf-required-codes
filing_req_codestring/metadata/filing-required-codes
organizationstring/metadata/organization-codes
statusstring/metadata/status-codes
affiliationstring/metadata/affiliation-codes
deductibilitystring/metadata/deductibility-codes
foundationstring/metadata/foundation-codes
Recommended usage
Use metadata as a reference layer for your application.
  • Fetch metadata during development to understand available codes.
  • Use metadata endpoints to power user-facing filters.
  • Store returned JSON locally when your application uses it often.
  • Refresh periodically if you want updated definitions.
  • Use metadata definitions to explain enriched API responses.
Next steps
Learn how metadata connects to filters and response fields.