# US Federal Grants & Funding Scraper - Grants.gov, NIH & NSF (`scrapesage/us-federal-grants-scraper`) Actor

Scrape US federal grants in one actor: open Grants.gov opportunities to apply for, plus awarded NIH RePORTER & NSF research projects with abstracts, PIs, organizations, contact emails and lead scores. Monitoring mode for new funding. No API key, no browser.

- **URL**: https://apify.com/scrapesage/us-federal-grants-scraper.md
- **Developed by:** [Scrape Sage](https://apify.com/scrapesage) (community)
- **Categories:** Lead generation, Agents, Integrations
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 funding record scrapeds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## US Federal Grants & Funding Scraper — Grants.gov, NIH & NSF (Opportunities, Awards & Leads)

Scrape **US federal grants from three official sources in one actor** — the open **Grants.gov** opportunities you can still apply for, **plus** the awarded **NIH RePORTER** and **NSF** research projects that show exactly who got funded. Every record ships the fields other scrapers leave empty: **full descriptions and abstracts, award ceilings and amounts, eligibility, principal investigators, organizations, built-in contact emails/phones, publication counts and a 0–100 lead score**.

No login, no API key, no browser — fast JSON extraction from open government data with 99%+ reliability.

### Why this federal grants scraper?

Most grant scrapers cover a single source and stop at the listing card. This actor unifies the whole federal funding picture and ships the **richest dataset in the category**:

| Data | Typical scrapers | This actor |
|---|---|---|
| Open Grants.gov opportunities to apply for | partial | ✅ full detail |
| Awarded NIH RePORTER projects (with abstracts) | ❌ separate tool | ✅ |
| Awarded NSF grants (with **PI emails**) | ❌ separate tool | ✅ |
| Award ceiling / floor / estimated total funding | ❌ | ✅ |
| Eligibility, applicant types, funding instruments | ❌ | ✅ |
| CFDA / Assistance Listing programs | ❌ | ✅ |
| Principal investigators (names, titles, profile IDs) | ❌ | ✅ |
| Organization name, state, **UEI** | partial | ✅ |
| Built-in contact email / name / phone | ❌ | ✅ |
| Publication count + PubMed IDs per NIH project | ❌ | ✅ opt-in |
| Website contact enrichment (emails, phones, socials) | ❌ | ✅ opt-in |
| Lead score (0–100) | ❌ | ✅ |
| Monitoring mode — only new funding | ❌ | ✅ |

**Different from spent-money scrapers:** [USAspending](https://apify.com/scrapesage/usaspending-scraper) shows money already obligated. This actor surfaces funding you can **still apply for** (Grants.gov) and the PI-level research detail (abstracts, investigators, emails, publications) that USAspending never carries.

### Use cases

- **Grant discovery** — find every open and forecasted federal opportunity for your mission, by keyword, agency, eligibility, funding category or CFDA number. Feed grant-finder tools, newsletters and dashboards.
- **Lead generation** — awarded organizations and principal investigators are active buyers: labs, universities and research startups need reagents, equipment, software, CROs, recruiting and consulting. Score them, and reach them with built-in PI/agency emails or website-crawled contacts.
- **Competitive funding intelligence** — see who is winning NIH and NSF awards in your field, how much, for what, and how productive they are (publication counts).
- **Research & market analysis** — track funding trends by agency, institute, state, topic and dollar amount across millions of historical awards.
- **Monitoring** — schedule recurring runs to capture only newly posted opportunities or newly awarded projects, and push them straight into your CRM or Slack.

### How to use

1. [Sign up for Apify](https://console.apify.com/sign-up) — the free plan is enough to try this actor.
2. Open the **US Federal Grants & Funding Scraper**, choose a **data source** (Grants.gov opportunities, NIH projects, or NSF awards), enter search keywords, and click **Start**.
3. Watch results stream into the dataset table.
4. **Export** as JSON, CSV, Excel, XML or RSS — or pull results programmatically via the [Apify API](https://docs.apify.com/api/v2).

### Input

```json
{
    "searchType": "grantOpportunities",
    "searchQueries": ["artificial intelligence", "cancer"],
    "oppStatuses": "forecasted|posted",
    "includeOpportunityDetails": true,
    "enrichOrganizationContacts": false,
    "maxResults": 200,
    "monitorMode": false
}
```

**Core**

- **searchType** — `grantOpportunities` (Grants.gov), `nihProjects` (NIH RePORTER), or `nsfAwards` (NSF).
- **searchQueries** — keywords, each run against the selected source. Leave empty to list everything matching your filters.
- **startUrls** — scrape specific records directly: Grants.gov detail URLs, NIH `project-details` URLs, or NSF `showAward` URLs.
- **maxResults** — cap per run. **monitorMode / monitorKey** — emit only records not seen in previous runs.
- **enrichOrganizationContacts** — crawl an organization/info website (home + contact/about) for extra emails, phones and socials.

**Grants.gov filters** — `oppStatuses` (`forecasted|posted|closed|archived`), `grantsAgencies`, `eligibilities`, `fundingCategories`, `fundingInstruments`, `cfda`, `includeOpportunityDetails` *(default true — the value is in the detail)*.

**NIH filters** — `fiscalYears`, `nihInstitutes` (NCI, NIAID, NHLBI…), `orgStates`, `orgNames`, `piNames`, `onlyActiveProjects`, `includeNihPublications`, `awardAmountMin` / `awardAmountMax`.

**NSF filters** — `nsfStates`, `nsfDateStart`, `nsfDateEnd`.

### Output

One record per funding item. Grant opportunity (`source: "grants.gov"`, `recordType: "opportunity"`):

```json
{
    "source": "grants.gov",
    "recordType": "opportunity",
    "id": "359855",
    "opportunityNumber": "RFA-CA-27-020",
    "title": "Advanced Development of Informatics Technologies for Cancer Research",
    "agency": "National Institutes of Health",
    "status": "posted",
    "openDate": "2026-05-21",
    "closeDate": "2026-10-19",
    "description": "This Notice of Funding Opportunity invites applications for…",
    "awardCeiling": 600000,
    "awardFloor": 50000,
    "estimatedTotalFunding": 2600000,
    "expectedNumberOfAwards": 3,
    "eligibilityDescription": "…",
    "applicantTypes": ["Small businesses", "Private institutions of higher education"],
    "fundingInstruments": ["Cooperative Agreement"],
    "fundingActivityCategories": ["Health"],
    "cfdaPrograms": [{ "cfdaNumber": "93.393", "programTitle": "Cancer Cause and Prevention Research" }],
    "contactName": "National Institutes of Health",
    "contactEmail": "nciitcr@mail.nih.gov",
    "contactPhone": "301-402-2541",
    "score": 78,
    "url": "https://www.grants.gov/search-results-detail/359855",
    "scrapedAt": "2026-06-17T01:30:00.000Z"
}
```

Awarded NIH / NSF research project (`recordType: "award"`):

```json
{
    "source": "nsf",
    "recordType": "award",
    "id": "2547822",
    "title": "REU SITE: Directed, Intensive and Mentored Opportunities in Data Science",
    "agency": "NSF",
    "awardAmount": 465000,
    "fundsObligated": 465000,
    "organizationName": "Tufts University",
    "orgState": "MA",
    "orgUei": "WL9FLBRVPJJ7",
    "piName": "Michael C Hughes",
    "piEmail": "michael.hughes@tufts.edu",
    "programOfficerName": "Sharmistha Bagchi-Sen",
    "programOfficerEmail": "shabagch@nsf.gov",
    "contactEmail": "michael.hughes@tufts.edu",
    "abstract": "This award supports an on-campus summer research program…",
    "fundProgramName": "RSCH EXPER FOR UNDERGRAD SITES",
    "startDate": "2026-10-01",
    "publicationCount": null,
    "score": 60,
    "url": "https://www.nsf.gov/awardsearch/showAward?AWD_ID=2547822",
    "scrapedAt": "2026-06-17T01:30:00.000Z"
}
```

NIH projects additionally include `projectNumber`, `coreProjectNumber`, `principalInvestigators[]` (name, title, profile ID, contact-PI flag), `terms`, `spendingCategories`, `directCost`/`indirectCost`, `publicationCount` + `publicationPmids` (opt-in), `isActive` and full `abstract`.

### Automate & schedule

Run this actor on autopilot and pull results into your own stack:

- **[Apify API](https://docs.apify.com/api/v2)** — start runs, fetch datasets, and manage schedules over REST.
- **[apify-client for JavaScript](https://docs.apify.com/api/client/js/)** and **[apify-client for Python](https://docs.apify.com/api/client/python/)** — official SDKs.
- **[Schedules](https://docs.apify.com/platform/schedules)** — run it daily/weekly with `monitorMode` on to capture only newly posted opportunities or newly awarded projects; perfect for grant alerts and lead pipelines.
- **[Webhooks](https://docs.apify.com/platform/integrations/webhooks)** — trigger downstream actions (CRM import, Slack alert, email sequence) the moment a run finishes.

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

const client = new ApifyClient({ token: 'MY_APIFY_TOKEN' });

const run = await client.actor('scrapesage/us-federal-grants-scraper').call({
    searchType: 'nsfAwards',
    searchQueries: ['quantum computing'],
    nsfStates: ['MA'],
    enrichOrganizationContacts: true,
    maxResults: 200,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Got ${items.length} funding records & leads`);
```

### Integrate with any app

Connect the dataset to 5,000+ apps — no code required:

- **[Make](https://docs.apify.com/platform/integrations/make)** — multi-step automation scenarios.
- **[Zapier](https://docs.apify.com/platform/integrations/zapier)** — push new funding leads straight into your CRM.
- **[Slack](https://docs.apify.com/platform/integrations/slack)** — get notified when a monitored search finds new grants.
- **[Google Drive / Sheets](https://docs.apify.com/platform/integrations/drive)** — auto-export every run to a spreadsheet.
- **[Airbyte](https://docs.apify.com/platform/integrations/airbyte)** — pipe results into your data warehouse.
- **[GitHub](https://docs.apify.com/platform/integrations/github)** — trigger runs from commits or releases.

### Use with AI assistants (MCP)

The output is clean, LLM-ready JSON. Call this actor from Claude, ChatGPT or any agent framework through the **[Apify MCP server](https://docs.apify.com/platform/integrations/mcp)** — ask your assistant to "find open NIH AI grants closing this quarter and list the agency contacts" and let it run this scraper for you.

### Agent-ready: autonomous payments (x402 & Skyfire)

This actor is **agent-ready** — AI agents can discover it, run it, and **pay for it autonomously**, with no Apify account and no human in the loop. It uses [pay-per-event](https://docs.apify.com/platform/actors/publishing/monetize/pay-per-event) pricing and [limited permissions](https://docs.apify.com/platform/actors/development/permissions), so it qualifies for Apify's agentic-payment standards:

- **[x402](https://docs.apify.com/platform/integrations/x402)** — an open, HTTP-native payment protocol. Agents pay per run in USDC on the Base network directly through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp) — no account, no API key.
- **[Skyfire](https://docs.apify.com/platform/integrations/skyfire)** — agent-to-service payments for fully autonomous AI-agent workflows.

Building an AI agent, MCP tool, or autonomous data pipeline? This scraper is ready to plug in and pay as it goes.

### More scrapers from scrapesage

Build a complete **government funding & B2B lead stack**:

- **[USAspending Scraper](https://apify.com/scrapesage/usaspending-scraper)** — federal awards already spent, contractors & vendor leads.
- **[SAM.gov Scraper](https://apify.com/scrapesage/sam-gov-scraper)** — federal contract opportunities & contacts.
- **[SEC EDGAR Scraper](https://apify.com/scrapesage/sec-edgar-scraper)** — company filings, financials & Form D.
- **[FEC Campaign Finance Scraper](https://apify.com/scrapesage/fec-campaign-finance-scraper)** — donors, PACs & lobbying.
- **[Court Records Scraper](https://apify.com/scrapesage/court-records-scraper)** — case law, dockets & judges.
- **[Companies House Scraper](https://apify.com/scrapesage/companies-house-scraper)** — UK companies, directors & PSCs.
- **[Google Patents Scraper](https://apify.com/scrapesage/google-patents-scraper)** — patents, citations & assignees for R\&D intelligence.
- **[GitHub Scraper](https://apify.com/scrapesage/github-scraper)** — repos, developers & contact leads.

### Tips

- **Grant discovery vs leads** — use `grantOpportunities` to find funding to apply for; use `nihProjects`/`nsfAwards` to find funded organizations and PIs as leads.
- **Always keep `includeOpportunityDetails` on** for Grants.gov — the listing alone is lean; the detail carries the description, amounts, eligibility and contacts.
- **Cost control** — narrow with filters (agency, state, fiscal year, amount) and `maxResults`; contact enrichment only runs when a record actually carries a website.
- **Recurring monitoring** — combine [Schedules](https://docs.apify.com/platform/schedules) with `monitorMode` so each run returns (and bills for) only new funding.

### FAQ

**Where does the data come from?** Three official, public US-government sources: [Grants.gov](https://www.grants.gov), [NIH RePORTER](https://reporter.nih.gov) and the [NSF Awards API](https://www.nsf.gov/awardsearch). No API key or login is required.

**What is the difference between this and USAspending?** USAspending reports money already obligated. This actor adds open opportunities you can still apply for (Grants.gov) plus PI-level abstracts, investigator emails and publication output (NIH/NSF) that USAspending does not carry.

**Where do the emails come from?** Grants.gov publishes an agency contact email per opportunity; NSF publishes the principal investigator and program officer emails directly; NIH provides PI names and organizations. With `enrichOrganizationContacts` on, the actor also visits an organization's public website for additional contacts.

**Can I export to Google Sheets, CSV or Excel?** Yes — one click in the dataset view, or automatically on every run via the [Google Drive integration](https://docs.apify.com/platform/integrations/drive).

**How do I monitor new grants automatically?** Create a [Schedule](https://docs.apify.com/platform/schedules) (e.g. daily) with `monitorMode` on, and optionally add a [webhook](https://docs.apify.com/platform/integrations/webhooks) or [Zapier zap](https://docs.apify.com/platform/integrations/zapier) to push new funding into your CRM as it appears.

**Is this legal?** This actor collects publicly available US-government open data only. You are responsible for using the data in compliance with applicable laws and each source's terms.

**A field is null — why?** Some records genuinely don't publish every field (e.g. NIH does not expose PI emails; some forecasts omit amounts). Fields are `null` only when the data doesn't exist, not because the scraper skipped them.

### Need help?

Open an issue on the actor's **Issues** tab, or visit the [Apify help center](https://help.apify.com/). Feature requests are welcome — this actor is actively maintained.

# Actor input Schema

## `searchType` (type: `string`):

<code>grantOpportunities</code> = open/forecasted grant opportunities you can APPLY for (Grants.gov). <code>nihProjects</code> = awarded NIH biomedical research projects (NIH RePORTER). <code>nsfAwards</code> = awarded NSF science & engineering grants (PI emails included).

## `searchQueries` (type: `array`):

Free-text keywords, each run against the selected source, e.g. <code>cancer</code>, <code>cybersecurity</code>, <code>climate</code>, <code>artificial intelligence</code>. Leave empty to list everything matching your filters (newest/biggest first).

## `startUrls` (type: `array`):

Scrape specific records directly. Supports Grants.gov detail URLs (<code>grants.gov/search-results-detail/{id}</code>), NIH project URLs (<code>reporter.nih.gov/project-details/{id}</code>) and NSF award URLs (<code>nsf.gov/awardsearch/showAward?AWD\_ID={id}</code>).

## `oppStatuses` (type: `string`):

Pipe-separated statuses to include: <code>forecasted</code>, <code>posted</code>, <code>closed</code>, <code>archived</code>. Default returns active funding (<code>forecasted|posted</code>). Grant opportunities only.

## `grantsAgencies` (type: `array`):

Filter by Grants.gov agency code(s), e.g. <code>HHS-NIH11</code>, <code>NSF</code>, <code>USAID</code>, <code>DOD</code>. Grant opportunities only.

## `eligibilities` (type: `array`):

Filter by eligible-applicant code(s), e.g. <code>25</code> (Others/individuals), <code>12</code> (Nonprofits 501c3), <code>06</code> (Higher ed), <code>21</code> (Small businesses). Grant opportunities only.

## `fundingCategories` (type: `array`):

Filter by funding-category code(s), e.g. <code>HL</code> (Health), <code>ST</code> (Science & Tech), <code>ED</code> (Education), <code>ENV</code> (Environment). Grant opportunities only.

## `fundingInstruments` (type: `array`):

Filter by instrument code(s): <code>G</code> (Grant), <code>CA</code> (Cooperative Agreement), <code>PC</code> (Procurement Contract), <code>O</code> (Other). Grant opportunities only.

## `cfda` (type: `array`):

Filter by CFDA / Assistance Listing number(s), e.g. <code>93.393</code>. Grant opportunities only.

## `includeOpportunityDetails` (type: `boolean`):

For each opportunity, fetch the full record: description, award ceiling/floor, total funding, expected number of awards, eligibility, applicant types, funding instruments, CFDA programs and the agency contact email/name/phone. One extra request per opportunity. Strongly recommended (the value is in the detail).

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

Limit NIH projects to these fiscal year(s), e.g. <code>2025</code>, <code>2024</code>. NIH projects only.

## `nihInstitutes` (type: `array`):

Filter by NIH funding institute/center abbreviation(s), e.g. <code>NCI</code> (cancer), <code>NIAID</code>, <code>NHLBI</code>, <code>NIMH</code>, <code>NIA</code>. NIH projects only.

## `orgStates` (type: `array`):

Two-letter US state code(s) of the awardee organization, e.g. <code>CA</code>, <code>MA</code>, <code>NY</code>. NIH projects only.

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

Limit to awardee organizations whose name matches, e.g. <code>harvard</code>, <code>stanford</code>. NIH projects only.

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

Limit to projects led by a PI whose name matches, e.g. <code>doudna</code>. NIH projects only.

## `onlyActiveProjects` (type: `boolean`):

Return only NIH projects that are currently active (within their project period). NIH projects only.

## `includeNihPublications` (type: `boolean`):

For each NIH project, look up how many publications it has produced (and recent PubMed IDs) — a strong research-impact signal. One extra request per project. NIH projects only.

## `nsfStates` (type: `array`):

Two-letter US state code(s) of the awardee organization, e.g. <code>CA</code>, <code>TX</code>. NSF awards only.

## `nsfDateStart` (type: `string`):

Only NSF awards starting on/after this date (YYYY-MM-DD). NSF awards only.

## `nsfDateEnd` (type: `string`):

Only NSF awards starting on/before this date (YYYY-MM-DD). NSF awards only.

## `awardAmountMin` (type: `integer`):

Only NIH projects at or above this award amount. NIH projects only.

## `awardAmountMax` (type: `integer`):

Only NIH projects at or below this award amount. NIH projects only.

## `enrichOrganizationContacts` (type: `boolean`):

When a record carries an organization/info website, crawl it (home + contact/about) for extra emails, phones and social links — turning awardees into ready-to-contact leads. NSF and Grants.gov records benefit most.

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

Maximum number of records to return per run (across all keywords).

## `monitorMode` (type: `boolean`):

Remember records already returned in previous runs (in a named key-value store) and emit only NEW ones each run. Works alongside Apify Schedules — schedule the run, this dedupes the output so you only ever pay for and see new funding.

## `monitorKey` (type: `string`):

Name for the monitoring memory. Use a distinct key per saved search so their 'seen' histories stay separate.

## `maxConcurrency` (type: `integer`):

Parallel detail/enrichment requests. These government APIs rate-limit heavy use — keep this modest.

## `proxyConfiguration` (type: `object`):

Proxy settings. The default Apify Proxy is enough — Grants.gov, NIH RePORTER and NSF are open government data with no anti-bot.

## Actor input object example

```json
{
  "searchType": "grantOpportunities",
  "searchQueries": [
    "artificial intelligence"
  ],
  "oppStatuses": "forecasted|posted",
  "includeOpportunityDetails": true,
  "onlyActiveProjects": false,
  "includeNihPublications": false,
  "enrichOrganizationContacts": false,
  "maxResults": 100,
  "monitorMode": false,
  "monitorKey": "default",
  "maxConcurrency": 6,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped grant opportunities and awarded research projects as JSON items in the default dataset.

# 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 = {
    "searchQueries": [
        "artificial intelligence"
    ],
    "oppStatuses": "forecasted|posted",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapesage/us-federal-grants-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 = {
    "searchQueries": ["artificial intelligence"],
    "oppStatuses": "forecasted|posted",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapesage/us-federal-grants-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 '{
  "searchQueries": [
    "artificial intelligence"
  ],
  "oppStatuses": "forecasted|posted",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapesage/us-federal-grants-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapesage/us-federal-grants-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/4tEzDZFt8YfLZQXFg/builds/clT4l4ZeiqaM474iZ/openapi.json
