skills/43-wentorai-research-plugins/skills/research/funding/nih-reporter-api-guide/SKILL.md
Search NIH-funded grants and research projects via RePORTER API
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research nih-reporter-api-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
NIH RePORTER (Research Portfolio Online Reporting Tools) provides a comprehensive API for searching and analyzing grants funded by the National Institutes of Health and other agencies within the U.S. Department of Health and Human Services. The database includes project details, funding amounts, publications, patents, and clinical studies linked to funded research.
RePORTER is the authoritative source for NIH grant data and covers billions of dollars in annual biomedical research funding. The API enables programmatic access to search for funded projects, retrieve associated publications, and analyze funding trends across NIH institutes, study sections, and disease categories.
The v2 API is a modern RESTful service that accepts JSON POST bodies for search requests and returns structured JSON responses. It is completely free and requires no authentication.
No authentication is required. The NIH RePORTER API is a free public service.
# No API key needed
curl -X POST "https://api.reporter.nih.gov/v2/projects/search" \
-H "Content-Type: application/json" \
-d '{"criteria":{"advanced_text_search":{"search_field":"terms","search_text":"CRISPR"}},"limit":5}'
The primary endpoint for finding NIH-funded grants and projects.
POST https://api.reporter.nih.gov/v2/projects/search
Request body (JSON):
criteria.advanced_text_search: Text query with search_field and search_textcriteria.fiscal_years: Array of fiscal years (e.g., [2023, 2024, 2025])criteria.pi_names: Array of PI name objects with first_name, last_namecriteria.org_names: Array of institution namescriteria.agencies: Array of agency codes (e.g., ["NIH"])criteria.activity_codes: Grant mechanism codes (e.g., ["R01", "R21"])limit: Results per page (max 500)offset: Pagination offsetExample: Search for CRISPR gene editing R01 grants:
curl -s -X POST "https://api.reporter.nih.gov/v2/projects/search" \
-H "Content-Type: application/json" \
-d '{
"criteria": {
"advanced_text_search": {
"search_field": "projecttitle,terms",
"search_text": "CRISPR gene editing"
},
"activity_codes": ["R01"],
"fiscal_years": [2024, 2025]
},
"limit": 10,
"offset": 0
}' | python3 -m json.tool
Find publications linked to NIH-funded projects.
POST https://api.reporter.nih.gov/v2/publications/search
curl -s -X POST "https://api.reporter.nih.gov/v2/publications/search" \
-H "Content-Type: application/json" \
-d '{
"criteria": {
"core_project_nums": ["R01GM123456"]
},
"limit": 25,
"offset": 0
}' | python3 -m json.tool
import requests
API_URL = "https://api.reporter.nih.gov/v2/projects/search"
def search_nih_projects(query, fiscal_years=None, activity_codes=None, limit=50):
"""Search NIH RePORTER for funded projects."""
payload = {
"criteria": {
"advanced_text_search": {
"search_field": "projecttitle,terms",
"search_text": query
}
},
"limit": limit,
"offset": 0
}
if fiscal_years:
payload["criteria"]["fiscal_years"] = fiscal_years
if activity_codes:
payload["criteria"]["activity_codes"] = activity_codes
resp = requests.post(API_URL, json=payload)
resp.raise_for_status()
data = resp.json()
return data.get("results", []), data.get("meta", {}).get("total", 0)
results, total = search_nih_projects(
"Alzheimer disease biomarkers",
fiscal_years=[2024, 2025],
activity_codes=["R01", "R21", "U01"]
)
print(f"Total matching projects: {total}")
institute_totals = {}
for project in results:
ic = project.get("agency_ic_fundings", [])
for funding in ic:
name = funding.get("abbreviation", "Unknown")
amount = funding.get("total_cost", 0) or 0
institute_totals[name] = institute_totals.get(name, 0) + amount
for inst, total_amt in sorted(institute_totals.items(), key=lambda x: -x[1]):
print(f" {inst}: ${total_amt:,.0f}")
Grant Prospecting: Search for recently funded projects in your area to understand current NIH priorities, typical award sizes by mechanism (R01, R21, K99, etc.), and successful project framing.
Publication-Grant Linkage: Use the publications endpoint to find papers produced from specific grants, enabling analysis of research output and impact per dollar invested.
PI Network Analysis: Search by PI name to map a researcher's full NIH funding history, co-investigators, and institutional affiliations over time.
Funding Trend Tracking: Query across multiple fiscal years with consistent keywords to track how NIH investment evolves in emerging areas such as AI in healthcare, mRNA therapeutics, or long COVID.
offset for pagination)include_fields in the request body to limit response fields for faster responsesfiscal_years to narrow results and improve performancetools
Recommend AND run open-source AI tools, agents, Claude Code / Codex skills, and MCP servers for any stage of a literature review — searching, reading, extracting, synthesizing, screening, citation-checking, and paper writing. Use when the user asks "what tool should I use to..." OR "install/run/use <tool> to ..." for research/lit-review work: automating a survey or related-work section, PDF→Markdown extraction for LLMs (MinerU/marker/docling), PRISMA / systematic review (ASReview), citation-backed Q&A over PDFs (PaperQA2), wiring papers into Claude/Cursor via MCP (arxiv/paper-search/zotero servers), or chatting with a Zotero library. Ships a launcher (scripts/litrun.py) that installs each tool in an isolated venv and runs it. Curated catalog of 70+ vetted projects. 支持中英文(用于「文献综述工具选型」与「一键安装/运行」)。
development
Route empirical-research requests through the Auto-Empirical Research Skills catalog when this whole repository is installed as one skill in Codex, CodeBuddy, Claude Code, or another IDE. Use to choose and load the right vendored AERS skill for causal inference, econometrics, replication, data acquisition, manuscript writing, peer review and referee responses, citation checking, de-AIGC editing, or full empirical-paper workflows without reading the entire repository at once.
documentation
Use when the project collects primary data or runs a field, lab, or survey experiment, before the intervention begins — write the pre-analysis plan, size the sample from a power calculation, and register with the AEA RCT Registry. Apply after the design is chosen in aer-identification and before any outcome data are seen.
tools
Guide economists to authoritative data sources with explicit, confirmed data specifications before retrieval; interfaces with Playwright MCP to navigate portals and extract real data, not articles about data.