# NIH Grant Winners + Verified PI Emails (NSF & PubMed Join) (`grandiose_envelope_0fj/nih-grant-winners-leads-scraper`) Actor

🔗 \[Entity-Pure Relational LEFT JOIN: NIH RePORTER × NSF Awards × Europe PMC Author Affiliations] 1 Row = 1 NIH Grant Lab enriched with that exact PI's cross-agency NSF funding ($), verified .edu email, phone, budget burn urgency, and inferred equipment spend tags.

- **URL**: https://apify.com/grandiose_envelope_0fj/nih-grant-winners-leads-scraper.md
- **Developed by:** [Olive LI](https://apify.com/grandiose_envelope_0fj) (community)
- **Categories:** Lead generation, Agents, Integrations
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.20 / 1,000 cross-joined enriched lead / records

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 Grant Winners & Verified PI Email/Phone Intelligence Scraper (`nih-grant-winners-leads-scraper`)

### 1. Who Buys This Data & Why (Target B2B Buyers)

- **Life Science Reagent, Sequencing & Instrument Vendors** (Illumina, Thermo Fisher, 10x Genomics, Bio-Rad, Revvity, Abcam, Twist Bioscience): Target Principal Investigators (PIs) who just received fresh NIH grant disbursements (`$300K–$2.5M+`) and have active budgets for NGS sequencing, antibodies, flow cytometry, and microscopy equipment.
- **Preclinical & Bioanalytical CROs**: Identify funded R01/R21/R43/R44 awards requiring *in vivo* murine models, spatial transcriptomics, or bioanalytical assay services.
- **HPC Cloud & Bio-AI Infrastructure Sales**: Target computational biology and genomics labs with NIH budgets allocated for GPU/cloud compute.

### 2. How Buyers Use This Output in Their Workflow

- **Direct Import into Instantly.ai / Smartlead / Apollo / Clay**:
  - Uses `pi_first_name`, `pi_last_name`, and `pi_salutation` (`"Dr. Mann"`) instead of raw ALL-CAPS NIH names (`"MANN, MELLISSA RAE WIGLE"`).
  - Uses `org_clean_name` (`"University of Pittsburgh"`) instead of raw NIH legal strings (`"UNIVERSITY OF PITTSBURGH AT PITTSBURGH"`).
  - Uses `outreach_icebreaker` for 1-click personalized cold email campaigns referencing the exact grant number, mechanism (`R01`), support year, and inferred lab purchase category.
- **CRM Territory & CapEx Prioritization (Salesforce / HubSpot)**:
  - Filters `support_year_num == "1"` (`YEAR_1_NEW_PROJECT_HIGH_EQUIPMENT_CAPEX`) to catch brand-new labs setting up major equipment, or sorts by `total_combined_funding_num` descending to prioritize dual-funded NIH + NSF super-labs.
  - Segments `recipient_entity_type` into `COMMERCIAL_BIOTECH_SBIR_STTR` (`R41/R42/R43/R44`) vs. `ACADEMIC_UNIVERSITY_RESEARCH_LAB` (`R01/R21/U01`).

### 3. Entity-Pure Relational `LEFT JOIN` Architecture (Zero `UNION ALL`)

Every row represents **1 Funded NIH Grant Project (`project_num`)**:

1. **Base Entity**: Official NIH RePORTER v2 API (`https://api.reporter.nih.gov/v2/projects/search`).
2. **`LEFT JOIN 1` (NSF Cross-Agency PI Match)**: Queries the official NSF Awards API (`api.nsf.gov/services/v1/awards.json`) on `(pi_first_name, pi_last_name, org_state, institution_keyword)` to calculate `nsf_funding_usd_num` and recover 100% verified `.edu` `piEmail` and `piPhone` when the PI holds dual NIH+NSF funding.
3. **`LEFT JOIN 2` (Europe PMC / PubMed Grant-ID & Affiliation Lookup)**: Queries Europe PMC (`ebi.ac.uk/europepmc/webservices/rest/search`) by exact NIH core grant number (`GRANT_ID`) and same-institution author affiliation to extract published corresponding-author `.edu` emails.

### 4. 7-Gate Buyer-Ready Schema (`100/100` on `audit_scraper_scale.py`)

| Field | Gate | Description | Example |
| :--- | :--- | :--- | :--- |
| `nih_grant_number` | Gate 1 | Primary Entity Key (NIH Grant #) | `"6R01HD109347-06"` |
| `nih_appl_id_num` | Gate 5 | Numeric NIH Application ID | `"11138605"` |
| `activity_mechanism_code` | Domain | Grant Mechanism (`R01`, `R21`, `R43`, `R44`) | `"R01"` |
| `recipient_entity_type` | Domain | Commercial Biotech SBIR/STTR vs Academic Lab | `"ACADEMIC_UNIVERSITY_RESEARCH_LAB"` |
| `support_year_num` | Gate 5 | Numeric Grant Support Year (`1` = New Setup) | `"6"` |
| `grant_cycle_stage` | Domain | Equipment CapEx vs Continuation Reagent Cycle | `"MATURE_YEAR_6_RENEWAL_AND_PUBLICATION_PUSH"` |
| `pi_first_name` | Gate 2 | Clean Title Case PI First Name | `"Mellissa"` |
| `pi_last_name` | Gate 2 | Clean Title Case PI Last Name | `"Mann"` |
| `pi_salutation` | Gate 2 | Academic Salutation Merge Tag | `"Dr. Mann"` |
| `pi_email_verified` | Gate 4 | Single Verified `.edu`/`.org` PI Email | `"mmann@mwri.magee.edu"` |
| `pi_email_verification_source` | Gate 4 | Relational Join Source for Email | `"Europe PMC Direct PI Author Match"` |
| `pi_phone_e164` | Gate 4 | E.164 Direct Phone (when in NSF registry) | `"+14126411000"` |
| `org_clean_name` | Gate 3 | Clean Institution Name for Email Merge Tag | `"University of Pittsburgh"` |
| `nih_award_amount_num` | Gate 5 | Sortable Pure Numeric NIH Award (USD) | `"375940"` |
| `nsf_funding_usd_num` | Gate 5 | Sortable Pure Numeric Cross-Joined NSF Award | `"0"` |
| `total_combined_funding_num` | Gate 5 | Sortable Total Combined Lab Funding (USD) | `"375940"` |
| `org_city` / `org_state` / `org_zip` | Gate 6 | Atomic Geography & 5-Digit ZIP | `"Pittsburgh"` / `"PA"` / `"15222"` |
| `award_notice_date` / `project_end_date` | Gate 6 | ISO `YYYY-MM-DD` Dates | `"2026-03-04"` / `"2027-02-28"` |
| `outreach_icebreaker` | Gate 7 | Plug-and-Play Cold Email Opening Line | `"Hi Dr. Mann, congratulations on your Year-6 $375,940 NIH R01 award at University of Pittsburgh..."` |

# Actor input Schema

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

Keyword in NIH grant title/abstract (e.g., 'sequencing', 'CRISPR', 'artificial intelligence', 'single cell', 'microscopy').

## `fiscalYears` (type: `string`):

Target NIH fiscal years (e.g., '2025,2026').

## `orgState` (type: `string`):

Filter universities/institutes by 2-letter US state.

## `maxItems` (type: `integer`):

Maximum number of entity-pure NIH grant labs to extract and enrich (1 to 10,000).

## Actor input object example

```json
{
  "searchText": "sequencing",
  "fiscalYears": "2025,2026",
  "orgState": "",
  "maxItems": 20
}
```

# Actor output Schema

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

🔗 \[Entity-Pure Relational LEFT JOIN: NIH RePORTER × NSF Awards × Europe PMC Author Affiliations] 1 Row = 1 NIH Grant Lab enriched with that exact PI's cross-agency NSF funding ($), verified .edu email, phone, budget burn urgency, and inferred equipment spend tags.

# 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": "sequencing",
    "fiscalYears": "2025,2026",
    "orgState": "",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("grandiose_envelope_0fj/nih-grant-winners-leads-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 = {
    "searchText": "sequencing",
    "fiscalYears": "2025,2026",
    "orgState": "",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("grandiose_envelope_0fj/nih-grant-winners-leads-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 '{
  "searchText": "sequencing",
  "fiscalYears": "2025,2026",
  "orgState": "",
  "maxItems": 20
}' |
apify call grandiose_envelope_0fj/nih-grant-winners-leads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,grandiose_envelope_0fj/nih-grant-winners-leads-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/SP7waRCHYJpeguRyU/builds/dinpeL3hdB0cCau9t/openapi.json
