Overview
<p>This API drives the <a href="https://discovery.gsa.gov">Discovery Market Research Tool</a>. It contains information on the vendors that are part of the OASIS and OASIS Small Business contracting vehicles, such as their contracting history, their elligibility for contract awards, and their small business designations. To learn more about the tool, please visit <a href="https://discovery.gsa.gov">Discovery</a> or see the README on our <a href="https://github.com/PSHCDevOps/discovery">GitHub repository</a>.</p> <p><strong>Please note that the base path for this API is <code>https://api.data.gov/gsa/discovery/</code></strong></p> <p>It requires an API key, obtainable at <a href="http://api.data.gov/">api.data.gov</a>. It must be passed in the <code>api_key</code> parameter with each request.</p>
Discovery Market Research is a development API from gsa.gov. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 5 endpoints.
At a glance
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Development
- Base URL
https://discovery.gsa.gov/- Version
- 0.1
- Endpoints
- 5
- OpenAPI
- Specification ↗
- Spec updated
- 2018-03-21
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://discovery.gsa.gov/api/contracts/" \
-H "Accept: application/json"const response = await fetch("https://discovery.gsa.gov/api/contracts/", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://discovery.gsa.gov/api/contracts/",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /api/contracts/ | This endpoint returns contract history from FPDS for a specific vendor |
| GET | /api/metadata/ | This endpoint returns metadata for the most recent data loads of SAM and FPDS data |
| GET | /api/naics/ | This endpoint lists all of the NAICS codes that are relevant to the OASIS family of vehicles |
| GET | /api/vendor/{duns} | This endpoint returns a single vendor by their 9 digit DUNS number |
| GET | /api/vendors/ | This endpoint returns a list of vendors filtered by a NAICS code |
Questions
Does the Discovery Market Research API need an API key?
No. The Discovery Market Research API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the Discovery Market Research API support HTTPS?
Yes, the Discovery Market Research API is served over HTTPS.
How many endpoints does the Discovery Market Research API have?
Its OpenAPI description lists 5 endpoints in version 0.1. All of them are shown on this page.
What are alternatives to the Discovery Market Research API?
Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.
Similar development APIs
Compare alternatives →Cloudflare
DevelopmentManage DNS, CDN, Workers and other services; documented with an official OpenAPI 3.0 spec
Azure DevOps
DevelopmentThe Azure DevOps basic components of a REST API request/response pair
IPify
DevelopmentA simple IP Address API
App Store Connect API
DevelopmentThe data structure that represents an app store connect api resource.
StackExchange
DevelopmentQ&A forum for developers
IPinfo
DevelopmentAnother simple IP Address API
Listed from APIs.guru (CC0).