Keywords Search
Description: This Method outputs Company data (from SBIR.gov database) that contain the Keyword entered.
Example: https://api.www.sbir.gov/public/api/firm?keyword=abc
Return Types: XML, JSON
Fields returned from the API = firm_nid, company_name, sbir_url, uei, duns, address1, address2, city, state, zip, company_url, hubzone_owned, socially_economically_disadvantaged, woman_owned, number_awards
Company Name Search
Description: This Method outputs Company data (from SBIR.gov database) that contain the Company Name entered.
Example: https://api.www.sbir.gov/public/api/firm?name=abc
Return Types: XML, JSON
Fields returned from the API = firm_nid, company_name, sbir_url, uei, duns, address1, address2, city, state, zip, company_url, hubzone_owned, socially_economically_disadvantaged, woman_owned, number_awards
UEI Search
Description: This Method outputs Company data (from SBIR.gov database) that contain the UEI entered.
Example: https://api.www.sbir.gov/public/api/firm?uei=123456789
Return Types: XML, JSON
Fields returned from the API = firm_nid, company_name, sbir_url, uei, duns, address1, address2, city, state, zip, company_url, hubzone_owned, socially_economically_disadvantaged, woman_owned, number_awards
Additional Information
Rows per request:
The API default response will contain a maximum of 100 rows, if your search yields more results you can paginate to the next result or increase the amount of data in the SBIR response with the rows parameter. Limit 5,000 or less.
Example: https://api.www.sbir.gov/public/api/firm?rows=100
Example: https://api.www.sbir.gov/public/api/firm?rows=1000
Pagination and Maneuvering through Pages:
To continue to receive the remaining portions of your search results you must enable the starting offset parameter also known as Offset-based Pagination. The pages for this API have set limits for number of records per request as mentioned above. Using the assumption that the limitation is set to 100 records below is an example of how the pagination is set for this API
For Page 2 Example: https://api.www.sbir.gov/public/api/firm?start=100
For Page 3 Example: https://api.www.sbir.gov/public/api/firm?start=200
Note: The starting offset is akin to “provide me with all results after this given number of records”, and if you go off the end of the total number of pages you will no longer receive results.
Return Types:
The API default return type is JSON. To change the return type from the API you will need to modify the document type in the URL request.
Example: Return Type=XML
https://api.www.sbir.gov/public/api/firm?format=xml
Example: Return Type= JSON
https://api.www.sbir.gov/public/api/firm
Sorting:
On this endpoint we currently support three basic sorting mechanisms. These selected sorts are all in descending order.
Name: https://api.www.sbir.gov/public/api/firm?sort=name