Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaHealthAvailable now

NIH Guide for Grants and Contracts · Search

grants-nih-gov/opportunities/search

Get health and medical data with NIH Guide for Grants and Contracts · Search from Alexandria through one Spiral API key. Ad-hoc lookups for a user (all active R01 NOFOs from NIDA, PARs mentioning substance use disorder). Use records_list for a full snapshot. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

$0.00873 per call.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
typeone of
active, activenosis, expired, expirednosis, notices
active

type

querytext—

Free text; wrap a phrase or a docnum in double quotes for an exact match.

cursortext—

cursor

doctypeone of
RFA, PA, PAR, PAS, NOSIS
—

doctype

page_sizenumber
1 to 100
20

page_size

parent_ictext—

Parent organization code, e.g. NIH, CDC, FDA, AHRQ. Pattern: ^[A-Za-z]{2,10}$.

primary_ictext—

Issuing IC code, e.g. NIDA, NCI, OD. Pattern: ^[A-Za-z]{2,10}$.

activity_codetext—

Activity code, e.g. R01, R61, K99, Admin Supp. Pattern: ^[A-Za-z0-9 ]{2,12}$.

notice_subjecttext—

notice_subject

clinical_trialsone of
Required, Optional, Not_Allowed, Basic_Trial, Required_Infrastructure
—

clinical_trials

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "grants-nih-gov/opportunities/search",
    "input": {
      "type": "active"
    }
  }'

Frequently asked questions

How much does NIH Guide for Grants and Contracts · Search cost?

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use NIH Guide for Grants and Contracts · Search through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "grants-nih-gov/opportunities/search"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use NIH Guide for Grants and Contracts · Search?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use NIH Guide for Grants and Contracts · Search?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.