POST /api/propublica_nonprofit/organizations
Price: 1 credit
Profile of a US tax-exempt organization by EIN: registration and IRS classification details, headline financial figures, and its whole Form 990 filing history with the extracted line items.
Pass an EIN in either form — 941340523 or 94-1340523 both resolve. No separate call is needed for the filing history: `filings` carries one entry per electronically filed return with the extracted IRS line items under `line_items` (raw IRS 990 variable names, and the set differs by form type), while `filings_without_data` lists older returns the source holds only as a scanned PDF. Every `pdf_url` points at ProPublica's own download page, which is behind a bot check and answers 403 to a programmatic fetch — treat it as a link to hand a human, not as a file you can retrieve. On `filings` the source states only the form family, so `form_family` reads 990 for a 990, a 990-R and a 990-O alike, while the exact form name is given only on `filings_without_data`. If you hold a name rather than an EIN, resolve it through propublica_nonprofit/organizations/search first.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)ein string required — Employer Identification Number of the organization, with or without the hyphen (examples: "941340523", "94-1340523"; minLength: 1)@type string (default: "PropublicaNonprofitOrganization")ein string requiredname string requiredurl string requiredsort_name string nullablecare_of_name string nullableaddress string nullablecity string nullablestate string nullablezipcode string nullablentee_code string nullablesubsection_code integer nullableclassification_codes string nullableactivity_codes string nullableaffiliation_code integer nullablefoundation_code integer nullableorganization_code integer nullabledeductibility_code integer nullableexempt_organization_status_code integer nullableexemption_number integer nullablefiling_requirement_code integer nullablepf_filing_requirement_code integer nullableasset_code integer nullableincome_code integer nullableaccounting_period integer nullableasset_amount number nullableincome_amount number nullablerevenue_amount number nullableruling_date string nullabletax_period_date string nullablelatest_object_id string nullableirs_data_source string nullablecreated_at integer nullableupdated_at integer nullablefilings array (default: [])@type string (default: "PropublicaNonprofitFiling")tax_period string requiredtax_year integer nullableform_family string nullableform_type_code integer nullablepdf_url string nullableupdated_at integer nullabletotal_revenue number nullabletotal_functional_expenses number nullabletotal_assets_end number nullabletotal_liabilities_end number nullableofficer_compensation_share number nullableline_items object (default: {})* unionfilings_without_data array (default: [])@type string (default: "PropublicaNonprofitFilingStub")tax_period string requiredtax_year integer nullableform_type string nullableform_type_code integer nullablepdf_url string nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — No organization is registered under that EIN Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.