# Grants.gov Scraper (`anyxsolutions/grants-gov-scraper`) Actor

Scrape US federal grant opportunities from Grants.gov: forecasted, open, closed and archived. Filter by keyword, agency, eligibility, category, instrument and assistance listing. Get award ceilings, total funding, deadlines, synopsis, eligibility, contacts and attachments. No API key, no login.

- **URL**: https://apify.com/anyxsolutions/grants-gov-scraper.md
- **Developed by:** [Anyx Solutions](https://apify.com/anyxsolutions) (community)
- **Categories:** Business, 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.50 / 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

![banner](https://anyx.solutions/banners/grants-gov-scraper.png)

## Grants.gov Scraper

**Every US federal grant opportunity on Grants.gov — with award ceilings, total funding, deadlines, eligibility and contacts — as clean JSON.**

Grants.gov is where every US federal agency announces its funding opportunities: grants,
cooperative agreements and other awards from the National Institutes of Health, the National
Science Foundation, the Departments of Agriculture, Energy, Education, State and dozens more. This
Actor scrapes Grants.gov by keyword, opportunity status, agency, eligible applicant type, funding
category, funding instrument and assistance listing number, or from any grants.gov search or
opportunity URL. Each opportunity comes back with its number, title, agency and parent department,
status, posted, closing and archive dates, assistance listings, funding instruments and categories,
eligible applicants and the eligibility text, award ceiling and floor, estimated total funding,
expected number of awards, cost-sharing requirement, the full synopsis as HTML and plain text, the
link to the full announcement, the agency contact, attached documents and related opportunities.
Forecasts of upcoming opportunities carry their estimated posting, closing, award and project
start dates. No API key, no login and no proxy. Built for grant writers and consultants,
nonprofits, universities and research offices, small businesses chasing SBIR and STTR awards,
state and local governments, and grant-alert and funding-intelligence platforms.

### ⚡ Quick start

```json
{
  "startUrls": [
    {
      "url": "https://www.grants.gov/search-grants?keywords=climate&oppStatuses=forecasted%7Cposted"
    }
  ],
  "searchTerms": ["broadband"],
  "maxItems": 5
}
```

### 🧩 Input

| Field                 | Type    | Required | Default                      | Description                                                                                                                                                                                                  |
| --------------------- | ------- | -------- | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `startUrls`           | array   | no       | —                            | grants.gov pages: a search (`https://www.grants.gov/search-grants?keywords=climate&oppStatuses=forecasted%7Cposted`) or an opportunity page (`https://www.grants.gov/search-results-detail/364006`).         |
| `searchTerms`         | array   | no       | —                            | Keywords to search opportunity titles, descriptions and numbers for, one search per line, such as `broadband` or `rural health`.                                                                             |
| `opportunityStatuses` | array   | no       | `["forecasted", "posted"]`   | Which opportunities to return: `forecasted` (announced, not yet open), `posted` (open for applications), `closed` or `archived`.                                                                             |
| `agencies`            | array   | no       | —                            | Only return opportunities from these agencies, by Grants.gov agency code: `HHS` (every Health and Human Services agency), `HHS-NIH11` (National Institutes of Health), `NSF`, `DOE`, `USDA`, `ED` and so on. |
| `eligibilities`       | array   | no       | —                            | Only return opportunities open to these applicant types, by code: `23` small businesses, `12` 501(c)(3) nonprofits, `00` state governments, `06` public universities, `21` individuals and more.             |
| `fundingCategories`   | array   | no       | —                            | Only return opportunities in these categories, by code: `HL` Health, `ED` Education, `ST` Science and Technology, `ENV` Environment, `AG` Agriculture and more.                                              |
| `fundingInstruments`  | array   | no       | —                            | Only return opportunities awarded through these instruments: `G` grant, `CA` cooperative agreement, `PC` procurement contract, `O` other.                                                                    |
| `alns`                | array   | no       | —                            | Only return opportunities under these assistance listing numbers (formerly CFDA numbers), such as `93.855` or `10.176`.                                                                                      |
| `sortBy`              | string  | no       | `"newest"`                   | Order of search results: `newest`, `oldest`, `closingSoonest` or `relevance` (best match for the keywords).                                                                                                  |
| `includeDetails`      | boolean | no       | `true`                       | Read each opportunity's full record: synopsis, eligibility, award amounts, contact and attachments. Turn off for a faster list of titles, numbers, agencies and dates only.                                  |
| `maxItems`            | integer | no       | —                            | Maximum number of opportunities per URL or search term. The input form starts at 5; leave it empty for every matching opportunity.                                                                           |
| `proxyConfiguration`  | object  | no       | `{ "useApifyProxy": false }` | Proxy settings. Grants.gov needs no proxy.                                                                                                                                                                   |

Add grants.gov URLs, search terms, or both. The status, agency, eligibility, category, instrument
and assistance-listing filters apply to all of them, except where a URL sets its own filter of the
same kind. With filters but no URL or search term, the filters alone make one search. The easiest
way to build a search is to run it on [grants.gov](https://www.grants.gov/search-grants) and paste
the address bar; the keyword, status, agency, category and assistance listing in the address are
all kept. Opportunity pages return that one opportunity whatever the filters say.

### 📤 Output

Each opportunity is one dataset row. An opportunity is returned once per run, even when several
URLs or search terms find it. With `includeDetails` off, the row holds only what the search results list: the
number, title, agency, status, posted and closing dates and assistance listing numbers; the other
fields are `null` or empty.

#### Fields

| Field                        | Type    | Description                                                                                                                        |
| ---------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `opportunityId`              | string  | Grants.gov opportunity ID, such as `364006`.                                                                                       |
| `opportunityNumber`          | string  | The agency's funding opportunity number, such as `USDA-AMS-TM-DBI-G-26-0011`.                                                      |
| `title`                      | string  | Opportunity title.                                                                                                                 |
| `url`                        | string  | The opportunity's page on grants.gov.                                                                                              |
| `status`                     | string  | `forecasted`, `posted`, `closed` or `archived`.                                                                                    |
| `documentType`               | string  | `synopsis` for a posted opportunity, `forecast` for an announced one.                                                              |
| `category`                   | string  | Opportunity category: `Discretionary`, `Mandatory`, `Continuation`, `Earmark` or `Other`.                                          |
| `agencyCode`                 | string  | Grants.gov code of the agency offering the opportunity, such as `HHS-NIH11`.                                                       |
| `agencyName`                 | string  | Agency name, such as `National Institutes of Health`.                                                                              |
| `parentAgencyCode`           | string  | Code of the department the agency belongs to, such as `HHS`.                                                                       |
| `parentAgencyName`           | string  | Department name, such as `Department of Health and Human Services`.                                                                |
| `postedDate`                 | string  | Date posted (`YYYY-MM-DD`).                                                                                                        |
| `closeDate`                  | string  | Application deadline (`YYYY-MM-DD`). `null` for forecasts and open-ended opportunities.                                            |
| `closeDateNote`              | string  | The agency's note on the deadline, such as the time of day applications are due.                                                   |
| `archiveDate`                | string  | Date the opportunity is archived (`YYYY-MM-DD`).                                                                                   |
| `estimatedPostDate`          | string  | Forecasts: estimated date the opportunity will be posted.                                                                          |
| `estimatedCloseDate`         | string  | Forecasts: estimated application deadline.                                                                                         |
| `estimatedAwardDate`         | string  | Forecasts: estimated award date.                                                                                                   |
| `estimatedProjectStartDate`  | string  | Forecasts: estimated project start date.                                                                                           |
| `fiscalYear`                 | number  | Forecasts: the fiscal year of the funding.                                                                                         |
| `alns`                       | array   | Assistance listings, each with `number` (such as `93.855`) and program `title`.                                                    |
| `fundingInstruments`         | array   | Funding instruments, each with `code` and `name`, such as `G` / `Grant`.                                                           |
| `fundingCategories`          | array   | Funding activity categories, each with `code` and `name`, such as `HL` / `Health`.                                                 |
| `fundingCategoryExplanation` | string  | The agency's explanation when the category is `Other`.                                                                             |
| `eligibilities`              | array   | Eligible applicant types, each with `code` and `name`.                                                                             |
| `eligibilityText`            | string  | Additional information on eligibility, as the agency wrote it.                                                                     |
| `awardCeiling`               | number  | Largest single award, in US dollars. `null` when not stated.                                                                       |
| `awardFloor`                 | number  | Smallest single award, in US dollars.                                                                                              |
| `estimatedTotalFunding`      | number  | Estimated total program funding, in US dollars.                                                                                    |
| `expectedNumberOfAwards`     | number  | Expected number of awards.                                                                                                         |
| `costSharing`                | boolean | Whether cost sharing or matching is required.                                                                                      |
| `synopsisHtml`               | string  | The synopsis (or forecast description) as published, in HTML.                                                                      |
| `synopsisText`               | string  | The same synopsis as plain text.                                                                                                   |
| `additionalInfoUrl`          | string  | Link to the full announcement or more information.                                                                                 |
| `additionalInfoText`         | string  | The description of that link, when it says more than the link itself.                                                              |
| `contact`                    | object  | The agency contact as published: `name`, `email`, `phone` and `description`.                                                       |
| `attachments`                | array   | Attached documents, each with `name`, `description`, `folder`, `mimeType`, `sizeBytes`, `uploadedAt` and download `url`.           |
| `relatedDocuments`           | array   | Linked documents, each with `description` and `url`.                                                                               |
| `relatedOpportunities`       | array   | Related opportunities, each with `opportunityId`, `opportunityNumber`, `title`, `agencyCode`, `postedDate`, `closeDate` and `url`. |
| `lastUpdatedAt`              | string  | When the opportunity was last updated (ISO 8601, US Eastern offset).                                                               |

<details><summary>Example output</summary>

```json
{
  "opportunityId": "364006",
  "opportunityNumber": "USDA-AMS-TM-DBI-G-26-0011",
  "title": "Dairy Business Innovation Initiatives Program (DBI) Fiscal Year 2026",
  "url": "https://www.grants.gov/search-results-detail/364006",
  "status": "posted",
  "documentType": "synopsis",
  "category": "Mandatory",
  "agencyCode": "USDA-AMS",
  "agencyName": "Agricultural Marketing Service",
  "parentAgencyCode": "USDA",
  "parentAgencyName": "Department of Agriculture",
  "postedDate": "2026-09-30",
  "closeDate": "2026-12-01",
  "closeDateNote": "Applications must be submitted electronically no later than 11:59 pm Eastern Time.",
  "archiveDate": "2026-12-31",
  "estimatedPostDate": null,
  "estimatedCloseDate": null,
  "estimatedAwardDate": null,
  "estimatedProjectStartDate": null,
  "fiscalYear": null,
  "alns": [
    {
      "number": "10.176",
      "title": "Dairy Business Innovation Initiatives"
    }
  ],
  "fundingInstruments": [
    {
      "code": "G",
      "name": "Grant"
    }
  ],
  "fundingCategories": [
    {
      "code": "AG",
      "name": "Agriculture"
    }
  ],
  "fundingCategoryExplanation": null,
  "eligibilities": [
    {
      "code": "25",
      "name": "Others (see text field entitled \"Additional Information on Eligibility\" for clarification)"
    }
  ],
  "eligibilityText": "The U.S. Department of Agriculture (USDA), Agricultural Marketing Service (AMS), requests applications for the fiscal year (FY) 2025 only from the existing four initiatives of the Dairy Business Innovation (DBI) Initiatives program: the California State University Fresno Foundation, the University of Tennessee, the Vermont Agency of Agriculture, Food and Markets, and the University of Wisconsin.",
  "awardCeiling": 3450000,
  "awardFloor": 2300000,
  "estimatedTotalFunding": 12650000,
  "expectedNumberOfAwards": 4,
  "costSharing": true,
  "synopsisHtml": "<p>The U.S. Department of Agriculture (USDA), Agricultural Marketing Service (AMS), requests applications for fiscal year (FY) 2026 from existing initiatives of the Dairy Business Innovation (DBI) Initiatives Program: the California State University Fresno Foundation, the University of Tennessee, the Vermont Agency of Agriculture, Food and Markets, and the University of Wisconsin.<br>These initiatives serve to:</p><p><br>• Diversify dairy product markets to reduce risk and develop higher value uses for dairy products;<br>• Promote business development that diversifies farmer income through processing and marketing innovation; and<br>• Encourage the use of regional milk production.</p><p><br>Approximately $12.65 million is available to fund these initiatives. In the FY 2025 application cycle, AMS funded four applications from the existing initiatives awarding a total of $11,040,000.<br>AMS strongly encourages DBI initiatives to prioritize subaward funding for projects that request equipment and infrastructure activities in their proposals for these FY2026 funds. See the DBI Specific Terms and Conditions for guidance on allowable equipment and construction costs. Equipment and infrastructure investments are critical to strengthening the dairy industry and overall dairy businesses capacity and DBI is currently uniquely positioned to offer such targeted funding opportunities.</p>",
  "synopsisText": "The U.S. Department of Agriculture (USDA), Agricultural Marketing Service (AMS), requests applications for fiscal year (FY) 2026 from existing initiatives of the Dairy Business Innovation (DBI) Initiatives Program: the California State University Fresno Foundation, the University of Tennessee, the Vermont Agency of Agriculture, Food and Markets, and the University of Wisconsin.\nThese initiatives serve to:\n\n• Diversify dairy product markets to reduce risk and develop higher value uses for dairy products;\n• Promote business development that diversifies farmer income through processing and marketing innovation; and\n• Encourage the use of regional milk production.\n\nApproximately $12.65 million is available to fund these initiatives. In the FY 2025 application cycle, AMS funded four applications from the existing initiatives awarding a total of $11,040,000.\nAMS strongly encourages DBI initiatives to prioritize subaward funding for projects that request equipment and infrastructure activities in their proposals for these FY2026 funds. See the DBI Specific Terms and Conditions for guidance on allowable equipment and construction costs. Equipment and infrastructure investments are critical to strengthening the dairy industry and overall dairy businesses capacity and DBI is currently uniquely positioned to offer such targeted funding opportunities.",
  "additionalInfoUrl": "https://www.ams.usda.gov/services/grants/dbi",
  "additionalInfoText": null,
  "contact": {
    "name": "Agricultural Marketing Service",
    "email": "IPPGrants@usda.gov",
    "phone": "202-260-8449",
    "description": "DBI Grant Program Questions: IPPGrants@usda.gov; Grants.gov Questions: support@grants.gov or 1-800-518-4726.\nIPPGrants@usda.gov"
  },
  "attachments": [
    {
      "name": "FY2026 DBI Notice of Funding Opportunity.pdf",
      "description": "FY2026 DBI Notice of Funding Opportunity.pdf",
      "folder": "Full Announcement",
      "mimeType": "application/pdf",
      "sizeBytes": 599848,
      "uploadedAt": "2026-09-30T14:16:35-04:00",
      "url": "https://apply07.grants.gov/grantsws/rest/opportunity/att/download/355118"
    },
    {
      "name": "DBI Specific Terms and Conditions Updated.pdf",
      "description": "DBI Specific Terms and Conditions Updated.pdf",
      "folder": "Other Supporting Documents",
      "mimeType": "application/pdf",
      "sizeBytes": 395213,
      "uploadedAt": "2026-09-30T14:16:49-04:00",
      "url": "https://apply07.grants.gov/grantsws/rest/opportunity/att/download/355119"
    },
    {
      "name": "FY26DBIProjectNarrative.docx",
      "description": "FY26DBIProjectNarrative.docx",
      "folder": "Other Supporting Documents",
      "mimeType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
      "sizeBytes": 87860,
      "uploadedAt": "2026-09-30T14:17:01-04:00",
      "url": "https://apply07.grants.gov/grantsws/rest/opportunity/att/download/355120"
    }
  ],
  "relatedDocuments": [],
  "relatedOpportunities": [],
  "lastUpdatedAt": "2026-09-30T14:15:21-04:00"
}
```

</details>

### 💡 Use cases

- **Grant alerts** — find every new opportunity for your keywords, agencies or applicant type each morning, before the deadline window narrows.
- **Pipeline planning** — track forecasts to see what is coming months before it opens, with estimated posting, closing and award dates.
- **Deadline tracking** — sort open opportunities by closing date and push them into a CRM or calendar.
- **Funding research** — compare award ceilings, total funding and expected awards across agencies and programs.
- **SBIR and STTR scouting** — filter for small businesses and science and technology to list every open innovation award.
- **AI and NLP pipelines** — feed synopses and eligibility text into matching, summarisation or proposal-drafting tools.

### ❓ FAQ

- **Do I need an API key or an account?** No. Grants.gov is public, and the Actor needs no key, login or proxy.
- **Which opportunities are included by default?** Forecasted and posted ones, as on grants.gov. Add `closed` or `archived` to `opportunityStatuses` for past opportunities; the archive holds more than 70,000 past opportunities.
- **How do I find an agency code?** Run a search on grants.gov and open the Agency filter, or read `agencyCode` and `parentAgencyCode` from any row. A department code such as `HHS` covers every agency under it; a code such as `HHS-NIH11` covers one agency.
- **How do several keywords match?** Grants.gov matches any of the words, so `rural health` also returns opportunities that mention only one of them. Use one specific term per line for narrower searches.
- **Why are some amounts `null`?** Agencies do not always publish an award ceiling, floor, total or number of awards; the Actor returns `null` rather than guessing. A value of `0` is returned as published.
- **Can I download the attachments?** Every attachment has a direct download `url` to the file on Grants.gov.
- **Why did a run return fewer opportunities than expected?** The filters may be narrower than you think, or an agency code was misspelled. Open an issue if something looks off.

### 🔗 More scrapers by Anyx

- [USAspending Scraper](https://apify.com/anyxsolutions/usaspending-scraper)
- [Federal Register Scraper](https://apify.com/anyxsolutions/federal-register-scraper)
- [SEC EDGAR Scraper](https://apify.com/anyxsolutions/sec-edgar-scraper)
- [World Bank Data Scraper](https://apify.com/anyxsolutions/world-bank-data-scraper)

### 🤝 Anyx Solutions

We build custom scrapers and data-extraction pipelines.

- Email: tantosthor@gmail.com

### 🖼 Image credit

Image credit: [grants.gov](https://www.grants.gov/)

# Actor input Schema

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

Public grants.gov pages: a search (https://www.grants.gov/search-grants?keywords=climate\&oppStatuses=forecasted%7Cposted) or an opportunity page (https://www.grants.gov/search-results-detail/364006).

## `searchTerms` (type: `array`):

Keywords to search opportunity titles, descriptions and numbers for, one search per line, for example broadband, rural health or wildfire.

## `opportunityStatuses` (type: `array`):

Which opportunities to return: forecasted (announced, not yet open), posted (open for applications), closed, or archived. Defaults to forecasted and posted, like grants.gov.

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

Only return opportunities from these agencies, one Grants.gov agency code per line, for example HHS (every Health and Human Services agency), HHS-NIH11 (National Institutes of Health), NSF, DOE, USDA or ED. Leave empty for every agency.

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

Only return opportunities open to these applicant types, such as small businesses, nonprofits or state governments. Leave empty for every applicant type.

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

Only return opportunities in these funding activity categories, such as Health, Education or Science and Technology. Leave empty for every category.

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

Only return opportunities awarded through these instruments: grants, cooperative agreements, procurement contracts or other. Leave empty for every instrument.

## `alns` (type: `array`):

Only return opportunities under these assistance listings (formerly CFDA numbers), one per line, for example 93.855 (Allergy and Infectious Diseases Research) or 10.176.

## `sortBy` (type: `string`):

Order of search results: newest posted first, oldest first, closing soonest, or best match for the keywords.

## `includeDetails` (type: `boolean`):

Read each opportunity's full record: synopsis, eligibility, award ceiling and floor, total funding, contact and attachments. Turn off for a faster list of titles, numbers, agencies and dates only.

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

Maximum number of opportunities to return per URL or search term. Leave empty for every matching opportunity.

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

Proxy settings. Grants.gov is public and needs no proxy.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.grants.gov/search-grants?keywords=climate&oppStatuses=forecasted%7Cposted"
    }
  ],
  "searchTerms": [
    "broadband"
  ],
  "opportunityStatuses": [
    "forecasted",
    "posted"
  ],
  "sortBy": "newest",
  "includeDetails": true,
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrls": [
        {
            "url": "https://www.grants.gov/search-grants?keywords=climate&oppStatuses=forecasted%7Cposted"
        }
    ],
    "searchTerms": [
        "broadband"
    ],
    "maxItems": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("anyxsolutions/grants-gov-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 = {
    "startUrls": [{ "url": "https://www.grants.gov/search-grants?keywords=climate&oppStatuses=forecasted%7Cposted" }],
    "searchTerms": ["broadband"],
    "maxItems": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("anyxsolutions/grants-gov-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 '{
  "startUrls": [
    {
      "url": "https://www.grants.gov/search-grants?keywords=climate&oppStatuses=forecasted%7Cposted"
    }
  ],
  "searchTerms": [
    "broadband"
  ],
  "maxItems": 5
}' |
apify call anyxsolutions/grants-gov-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,anyxsolutions/grants-gov-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/haTNMiG86ypthbjV5/builds/5lZMfbdUHLu3b9tse/openapi.json
