{"name":"Grants.gov Funding Opportunities API","description":"Open and forecasted U.S. federal grant opportunities on Grants.gov matching a keyword, with each opportunity's title, number, agency, open date, close date and status.","api_id":"generated_7d43d8f01f26c9ff1ae14ee0","slug":"grants-gov-funding-opportunities-api","source":{"name":"Grants","domain":"api.grants.gov","url":"https://api.grants.gov/"},"category":"public_data","countries":[],"languages":[],"record_types":[],"tags":[],"limitations":[],"updated":"2026-12-02","note":"Sample records are saved samples, not a live run. CleanedWeb is not affiliated with the source.","version":"1.0","versions":[{"major":1,"latest_minor":"1.0","status":"current","sunset_at":null}],"changelog":[{"version":"1.0","date":"2026-12-01T14:32:14.000Z","kind":"major","changes":[]}],"version_note":"Pin a major with \"version\": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.","endpoints":[{"endpoint_id":"generated_7d43d8f01f26c9ff1ae14ee0_search","name":"List Grants.gov Funding Opportunities","description":"Return records within the accepted scope.","definition_version":"e6301663fc27f049476b23aaa217efb4c21309fdd1294e2964668c5320302632","method":"POST","path":"/v1/catalog/public/apis/generated_7d43d8f01f26c9ff1ae14ee0/endpoints/generated_7d43d8f01f26c9ff1ae14ee0_search/run","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_7d43d8f01f26c9ff1ae14ee0/endpoints/generated_7d43d8f01f26c9ff1ae14ee0_search/run","authentication":{"type":"bearer","scheme":"Authorization: Bearer <API key>","scope":"run","note":"Reading this file and the live catalog needs no credential. A run needs a CleanedWeb account and uses the credits of its workspace.","docs":"https://cleanedweb.com/docs/run-catalog-api/"},"required_headers":[{"name":"Authorization","value":"Bearer YOUR_API_KEY","description":"An API key with the run scope."},{"name":"Idempotency-Key","value":"UNIQUE_REQUEST_ID","description":"Required. Save it before you send; reuse it only to retry the same request and to read the result. 1-200 characters: letters, numbers, . _ : -"},{"name":"Content-Type","value":"application/json","description":"The body is JSON."}],"request_body":{"input":"An object that follows input_schema.","max_items":"Optional. Stop after this many records.","timeout_seconds":"Optional, 60-86400, default 10800.","wait_seconds":"Optional, 0-86400, default 90. How long the request waits before answering 202.","version":"Optional integer major. Leave it out for the latest major."},"input_schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200,"examples":["education","health","posted","synopsis"],"description":"Optional. Free text for the endpoint's \"Query\" field, sent as typed. Omit it for the endpoint's own records."},"opp_statuses":{"type":"string","minLength":1,"maxLength":200,"examples":["forecasted|posted"],"description":"Optional. Free text for the endpoint's \"Opp Statuses\" field, sent as typed. Omit it for the endpoint's own records.","default":"forecasted|posted"},"rows":{"type":"integer","examples":[25],"default":25,"description":"Optional. Whole number for the endpoint's \"Rows\" field, in the units its records use. Omit it for the endpoint's own value."}},"required":[],"additionalProperties":false},"output_schema":{"additionalProperties":false,"type":"object","properties":{"agency":{"type":"object","properties":{"name":{"type":["string"]},"code":{"type":["string"]}},"additionalProperties":false},"cfda_list":{"type":["array"],"x-cleanedweb-source-value-opaque":true},"dates":{"type":"object","properties":{"close":{"type":["string"]},"open":{"type":["string"]}},"additionalProperties":false},"doc_type":{"type":["string"]},"id":{"type":["string"]},"number":{"type":["string"]},"opp_status":{"type":["string"]},"title":{"type":["string"]}}},"examples":[{"kind":"saved_validation_records","saved_at":"2026-12-01T14:32:14.466Z","live_verified":false,"request":{"input":{}},"records_shown":2,"records_saved":2,"records":[{"agency":{"name":"Office of the Assistant Secretary for Health","code":"HHS-OPHS"},"dates":{"open":"08/01/2024"},"cfda_list":["93.137"],"doc_type":"forecast","id":"355824","number":"MP-CPI-25-001","opp_status":"forecasted","title":"Making America Healthy Again by Addressing Dementia Disparities"},{"agency":{"name":"Idaho Field Office","code":"DOE-ID"},"dates":{"open":"01/14/2016"},"cfda_list":["81.121"],"doc_type":"synopsis","id":"280932","number":"DE-SOL-0008246","opp_status":"posted","title":"RFI - DOE R"}]}],"request_example":{"body":{"input":{},"version":1,"max_items":25},"curl":"curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_7d43d8f01f26c9ff1ae14ee0/endpoints/generated_7d43d8f01f26c9ff1ae14ee0_search/run \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Idempotency-Key: UNIQUE_REQUEST_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n  \"input\": {},\n  \"version\": 1,\n  \"max_items\": 25\n}'"},"result":{"method":"GET","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_7d43d8f01f26c9ff1ae14ee0/endpoints/generated_7d43d8f01f26c9ff1ae14ee0_search/result","note":"A run that does not end within wait_seconds answers 202. Read the result with the same API key and the same Idempotency-Key."},"links":{"page":"https://cleanedweb.com/catalog/grants-gov-funding-opportunities-api/","markdown":"https://cleanedweb.com/catalog/grants-gov-funding-opportunities-api/index.md","live_contract":"https://app.cleanedweb.com/api/catalog/apis/generated_7d43d8f01f26c9ff1ae14ee0/endpoints/generated_7d43d8f01f26c9ff1ae14ee0_search/contract","run_docs":"https://cleanedweb.com/docs/run-catalog-api/"}}],"links":{"page":"https://cleanedweb.com/catalog/grants-gov-funding-opportunities-api/","markdown":"https://cleanedweb.com/catalog/grants-gov-funding-opportunities-api/index.md","contract":"https://cleanedweb.com/catalog/grants-gov-funding-opportunities-api/contract.json","catalog":"https://cleanedweb.com/catalog/","index":"https://cleanedweb.com/catalog/index.json","openapi":"https://cleanedweb.com/catalog/openapi.json"}}
