Nih Search Projects
nih_search_projectsSearch NIH RePORTER for federally funded research projects using filters like keyword, PI, agency, activity code, fiscal year, and award amount.
Instructions
Search the NIH RePORTER database for federally funded research projects.
NIH RePORTER (Research Portfolio Online Reporting Tools) provides access to data on all research projects funded by the National Institutes of Health. This includes grants, contracts, and intramural projects across all 27 NIH institutes and centers.
Text search supports multi-word queries. With text_operator="and" (default), all words must appear in the searched fields. With "or", any word matching is sufficient. Wrap phrases in quotes for exact phrase matching within the text parameter.
Multiple criteria are combined with AND logic (e.g., text + agency narrows results to projects matching both). Within list parameters like agencies or activity_codes, values use OR logic.
Common activity codes: R01 - Research Project Grant (most common) R21 - Exploratory/Developmental Research R03 - Small Research Grant P01 - Program Project Grant U01 - Research Project Cooperative Agreement K01 - Mentored Research Scientist Career Development K08 - Mentored Clinical Scientist Career Development K23 - Mentored Patient-Oriented Research Career Development T32 - Institutional Training Grant F31 - Predoctoral Fellowship F32 - Postdoctoral Fellowship
Common agency abbreviations: NCI (Cancer), NIMH (Mental Health), NIGMS (General Medical Sciences), NIAID (Allergy/Infectious Diseases), NHLBI (Heart/Lung/Blood), NIA (Aging), NINDS (Neurological Disorders), NIDA (Drug Abuse), NICHD (Child Health), NIDDK (Diabetes/Digestive/Kidney)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Free-text search across project titles, abstracts, and terms. Supports multi-word queries; word matching is controlled by text_operator. | |
| limit | No | Maximum number of results to return (1-50). | |
| offset | No | Starting index for pagination. Use with search_id to page through results. | |
| states | No | US state abbreviations for organization location. Example: ["CA", "MA", "NY"]. | |
| pi_name | No | Principal Investigator name. Use "Last, First" for exact matching or a single name for broad matching. Partial names are supported (implicitly wildcarded). | |
| sort_by | No | Sort order for results. 'relevance' ranks by text match quality (best with text searches), 'date' by project start date descending, 'amount' by award amount descending. | relevance |
| agencies | No | NIH institute/center abbreviations. Examples: NCI, NIMH, NIGMS, NIAID, NHLBI, NIA, NINDS, NIDA, NICHD, NIDDK, NEI, NIBIB, NIEHS, NHGRI, NCATS, FIC, NLM, NCCIH. | |
| search_id | No | Reuse a previous search_id to page through an existing result set without re-specifying criteria. Returned in every search response. | |
| text_fields | No | Which text fields to search. 'all' searches titles, abstracts, and terms. 'title', 'abstract', or 'terms' restricts to that single field. | all |
| detail_level | No | 'summary' returns key fields (title, PI, org, amount, dates). 'full' returns all available fields including abstracts. | summary |
| fiscal_years | No | Fiscal years to include. NIH fiscal year runs Oct 1 - Sep 30. Example: [2024, 2025]. | |
| organization | No | Research organization name (implicitly wildcarded). Example: "Johns" matches "Johns Hopkins University". | |
| text_operator | No | How multi-word text queries are combined. "and" requires all words to appear (default), "or" matches any word. | and |
| activity_codes | No | NIH activity codes to filter by. Common codes: R01 (Research Project), R21 (Exploratory), R03 (Small Grant), P01 (Program Project), U01 (Cooperative Agreement), K01/K08/K23 (Career Development), T32 (Training Grant), F31/F32 (Fellowship). | |
| award_amount_max | No | Maximum award amount in dollars. | |
| award_amount_min | No | Minimum award amount in dollars. | |
| funding_mechanism | No | Funding mechanism codes: RP (Research Projects), SB (SBIR/STTR), RC (Research Centers), OR (Other Research), TR (Training Individual), TI (Training Institutional), CO (Construction). | |
| exclude_subprojects | No | Exclude subprojects from results. Usually True to avoid duplicate counting of large program projects. | |
| include_active_only | No | When True, only return currently active projects. | |
| project_start_after | No | Filter to projects starting on or after this date. Format: YYYY-MM-DD. | |
| spending_categories | No | RCDC spending category IDs (OR logic). Common IDs: 132 (Cancer), 140 (Cardiovascular), 224 (Diabetes), 284 (HIV/AIDS), 338 (Infectious Diseases), 443 (Mental Health), 525 (Neurosciences), 4372 (Machine Learning/AI), 4531 (Data Science). | |
| project_start_before | No | Filter to projects starting on or before this date. Format: YYYY-MM-DD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||