{"openapi":"3.0.1","info":{"title":"RfpApi","description":"Discover open funding opportunities by geographic area, population served, and subject area to help advance your mission.","version":"1.0"},"servers":[{"url":"https://api.candid.org/rfp"},{"url":"https://apidata.guidestar.org/rfp"}],"paths":{"/v1/opportunity":{"get":{"tags":["RFP"],"parameters":[{"name":"opportunity_id","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityProfile"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Internal Server Error"}}}},"/v1/profile":{"get":{"tags":["RFP"],"parameters":[{"name":"entity_id","in":"query","schema":{"type":"string"}},{"name":"search_term","in":"query","schema":{"type":"string"}},{"name":"subject_area","in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"population_served","in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"geographic_area","in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"page_number","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"size","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"sort_order","in":"query","schema":{"$ref":"#/components/schemas/ValidSortOrder"}},{"name":"sort_type","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityProfileListResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Internal Server Error"}}}},"/v1/search":{"get":{"tags":["RFP"],"parameters":[{"name":"search_term","in":"query","schema":{"type":"string"}},{"name":"subject_area","in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"population_served","in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"geographic_area","in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"page_number","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"size","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"sort_order","in":"query","schema":{"$ref":"#/components/schemas/ValidSortOrder"}},{"name":"sort_type","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityProfileListResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Internal Server Error"}}}}},"components":{"schemas":{"OpportunityProfile":{"type":"object","properties":{"id":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"amount":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"deadline":{"type":"string","nullable":true},"deadline_text":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"taxonomy_codes":{"type":"array","items":{"type":"string"},"nullable":true},"taxonomy_hierarchy":{"type":"array","items":{"type":"string"},"nullable":true},"opportunity_date_added":{"type":"string","nullable":true,"readOnly":true},"type":{"type":"array","items":{"type":"string"},"nullable":true},"applicant_type":{"type":"array","items":{"type":"string"},"nullable":true},"funder_admin1":{"type":"string","nullable":true},"funder_city":{"type":"string","nullable":true},"funder_country_code":{"type":"string","nullable":true},"funder_country_name":{"type":"string","nullable":true},"funder_name":{"type":"string","nullable":true},"funder_id":{"type":"string","nullable":true},"funder_location":{"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"funder_seal":{"$ref":"#/components/schemas/SealModel"},"geo":{"type":"array","items":{"type":"integer","format":"int64"},"nullable":true},"geo_names":{"type":"array","items":{"type":"string"},"nullable":true},"geo_location_name":{"type":"array","items":{"type":"string"},"nullable":true},"limitations_text":{"type":"string","nullable":true}},"additionalProperties":false},"OpportunityProfileListResponse":{"type":"object","properties":{"results_count":{"type":"integer","format":"int32"},"total_page_count":{"type":"integer","format":"int32"},"current_page":{"type":"integer","format":"int32"},"row_count":{"type":"integer","format":"int32"},"opportunities":{"type":"array","items":{"$ref":"#/components/schemas/OpportunityProfile"},"nullable":true}},"additionalProperties":false},"ProblemDetails":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"instance":{"type":"string","nullable":true}},"additionalProperties":{}},"SealModel":{"type":"object","properties":{"seal":{"type":"string","nullable":true},"year":{"type":"string","nullable":true},"image":{"type":"string","nullable":true},"description":{"type":"string","nullable":true}},"additionalProperties":false},"ValidSortOrder":{"enum":["asc","desc"],"type":"string"}}},"x-readme":{"explorer-enabled":true,"proxy-enabled":true}}