NIH RePORTER Scraper: how to get Research Grants by Query as JSON/CSV (API, Python, no code)
Pull recent NIH research grants from RePORTER. This guide shows the output fields, a working input, and
Python, JavaScript and cURL code for the Actor v0iddo/nih-reporter-grants on Apify.
Open NIH RePORTER Scraper on Apify
What data you get
One row per result. Every row can be downloaded as JSON, CSV, Excel or HTML, or read through the API.
| Field | Label | Type | Example |
|---|---|---|---|
applId | Appl Id | number | 11447550 |
projectNum | Project Num | text | 1R01AG097729-01A1 |
projectTitle | Project Title | text | Statistical Approaches for Data Harmonization for PET Imaging Studi... |
fiscalYear | Fiscal Year | number | 2026 |
activityCode | Activity Code | text | R01 |
awardType | Award Type | text | 1 |
awardAmount | Award Amount | number | 1418192 |
isActive | Is Active | true/false | true |
projectStartDate | Project Start Date | date | 2026-09-30T00:00:00 |
projectEndDate | Project End Date | date | 2031-08-31T00:00:00 |
organizationName | Organization Name | text | UNIVERSITY OF PITTSBURGH AT PITTSBURGH |
organizationCity | Organization City | text | PITTSBURGH |
organizationState | text | PA | |
organizationCountry | text | UNITED STATES | |
organizationUei | text | MKAGLD59JRL1 | |
fundingAgencyCode | text | AG | |
fundingAgencyAbbreviation | text | NIA | |
fundingAgencyName | text | National Institute on Aging | |
totalCostByIc | list | [{"ic": "NIA", "totalCost": 1418192}] | |
opportunityNumber | text | PAR-25-065 | |
congressionalDistrict | text | PA-12 | |
abstract | text | PROJECT ABSTRACT This project focuses on the development of statist... | |
reporterUrl | text | https://reporter.nih.gov/project-details/11447550 |
Input example
This is the input that is pre-filled on the Actor page. Change the values for your own run.
{
"maxResults": 20
}
| Input field | Type | What it does |
|---|---|---|
fiscalYears | array | NIH fiscal years to include. |
activityCodes | array | Grant mechanism codes. R01 = standard research, R21 = exploratory, K99 = early-career, U01 = cooperative, P50 = center. |
agencies | array | NIH IC codes: NCI (Cancer), NIAID (Allergy/Infectious), NIMH (Mental Health), NHLBI (Heart/Lung/Blood), NIA (Aging), NIDDK (Diabetes/Digestive/Kidney). |
textSearch | string | Search across project title, abstract, terms. |
organizationStates | array | Filter by recipient organization's US state. |
principalInvestigators | array | Investigator names as RePORTER lists them: last name first, or the full name. |
sinceProjectStartDays | integer | Filter to projects with projectstartdate >= now-N. |
maxResults | integer | Hard cap. RePORTER caps offset+limit at ~14000. |
Output sample
Real rows from a run of the Actor. Fields that name people are left out of the sample.
[
{
"applId": 11447550,
"projectNum": "1R01AG097729-01A1",
"projectTitle": "Statistical Approaches for Data Harmonization for PET Imaging Studies of Alzheimer's Disease",
"fiscalYear": 2026,
"activityCode": "R01",
"awardType": "1",
"awardAmount": 1418192,
"isActive": true,
"projectStartDate": "2026-09-30T00:00:00",
"projectEndDate": "2031-08-31T00:00:00",
"organizationName": "UNIVERSITY OF PITTSBURGH AT PITTSBURGH",
"organizationCity": "PITTSBURGH",
"organizationState": "PA",
"organizationCountry": "UNITED STATES",
"organizationUei": "MKAGLD59JRL1",
"fundingAgencyCode": "AG",
"fundingAgencyAbbreviation": "NIA",
"fundingAgencyName": "National Institute on Aging",
"totalCostByIc": [
{
"ic": "NIA",
"totalCost": 1418192
}
],
"opportunityNumber": "PAR-25-065",
"congressionalDistrict": "PA-12",
"abstract": "PROJECT ABSTRACT\nThis project focuses on the development of statistical methods for data harmonization of amyloid and tau PET\nneuroimagin...",
"reporterUrl": "https://reporter.nih.gov/project-details/11447550"
},
{
"applId": 11485475,
"projectNum": "1R01AI204107-01",
"projectTitle": "Quantifying Pollen Allergens with DNA Metabarcoding",
"fiscalYear": 2026,
"activityCode": "R01",
"awardType": "1",
"awardAmount": 378758,
"isActive": true,
"projectStartDate": "2026-09-30T00:00:00",
"projectEndDate": "2031-08-31T00:00:00",
"organizationName": "UNIVERSITY OF WASHINGTON",
"organizationCity": "SEATTLE",
"organizationState": "WA",
"organizationCountry": "UNITED STATES",
"organizationUei": "HD1WMN6945W6",
"fundingAgencyAbbreviation": "NIAID",
"fundingAgencyName": "National Institute of Allergy and Infectious Diseases",
"totalCostByIc": [
{
"ic": "NIAID",
"totalCost": 378758
}
],
"opportunityNumber": "PA-25-301",
"congressionalDistrict": "WA-07",
"abstract": "PROJECT SUMMARY\n Pollen allergy incurs a substantial burden of disease in the US, resulting in millions of lost work\nand school days and...",
"reporterUrl": "https://reporter.nih.gov/project-details/11485475"
}
]
Code: Python, JavaScript and cURL
Get your API token in Apify Console under Settings, then Integrations. The Actor id is v0iddo/nih-reporter-grants.
Python (apify-client)
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run_input = {'maxResults': 20}
run = client.actor("v0iddo/nih-reporter-grants").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)
JavaScript (apify-client)
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const input = {
"maxResults": 20
};
const run = await client.actor('v0iddo/nih-reporter-grants').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
cURL
curl -X POST "https://api.apify.com/v2/acts/v0iddo~nih-reporter-grants/run-sync-get-dataset-items" \
-H "Authorization: Bearer YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"maxResults": 20}'
Price
$3.00 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $2.10 per 1,000. See the pricing tab for your plan. A new Apify account gets $5 of platform credit every month.
FAQ
What data does the NIH RePORTER Scraper return?
Each result is one row in an Apify dataset. Fields include applId, projectNum, projectTitle, fiscalYear, activityCode, awardType, awardAmount, isActive, and more. The table above shows every field with an example value.
How do I use the NIH RePORTER Scraper from Python?
Install the apify-client package, create a client with your Apify API token, call the Actor v0iddo/nih-reporter-grants with an input like the one above, and read the rows from the run's dataset. The Python snippet above does exactly that.
Can I use it without writing code?
Yes. Open the Actor page on Apify, fill in the input form (an example is already filled in), press Start, and download the results as JSON, CSV, Excel or HTML. You can also schedule runs there.
How much does it cost?
$3.00 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $2.10 per 1,000. A new Apify account gets $5 of platform credit every month.
How do I limit the number of results?
Set the maxResults input field to the number of results you need; the run stops there, so it also caps the cost of one run. You can also set a maximum cost for a run in the run options on Apify, and the run stops when it is reached.
Can I send the results to Google Sheets, Make, Zapier or n8n?
Yes. Apify datasets connect to Google Sheets, Slack, Make, Zapier and n8n, and a webhook can call your own service when a run finishes. You can also export the dataset as JSON, CSV or Excel.
Open NIH RePORTER Scraper on Apify
Related guides
- Currency exchange rates (ECB): Latest and historical euro foreign exchange reference rates from the European Central Bank, with conversion...
- Yahoo Finance Scraper: Scrape Yahoo Finance quotes and key statistics for stocks, ETFs, indexes, crypto, currencies and futures: p...
- Steam game reviews scraper: Scrape Steam player reviews by App ID.