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
enum<string>
default:open

Defaults to open for actionable opportunities. Use all, expired, cancelled, awarded, or not_cancelled for historical or specific lookup requests. Prediction records are always excluded.

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

NAICS codes to filter by, such as 541519.

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