# NIH RePORTER Funded Projects - Awards, PIs and Organizations (`zhucl1006/nih-reporter-funded-projects`) Actor

Search awarded NIH grants from the official RePORTER Project API. No API key. Returns project number, title, PI, organization, award amount and dates. One charge per funded project. This is awarded funding, not open Grants.gov opportunities.

- **URL**: https://apify.com/zhucl1006/nih-reporter-funded-projects.md
- **Developed by:** [leo zhu](https://apify.com/zhucl1006) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 funded projects

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Funded Projects

Search **awarded** NIH grants from the official [NIH RePORTER Project API](https://api.reporter.nih.gov/). No API key.

This Actor returns funded projects: title, project number, principal investigators, awardee organization, award amount, institute, and dates. It does **not** list open funding calls. Open US federal opportunities are a different dataset (Grants.gov).

### Pricing

Pay per event:

| Event | Price |
| --- | --- |
| Funded project (`funded-project`) | $0.004 per project returned |
| Actor start (`apify-actor-start`) | $0.00005 once per run |

Failed requests and projects that were not returned are not charged. A run stops cleanly when it hits the maximum cost you set.

### Input

The default input searches project titles for `malaria` in fiscal years 2025 and 2026 and returns 5 projects. That default needs no secret and finishes in well under 5 minutes.

You can also filter by organization name, PI name, NIH institute abbreviation (`NIAID`, `NCI`, `NHLBI`), or a full project number. Raise **Max projects** up to 200. Use **Offset** to page through a larger result set.

### Output

One dataset row per funded project. Useful fields include `projectTitle`, `projectNumber`, `principalInvestigators`, `organizationName`, `awardAmount`, `fiscalYear`, `agencyAbbreviation`, `projectStartDate`, `abstract`, and `projectDetailUrl`.

### Source

Data comes from `POST https://api.reporter.nih.gov/v2/projects/search`, the public RePORTER API published by the U.S. National Institutes of Health. Records are official award data, not a scrape of a login-gated site.

# Actor input Schema

## `searchText` (type: `string`):

Text matched against the field below. Leave blank if you search by organization, PI, agency or project number.

## `searchField` (type: `string`):

Which RePORTER text field the keyword searches.

## `fiscalYears` (type: `array`):

NIH fiscal years, for example 2025 and 2026. Up to 10.

## `orgNames` (type: `array`):

Awardee organization names as they appear in RePORTER, one per line. Example: UNIVERSITY OF CALIFORNIA, SAN FRANCISCO.

## `piNames` (type: `array`):

PI names, one per line. A last name or full name both work.

## `agencies` (type: `array`):

Administering institute abbreviations, one per line. Examples: NIAID, NCI, NHLBI.

## `projectNumbers` (type: `array`):

Full project numbers, one per line. Example: 1K99AI202235-01.

## `activeOnly` (type: `boolean`):

When on, RePORTER returns only projects it marks active.

## `maxResults` (type: `integer`):

How many funded projects to return. Each returned project is charged once.

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

Skip this many matching projects before collecting results. Use it to page through a larger search.

## Actor input object example

```json
{
  "searchText": "malaria",
  "searchField": "projecttitle",
  "fiscalYears": [
    "2025",
    "2026"
  ],
  "orgNames": [],
  "piNames": [],
  "agencies": [],
  "projectNumbers": [],
  "activeOnly": false,
  "maxResults": 5,
  "offset": 0
}
```

# Actor output Schema

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

No description

## `runSummary` (type: `string`):

No description

# 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 = {
    "searchText": "malaria",
    "searchField": "projecttitle",
    "fiscalYears": [
        "2025",
        "2026"
    ],
    "orgNames": [],
    "piNames": [],
    "agencies": [],
    "projectNumbers": [],
    "activeOnly": false,
    "maxResults": 5,
    "offset": 0
};

// Run the Actor and wait for it to finish
const run = await client.actor("zhucl1006/nih-reporter-funded-projects").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 = {
    "searchText": "malaria",
    "searchField": "projecttitle",
    "fiscalYears": [
        "2025",
        "2026",
    ],
    "orgNames": [],
    "piNames": [],
    "agencies": [],
    "projectNumbers": [],
    "activeOnly": False,
    "maxResults": 5,
    "offset": 0,
}

# Run the Actor and wait for it to finish
run = client.actor("zhucl1006/nih-reporter-funded-projects").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 '{
  "searchText": "malaria",
  "searchField": "projecttitle",
  "fiscalYears": [
    "2025",
    "2026"
  ],
  "orgNames": [],
  "piNames": [],
  "agencies": [],
  "projectNumbers": [],
  "activeOnly": false,
  "maxResults": 5,
  "offset": 0
}' |
apify call zhucl1006/nih-reporter-funded-projects --silent --output-dataset

```

## MCP server setup

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

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/WrtNYviuCsr8JvPhE/builds/5ToLKHppiFtaegpo1/openapi.json
