Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/noozra:noozra-government-contracts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Noozra Government contracts API
version: 1.4.0
contact:
name: Noozra
url: https://noozra.com
termsOfService: https://noozra.com/terms
description: 'Operations tagged Government contracts across 2 of this provider''s published API definitions: noozra-openapi.json, noozra-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://noozra.com
security:
- bearerAuth: []
tags:
- description: US federal contract opportunities from SAM.gov and contract awards from USAspending.
name: Government contracts
paths:
/api/awards:
get:
description: Federal contract awards of $25,000 or more from USAspending.gov. Each item's `date` is the day the contract was awarded. Sort with `sort`; page by passing `next_cursor` back as `cursor`. `as_of` is when the data was last known current. Records dated in the last 14 days for every key; API Pro reaches every record.
operationId: listAwards
parameters:
- description: Words in the recipient or description.
in: query
name: q
required: false
schema:
maxLength: 200
type: string
- description: Text found in the recipient's name, any case.
in: query
name: recipient
required: false
schema:
maxLength: 200
type: string
- description: Text found in the agency or sub-agency name, any case.
in: query
name: agency
required: false
schema:
maxLength: 200
type: string
- description: NAICS industry code, or its first digits (`23` is construction).
in: query
name: naics
required: false
schema:
pattern: ^[0-9]{2,6}$
type: string
- description: Two-letter state of the place of performance, such as TX.
in: query
name: state
required: false
schema:
maxLength: 2
minLength: 2
type: string
- description: Least award amount, in dollars.
in: query
name: min_amount
required: false
schema:
minimum: 0
type: number
- description: Only records dated on or after this day (YYYY-MM-DD). Within the last 14 days for every key; earlier needs API Pro (403 otherwise).
in: query
name: after
required: false
schema:
format: date
type: string
- description: '`newest`: by `date`, newest first; `largest`: by `amount`, largest first, records without one left out.'
in: query
name: sort
required: false
schema:
default: newest
enum:
- newest
- largest
type: string
- description: '`next_cursor` from the previous page, unchanged, with the same `sort`.'
in: query
name: cursor
required: false
schema:
type: string
- description: Items to return; clamped to 1–100.
in: query
name: limit
required: false
schema:
default: 20
maximum: 100
minimum: 1
type: integer
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AwardsResponse'
description: OK
headers:
X-Noozra-Plan:
$ref: '#/components/headers/X-Noozra-Plan'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'400':
description: A parameter out of shape (the `error` says which), a sort this dataset does not take, a cursor not given out for this sort, or a date outside 1970–9999
'401':
description: No API key, or an invalid or revoked one
'403':
description: '`after` reaches past the last 14 days: that needs API Pro'
'429':
description: Daily rate limit exceeded (honor the Retry-After header)
security:
- bearerAuth: []
summary: List federal contract awards
tags:
- Government contracts
servers:
- url: https://noozra.com
/api/awards/{id}:
get:
description: One record, in the shape `/api/awards` lists it. Without API Pro, one dated in the last 14 days; with it, any record.
operationId: getAward
parameters:
- description: An item's `id`.
in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Award'
description: OK
headers:
X-Noozra-Plan:
$ref: '#/components/headers/X-Noozra-Plan'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'400':
description: Not a UUID
'401':
description: No API key, or an invalid or revoked one
'404':
description: Unknown id (or, without API Pro, a record outside the free reach)
'429':
description: Daily rate limit exceeded (honor the Retry-After header)
security:
- bearerAuth: []
summary: One contract award
tags:
- Government contracts
servers:
- url: https://noozra.com
/api/contracts:
get:
description: 'Federal contract opportunities from SAM.gov: solicitations, pre-solicitations, sources sought and award notices. Each item''s `date` is the day the opportunity was posted. Sort with `sort`; page by passing `next_cursor` back as `cursor`. `as_of` is when the data was last known current. Records dated in the last 14 days for every key; a free key sees an opportunity 48 hours after Noozra first reads it. API Pro reaches every record as soon as it is read.'
operationId: listContracts
parameters:
- description: Words in the title or description.
in: query
name: q
required: false
schema:
maxLength: 200
type: string
- description: NAICS industry code, or its first digits (`23` is construction).
in: query
name: naics
required: false
schema:
pattern: ^[0-9]{2,6}$
type: string
- description: PSC (federal product and service code), or its first characters.
in: query
name: psc
required: false
schema:
pattern: ^[A-Za-z0-9]{1,4}$
type: string
- description: Text found in the agency or sub-agency name, any case.
in: query
name: agency
required: false
schema:
maxLength: 200
type: string
- description: Set-aside code, any case, such as SBA (small business), 8A, HZC or WOSB.
in: query
name: set_aside
required: false
schema:
type: string
- description: Two-letter state of the place of performance, such as TX.
in: query
name: state
required: false
schema:
maxLength: 2
minLength: 2
type: string
- description: Notice type, any case, such as Solicitation, Presolicitation, Sources Sought or Award Notice.
in: query
name: type
required: false
schema:
maxLength: 60
type: string
- description: Only records dated on or after this day (YYYY-MM-DD). Within the last 14 days for every key; earlier needs API Pro (403 otherwise).
in: query
name: after
required: false
schema:
format: date
type: string
- description: The same as `after`. Only records dated on or after this day (YYYY-MM-DD). Within the last 14 days for every key; earlier needs API Pro (403 otherwise).
in: query
name: posted_after
required: false
schema:
format: date
type: string
- description: Only opportunities whose response deadline is on or after this day.
in: query
name: deadline_after
required: false
schema:
format: date
type: string
- description: '`true`: only opportunities still open (active, and the deadline unset or ahead). `false`: closed ones too.'
in: query
name: active
required: false
schema:
default: true
type: boolean
- description: '`newest`: by `date`, newest first; `deadline`: open opportunities by response deadline, soonest first.'
in: query
name: sort
required: false
schema:
default: newest
enum:
- newest
- deadline
type: string
- description: '`next_cursor` from the previous page, unchanged, with the same `sort`.'
in: query
name: cursor
required: false
schema:
type: string
- description: Items to return; clamped to 1–100.
in: query
name: limit
required: false
schema:
default: 20
maximum: 100
minimum: 1
type: integer
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ContractsResponse'
description: OK
headers:
X-Noozra-Plan:
$ref: '#/components/headers/X-Noozra-Plan'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'400':
description: A parameter out of shape (the `error` says which), a sort this dataset does not take, a cursor not given out for this sort, or a date outside 1970–9999
'401':
description: No API key, or an invalid or revoked one
'403':
description: '`after` reaches past the last 14 days: that needs API Pro'
'429':
description: Daily rate limit exceeded (honor the Retry-After header)
security:
- bearerAuth: []
summary: List federal contract opportunities
tags:
- Government contracts
servers:
- url: https://noozra.com
/api/contracts/{id}:
get:
description: One record, in the shape `/api/contracts` lists it. Without API Pro, one dated in the last 14 days and read more than 48 hours ago; with it, any record.
operationId: getContract
parameters:
- description: An item's `id`.
in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Contract'
description: OK
headers:
X-Noozra-Plan:
$ref: '#/components/headers/X-Noozra-Plan'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
'400':
description: Not a UUID
'401':
description: No API key, or an invalid or revoked one
'404':
description: Unknown id (or, without API Pro, a record outside the free reach)
'429':
description: Daily rate limit exceeded (honor the Retry-After header)
security:
- bearerAuth: []
summary: One contract opportunity
tags:
- Government contracts
servers:
- url: https://noozra.com
components:
schemas:
Place:
properties:
address:
type:
- string
- 'null'
city:
type:
- string
- 'null'
country:
description: ISO 3166-1 alpha-3, such as USA.
type:
- string
- 'null'
latitude:
type:
- number
- 'null'
longitude:
type:
- number
- 'null'
state:
description: Two-letter state.
type:
- string
- 'null'
zip:
type:
- string
- 'null'
required:
- address
- city
- state
- zip
- country
- latitude
- longitude
type: object
Classification:
properties:
code:
type: string
description:
type:
- string
- 'null'
required:
- code
- description
type: object
AwardsResponse:
properties:
as_of:
description: 'When this dataset was last known current: the oldest last successful read among its sources (the city''s own, with `city`).'
format: date-time
type:
- string
- 'null'
awards:
items:
$ref: '#/components/schemas/Award'
type: array
count:
type: integer
next_cursor:
description: Pass as `cursor` for the next page; null at the end.
type:
- string
- 'null'
required:
- awards
- count
- next_cursor
- as_of
type: object
Contract:
properties:
active:
description: 'Still open: active, and the deadline unset or ahead.'
type: boolean
agency:
type:
- string
- 'null'
amount:
description: Dollars.
type:
- number
- 'null'
archive_date:
format: date
type:
- string
- 'null'
award:
properties:
amount:
type:
- number
- 'null'
awardee:
type:
- string
- 'null'
date:
format: date
type:
- string
- 'null'
number:
type:
- string
- 'null'
type:
- object
- 'null'
date:
description: 'YYYY-MM-DD: the day the opportunity was posted.'
format: date
type: string
description:
description: The source's own text, at most 1000 characters.
type:
- string
- 'null'
id:
format: uuid
type: string
naics:
oneOf:
- $ref: '#/components/schemas/Classification'
- type: 'null'
notice_type:
type:
- string
- 'null'
office:
type:
- string
- 'null'
place:
$ref: '#/components/schemas/Place'
psc:
oneOf:
- $ref: '#/components/schemas/Classification'
- type: 'null'
reference:
description: The record's own number at its source.
type: string
response_deadline:
format: date-time
type:
- string
- 'null'
set_aside:
properties:
code:
type:
- string
- 'null'
name:
type:
- string
- 'null'
type:
- object
- 'null'
solicitation_number:
type:
- string
- 'null'
source:
description: Who published the record. Name it when you show the record.
type: string
sub_agency:
type:
- string
- 'null'
title:
type: string
url:
description: The record at its source; for a city record without a page of its own, the city's dataset.
format: uri
type:
- string
- 'null'
required:
- active
- agency
- amount
- archive_date
- award
- date
- description
- id
- naics
- notice_type
- office
- place
- psc
- reference
- response_deadline
- set_aside
- solicitation_number
- source
- sub_agency
- title
- url
type: object
Award:
properties:
agency:
type:
- string
- 'null'
amount:
description: Dollars.
type:
- number
- 'null'
award_id:
type:
- string
- 'null'
award_type:
type:
- string
- 'null'
date:
description: 'YYYY-MM-DD: the day the contract was awarded.'
format: date
type: string
description:
description: The source's own text, at most 1000 characters.
type:
- string
- 'null'
end_date:
format: date
type:
- string
- 'null'
id:
format: uuid
type: string
naics:
oneOf:
- $ref: '#/components/schemas/Classification'
- type: 'null'
place:
$ref: '#/components/schemas/Place'
psc:
oneOf:
- $ref: '#/components/schemas/Classification'
- type: 'null'
recipient:
type:
- string
- 'null'
reference:
description: The record's own number at its source.
type: string
source:
description: Who published the record. Name it when you show the record.
type: string
start_date:
format: date
type:
- string
- 'null'
sub_agency:
type:
- string
- 'null'
url:
description: The record at its source; for a city record without a page of its own, the city's dataset.
format: uri
type:
- string
- 'null'
required:
- agency
- amount
- award_id
- award_type
- date
- description
- end_date
- id
- naics
- place
- psc
- recipient
- reference
- source
- start_date
- sub_agency
- url
type: object
ContractsResponse:
properties:
as_of:
description: 'When this dataset was last known current: the oldest last successful read among its sources (the city''s own, with `city`).'
format: date-time
type:
- string
- 'null'
contracts:
items:
$ref: '#/components/schemas/Contract'
type: array
count:
type: integer
next_cursor:
description: Pass as `cursor` for the next page; null at the end.
type:
- string
- 'null'
required:
- contracts
- count
- next_cursor
- as_of
type: object
headers:
X-RateLimit-Remaining:
description: Requests this key has left today.
schema:
type: integer
X-Noozra-Plan:
description: 'The key''s plan: free (personal and non-commercial use) or pro (commercial use of the API).'
schema:
type: string
X-RateLimit-Limit:
description: Requests this key may make today. Sent on answers to a request with a key.
schema:
type: integer
X-RateLimit-Reset:
description: Unix time, in seconds, of the next 00:00 UTC, when every count starts again.
schema:
type: integer
securitySchemes:
bearerAuth:
description: 'API key (nk_…), from a free account: https://noozra.com/register?next=%2Faccount%2Fapi. A new free key needs a card saved to the account; saving it charges nothing. Free (100/day, personal and non-commercial use) or API Pro (25,000/day, commercial use of the API and the archive). Required on every request except /api/categories and /api/datasets.'
scheme: bearer
type: http
x-refined-from:
- noozra-openapi.json
- noozra-openapi.json