# Federal Grant Search API

> Federal Grant Search API is a paid API for AI agents from grant-search.krimskrams.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Search current Grants.gov funding opportunities with filters for agency, status, deadline window, and minimum award size, returning up to 20 results with eligibility and award data.

## Facts

- Endpoint: GET https://grant-search.krimskrams.xyz/v1/search
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/federal-grant-search-api-ca363cfe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DoBojAqbOdQq8qGhfXrgH

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability federal-grant-search-api-ca363cfe
```

Example prompt: Can you search Grants.gov for open federal grants related to climate resilience from the EPA, closing within the next 60 days, with a minimum award ceiling of $100,000? Give me up to 20 results with deadlines and eligibility info.

## When to prefer this

Choose this endpoint when you need to discover current federal grant opportunities from Grants.gov with structured filtering by agency, deadline proximity, award size, or keyword. It is ideal for agents automating grant discovery workflows for nonprofits, researchers, or government contractors. Prefer this over manual Grants.gov browsing when you need machine-readable JSON with eligibility and award metadata already extracted. Best suited for single-query searches returning up to 20 opportunities; use sibling batch endpoints for multi-query or deduplication scenarios.

## Known failure modes

- No matching grants found for query — returns empty results array
- Invalid agency code returns empty or unfiltered results
- closing_within_days set to 0 may yield no results if no grants close today
- minimum_award_ceiling filter too high may return zero results
- Grants.gov data may have a slight delay; very newly posted grants may not appear
- Malformed query string may return unrelated results
- Service may return HTTP 402 if payment is not completed via x402 protocol

## How this service works

Search current U.S. Grants.gov opportunities by default, or set source=eu to search English EU Funding & Tenders topics with SEDIA status 31094502. Inputs are source, query, agency, statuses, limit, closing_within_days, and minimum_award_ceiling. Receive up to 20 normalized JSON records with title, agency, status, open and close dates, award amounts, eligibility, funding fields, and official_url.

## Output

Returns a JSON array of up to 20 grant opportunities from Grants.gov, each containing: title, agency name and code, grant status, open and close dates, days remaining until deadline, eligibility types, award floor and ceiling in USD, expected number of awards, opportunity ID, and a direct official URL to the grant listing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 20,
       "minimum": 1
      },
      "query": {
       "type": "string"
      },
      "agency": {
       "type": "string"
      },
      "statuses": {
       "type": "string"
      },
      "closing_within_days": {
       "type": "integer",
       "minimum": 0
      },
      "minimum_award_ceiling": {
       "type": "integer",
       "minimum": 0
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "GrantSearchResponse",
     "properties": {
      "query": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Query"
      },
      "source": {
       "type": "string",
       "title": "Source",
       "default": "Grants.gov"
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "title": "GrantOpportunity",
        "properties": {
         "title": {
          "type": "string",
          "title": "Title"
         },
         "status": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ],
          "title": "Status",
          "default": null
         },
         "open_date": {
          "anyOf": [
           {
            "type": "string",
            "format": "date"
           },
           {
            "type": "null"
           }
          ],
          "title": "Open Date",
          "default": null
         },
         "close_date": {
          "anyOf": [
           {
            "type": "string",
            "format": "date"
           },
           {
            "type": "null"
           }
          ],
          "title": "Close Date",
          "default": null
         },
         "agency_code": {
          "anyOf": 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/federal-grant-search-api-ca363cfe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from grant-search.krimskrams.xyz](https://www.zero.xyz/host/grant-search.krimskrams.xyz/llms.txt)
