# NIH RePORTER Scraper \[$1.50/1K 💰] | Grant Data (`ahmed_jasarevic/nih-scraper`) Actor

Scrape NIH RePORTER grants and publications: titles, abstracts, PIs, organizations, funding, award amounts, study sections and COVID-19 flags. $1.50 per 1,000.

- **URL**: https://apify.com/ahmed_jasarevic/nih-scraper.md
- **Developed by:** [Ahmed Jasarevic](https://apify.com/ahmed_jasarevic) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## NIH RePORTER Scraper – US Grant & Funding Data

Collect NIH-funded research projects and linked publications from **NIH RePORTER**. Get project numbers, titles, abstracts, principal investigators, organizations, funding institutes, award amounts, direct and indirect costs, study sections, spending categories, project dates, COVID-19 flags and publication PMIDs. **$1.50 per 1,000 records.**

### NIH Funding Intelligence

NIH RePORTER is the official public database of awards made by the National Institutes of Health. This Actor turns those records into structured funding data for university research offices, biotech business-development teams, grant writers, policy analysts, competitive-intelligence groups and AI dataset builders.

- **Funding discovery** — find awards by institute, activity code, organization or topic.
- **Academic partnerships** — identify well-funded labs and principal investigators.
- **Market research** — map research spend across institutions and disease areas.
- **Grant strategy** — study funded proposals, study sections and funding mechanisms.
- **AI datasets** — build structured research-funding corpora.

### How It Works

![How the NIH RePORTER Scraper works: filter NIH projects by institute, organization, person or topic and save award, organization and publication data.](https://api.apify.com/v2/key-value-stores/oeuA0kLOyhbRM4fzt/records/how-it-works-nih-scraper.webp)

Choose a search mode, add criteria such as fiscal year, organization, funding institute or activity code, and set the number of pages to collect. The Actor writes project records or publication links to the default dataset.

- Search funded projects or linked publications.
- Filter by year, institute, organization, PI, activity code and topic.
- Sort by award amount, start date or application ID.
- Select only the fields you need.
- Free users get a 100-record preview.

### Search Modes

- **Projects** — search NIH awards with criteria such as fiscal years, agencies, activity codes, organizations, principal investigators, project numbers, award ranges, dates, congressional districts and full-text terms.
- **Publications** — find PubMed-linked publications by PMID, application ID or core project number.

Common project criteria include `fiscal_years`, `include_active_projects`, `org_names`, `org_states`, `pi_names`, `project_nums`, `agencies`, `activity_codes`, `award_types`, `funding_mechanism`, `covid_response`, `project_start_date`, `project_end_date`, `award_amount_range`, `opportunity_numbers`, `cong_dists` and `advanced_text_search`.

### Project Fields

Project records include application and project identifiers, fiscal year, title, abstract, public-health relevance, RCDC terms, contact PI, principal investigators, program officers, organization details, congressional district, activity and application codes, funding institutes, award amount, direct and indirect costs, notice and budget dates, funding mechanism, opportunity number, CFDA code, ARRA indicator, COVID-19 response, study section and spending categories.

Publication records include `coreproject`, `pmid` and `applid`.

### Input – Configure An NIH Run

| Field | Type | Default | Notes |
|---|---|---|---|
| `mode` | string | `projects` | `projects` or `publications` |
| `criteria` | object | `{}` | Project filters such as fiscal years, agencies and organizations |
| `publication_criteria` | object | `{}` | PMIDs, application IDs or core project numbers |
| `include_fields` | array | `[]` | Return only listed fields; empty returns all |
| `exclude_fields` | array | `[]` | Remove listed fields |
| `limit` | integer | `50` | Records per page, up to 500 |
| `max_pages` | integer | `10` | Maximum pages; `0` means no page cap |
| `offset` | integer | `0` | Starting record offset, up to 14,999 |
| `sort_field` | string | — | For example `project_start_date`, `award_amount` or `appl_id` |
| `sort_order` | string | `desc` | `asc` or `desc` |
| `proxy` | object | Off | Optional connection settings |

### Output – Project Fields

- **Identifiers** — `appl_id`, `subproject_id`, `fiscal_year`, `project_num`, `core_project_num`
- **Project** — `project_title`, `abstract_text`, `public_health_relevance`, `rcdc_terms`
- **People** — `contact_pi_name`, `principal_investigators`, `program_officers`
- **Organization** — `organization` with `org_name`, `org_city`, `org_state`, `org_state_name`, `org_zipcode`, `org_country`, `org_department`, `dept_type`, `org_duns`, `org_ueis`, `primary_duns`, `primary_uei`, `org_fips`, `org_ipf_code`, `external_org_id`
- **Location** — `congressional_district`
- **Award** — `activity_code`, `application_type_code`, `serial_number`, `support_year`, `suffix_code`, `funding_ics`, `award_amount`, `direct_cost_amt`, `indirect_cost_amt`, `award_notice_date`, `project_start_date`, `project_end_date`, `budget_start_date`, `budget_end_date`, `funding_mechanism`, `opportunity_number`, `cfda_code`, `arra_indicator`
- **COVID-19** — `covid_response`
- **Study section** — `full_study_section`
- **Categories** — `spending_categories`

### Example Input – NCI R01 Awards Above $1M

```json
{
  "mode": "projects",
  "criteria": {
    "fiscal_years": [2024],
    "agencies": ["NCI"],
    "activity_codes": ["R01"],
    "award_amount_range": { "min_amount": 1000000 }
  },
  "limit": 100,
  "max_pages": 5,
  "sort_field": "award_amount",
  "sort_order": "desc"
}
```

### Example Output – One NIH Project

```json
{
  "appl_id": 10987654,
  "subproject_id": null,
  "fiscal_year": 2024,
  "project_num": "5R01CA123456-05",
  "core_project_num": "5R01CA123456",
  "project_title": "Targeted Therapy for Resistant Solid Tumors",
  "abstract_text": "This project evaluates a targeted treatment approach for resistant solid tumors.",
  "contact_pi_name": "DOE, JANE A",
  "principal_investigators": [
    { "full_name": "DOE, JANE A", "first_name": "JANE", "last_name": "DOE" }
  ],
  "organization": {
    "org_name": "EXAMPLE UNIVERSITY",
    "org_city": "BOSTON",
    "org_state": "MA",
    "org_state_name": "MASSACHUSETTS",
    "org_zipcode": "02115",
    "org_country": "UNITED STATES",
    "org_department": "MEDICINE",
    "dept_type": "SCHOOLS OF MEDICINE",
    "org_duns": [],
    "org_ueis": [],
    "primary_duns": "",
    "primary_uei": "",
    "org_fips": "25025",
    "org_ipf_code": "",
    "external_org_id": 123456
  },
  "congressional_district": "MA-007",
  "activity_code": "R01",
  "application_type_code": "5",
  "support_year": "05",
  "funding_ics": ["NCI"],
  "award_amount": 1250000,
  "direct_cost_amt": 900000,
  "indirect_cost_amt": 350000,
  "award_notice_date": "2024-08-01",
  "project_start_date": "2024-09-01",
  "project_end_date": "2029-08-31",
  "funding_mechanism": "RP",
  "opportunity_number": "PA-23-123",
  "covid_response": [],
  "spending_categories": [
    { "category_id": 101, "name": "Cancer" }
  ]
}
```

### Export Awards And Schedule Updates

Download JSON, CSV, Excel or HTML from Apify Console, or send results to Google Sheets, Airtable, BigQuery, Make, Zapier, n8n or a webhook. Schedule monthly runs to track new awards, funding changes and linked publications.

### Related Actors

- [ClinicalTrials.gov Scraper](https://apify.com/ahmed_jasarevic/clinicaltrials-scraper) — add clinical study records
- [EU Clinical Trials Register Scraper](https://apify.com/ahmed_jasarevic/eu-scraper) — add European trial data
- [Charity Navigator Scraper](https://apify.com/ahmed_jasarevic/charitynavigator-scraper) — add nonprofit profiles
- [Medical Scraper](https://apify.com/ahmed_jasarevic/medical-scraper) — add medical reference data

### FAQ

#### What is NIH RePORTER?

NIH RePORTER is the public database of research awards funded by the National Institutes of Health.

#### Can I search publications?

Yes. Set `mode` to `publications` and use `pmids`, `appl_ids` or `core_project_nums` in `publication_criteria`.

#### Why are some fields empty?

NIH records vary by award. Fields such as `subproject_id`, `suffix_code` and `congressional_district` may be `null` or empty for some projects.

#### How deep can pagination go?

`offset` supports up to 14,999. For very large result sets, narrow the criteria or split by fiscal year.

#### How many records can one run return?

`limit` defaults to 50 per page and `max_pages` defaults to 10. Free users get a 100-record preview.

#### How much does it cost?

FREE and BRONZE users pay **$0.0015 per record** ($1.50 per 1,000). SILVER and GOLD+ pay **$0.0014** ($1.40 per 1,000), plus a small Actor Start event.

### For AI Agents & LLM Apps

Returns one row per NIH project or publication with identifiers, people, organization, award amounts, dates, study section and categories.

Minimal working input:

```json
{ "mode": "projects", "criteria": { "fiscal_years": [2024], "agencies": ["NCI"] }, "limit": 50, "max_pages": 1 }
```

Output fields: `appl_id, subproject_id, fiscal_year, project_num, core_project_num, project_title, abstract_text, public_health_relevance, rcdc_terms, contact_pi_name, principal_investigators, program_officers, organization, congressional_district, activity_code, application_type_code, serial_number, support_year, suffix_code, funding_ics, award_amount, direct_cost_amt, indirect_cost_amt, award_notice_date, project_start_date, project_end_date, budget_start_date, budget_end_date, funding_mechanism, opportunity_number, cfda_code, arra_indicator, covid_response, full_study_section, spending_categories`.

Publication mode fields: `coreproject, pmid, applid`.

Behaviors an agent should know:

- `mode` defaults to `projects`.
- `organization` is a nested object, not a flat list of org fields.
- `award_amount` and cost fields are numbers when reported.
- `principal_investigators` and `program_officers` are arrays of objects.
- Free users get a 100-record preview.

Billing: **$0.0015 per record** on FREE/BRONZE ($1.50 per 1,000) and $0.0014 on SILVER+ ($1.40 per 1,000), plus a small Actor Start event.

### Legal & Compliance Disclaimer

This Actor is an independent tool. It is not affiliated with, endorsed by or sponsored by the National Institutes of Health or the U.S. Department of Health and Human Services.

It collects publicly available grant and publication metadata. Award amounts and project details can be revised without notice. Users are responsible for complying with NIH terms and applicable data-protection rules.

### SEO Keywords

nih scraper, nih reporter, nih grant data, research funding data, nih awards, grant data, principal investigator data, research grants, nih funding, biomedical research data, grant search, funding dataset, research organization data, nih project data, grant amounts, research spend data, life science funding, nih reporter api

# Actor input Schema

## `mode` (type: `string`):

Choose the search endpoint to use.

## `criteria` (type: `object`):

Search criteria for filtering projects. See NIH RePORTER API documentation for all available fields.

## `publication_criteria` (type: `object`):

Criteria for publication search (used when mode is 'publications').

## `include_fields` (type: `array`):

Specific fields to return (limits data transfer). If empty, returns all fields. Example: \["ApplId", "ProjectNum", "ProjectTitle", "ContactPiName", "Organization", "AwardAmount", "DirectCostAmt", "IndirectCostAmt", "ProjectStartDate", "ProjectEndDate", "FullStudySection", "CongressionalDistrict", "CovidResponse", "AbstractText"]

## `exclude_fields` (type: `array`):

Fields to exclude from results.

## `limit` (type: `integer`):

Number of records per request (max 500).

## `max_pages` (type: `integer`):

Maximum number of pages to retrieve (0 = unlimited, up to API max). Each page = 'limit' records.

## `offset` (type: `integer`):

Starting record offset for pagination (max 14,999).

## `sort_field` (type: `string`):

Field to sort by (e.g., 'project_start_date', 'award_amount', 'appl_id').

## `sort_order` (type: `string`):

Sort direction: ascending or descending

## `proxy` (type: `object`):

Select proxies to be used by your crawler.

## Actor input object example

```json
{
  "mode": "projects",
  "criteria": {},
  "publication_criteria": {},
  "include_fields": [],
  "exclude_fields": [],
  "limit": 50,
  "max_pages": 10,
  "offset": 0,
  "sort_field": "",
  "sort_order": "desc",
  "proxy": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Link to the dataset with scraped NIH RePORTER projects or publications.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "proxy": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ahmed_jasarevic/nih-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "proxy": { "useApifyProxy": False } }

# Run the Actor and wait for it to finish
run = client.actor("ahmed_jasarevic/nih-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "proxy": {
    "useApifyProxy": false
  }
}' |
apify call ahmed_jasarevic/nih-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ahmed_jasarevic/nih-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/I7cSo3iBl5P7Zq4l9/builds/eNQPVBrjlsOrcD09j/openapi.json
