Skip to main content
POST
Search opportunities

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
query
string
cursor
string

Opaque cursor from the previous response's meta.nextCursor. Omit for the first page.

perPage
integer
default:25
Required range: x <= 100
status
default:open

Defaults to open for actionable opportunities. Use all, expired, cancelled, awarded, or not_cancelled for historical or specific lookup requests. Pass an array to match several statuses at once. Prediction records are always excluded.

Available options:
open,
all,
expired,
cancelled,
awarded,
not_cancelled
naics
string[]

NAICS codes to filter by, such as 541519.

placeIds
string[]

Canonical Govly Place ids to filter by, from the place search or list tools. Matches at any administrative level, so a state id also matches opportunities tagged only to a city inside it.

placeIdsNone
string[]

Canonical Govly Place ids to exclude. Same matching rules as placeIds.

buyerDescription
string

Federal buyer in natural language. An unrecognized buyer returns 400; use a more specific name. Not supported for sled or international searches.

includeSubBuyers
boolean

Include child agencies when true; use only with buyerDescription. If omitted, buyer selection determines whether children are included. Explicit false searches the selected buyer only.

recordType
enum<string>[]

Restrict published record types. Empty or omitted means all published types. Unsupported values are rejected.

Available options:
Solicitation,
Event,
Other
noticeType
enum<string>[]

Restrict notice types. Empty or omitted adds no restriction. Unsupported values are rejected.

Available options:
Amendment,
Award,
Catalog Request,
Combined Synopsis,
Market Research Request,
Presolicitation,
Q&A,
Reminder,
Request for Information,
Request for Proposal,
Request for Quote,
Reverse Auction,
Sources Sought,
Event,
Industry Day,
Presolicitation Conference,
Site Visit,
Justification,
Other
searchType
enum<string>

Market type: fed for federal, sled for state/local/education, international for non-US. Defaults to the authenticated user's market focus (fed or sled). sled and international require the matching organization subscription.

Available options:
fed,
sled,
international
postedAfter
string

Only include opportunities posted at or after this date/time. ISO 8601 dates work best.

postedBefore
string

Only include opportunities posted at or before this date/time. ISO 8601 dates work best.

modifiedAfter
string

Only include opportunities modified at or after this date/time. ISO 8601 dates work best.

modifiedBefore
string

Only include opportunities modified at or before this date/time. ISO 8601 dates work best.

respondByAfter
string

Only include opportunities with a response deadline at or after this date/time. ISO 8601 dates work best.

respondByBefore
string

Only include opportunities with a response deadline at or before this date/time. ISO 8601 dates work best.

awardedAfter
string

Only include awarded opportunities awarded at or after this date/time. ISO 8601 dates work best.

awardedBefore
string

Only include awarded opportunities awarded at or before this date/time. ISO 8601 dates work best.

sort
enum<string>
Available options:
modified_at,
posted_at,
respond_by,
relevance
sortDirection
enum<string>
Available options:
asc,
desc

Response

Matching opportunities

data
object[]
required
meta
object
required