API reference
Read the record from your own tools. Every route a key can call is on this page, with its parameters, the fields it answers with and one example.
Get a key
An API key comes with the Capture and Enterprise plans. Open Account in the app, find API access and press Create a key.
The key is shown once, so copy it then. Making a new key stops the old one, and so does changing your password.
A key belongs to the person who made it. It reads what that person can read, on the account they are working in.
Send the key
Send the key in a header named x-lawd-key on every request.
The API is read only, with one exception: the instant triggers and actions below, which subscribe to an event and add a contact, an organization, a pursuit or a task. Anything else that would add, change or remove something is refused.
x-lawd-key: YOUR_KEY
A first request
Every address below is added to your base address, which is shown beside your key in Users and billing. Answers are JSON.
Ask for /api with your key to get this whole description as JSON, with the limits of your own plan.
Written with BASE where your base address goes:
curl -H "x-lawd-key: YOUR_KEY" "BASE/awards?naics=332710&state=FL&per_page=25"
Pages and order
A list answers with total, rows and capped. per_page sets how many rows come back, from 1 to 200, and page moves through them, counted from 1.
sort names what to order by and dir is asc or desc. Each list says which values sort takes.
One search returns up to the number of rows your plan allows. total is counted up to that number. When more matched, capped holds the number you can page through; otherwise it is empty.
Some lists, most of them over a source of their own, do not count every match. They answer more in place of total: true when there is another page.
A filter that takes a list takes values separated by commas.
Errors
An error is JSON with three parts: code, a short name; message, one plain sentence; and data, which holds the status.
401 means the key is missing or is not recognized. 403 means the request is not allowed: it was not a GET, or the plan does not open that list. 404 means there is no such record. 429 means the key has asked too often.
When the service is busy an answer can leave out an optional part. It says which under skipped. Ask again to get it.
{"code":"lawd_not_found","message":"Award not found.","data":{"status":404}}
Zapier, Make and instant triggers
A Zapier or Make app, or a script of your own, can be told of an event as it happens: subscribe an address to it with POST /connect/hooks and stop with DELETE /connect/hooks/{id}. /connect/sample/{event} gives the fields to map, and /connect/me tests the key.
Each call to your address is a POST of JSON, signed with the secret the subscription was given: X-LastAwarded-Signature is t=<time>,v1=<HMAC-SHA256 of time.body in hexadecimal>. An answer from 200 to 299 counts as delivered; anything else is sent again later.
The owner or a manager of the account subscribes. Adding a record is held to the role of the person who made the key, and to your plan's calls a minute and a day.
Asking too often
A key may ask a generous number of times a minute and a day, more than a script reading the record needs.
Past that the answer is 429, with a Retry-After header that says how many seconds to wait. Wait that long and ask again. Nothing is lost.
Notices
GET /opps
Contract notices on record, open and past, newest first.
Parameters
qtext
Words in the title or the description.naicslist
NAICS codes, separated by commas. A code of fewer than six digits matches every code that starts with it.psclist
Product or service codes, separated by commas. A shorter code matches every code that starts with it.statelist
Two-letter state codes, separated by commas: where the work is performed.buyertext
Part of the name of a buying office or sub-agency.set_asidelist
Set-aside codes, separated by commas, as /set-asides lists them. ANY_SB means any small business set-aside.ntypelist
Kinds of notice, separated by commas, in the source's own words: Solicitation, Sources Sought, Presolicitation, Award Notice.categorytext
One kind of work, as the record sorts notices: the same values the category field holds.activechoice
1 for notices still open, 0 for notices that have closed.fromdate
Posted on or after this date, as YYYY-MM-DD.todate
Posted on or before this date, as YYYY-MM-DD.deadline_fromdate
Offers due on or after this date.deadline_todate
Offers due on or before this date.entitywhole number
The company an award notice names, as a company id.watch_onlyswitch
Send 1 to keep only what your own watches match.sortchoice
What to order by: posted, deadline, title, buyer, naics, amount. Left out, it is posted.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id notice_id title sol_number dept subtier office posted ntype base_type naics psc set_aside set_aside_code deadline active pop_city pop_state award_date award_amount awardee_name entity_id ui_link category ai_fit desc_fetched has_brief
Beside the rows: total capped counted facets closing_7 new_7
Example
GET /opps?naics=332710&active=1&sort=deadline&dir=asc
GET /opps/{id}
One notice: its text, links and contacts, what the same office paid last time, and what it became.
Parameters
idin the address
The id of the notice, or its notice_id.
The answer holds
id notice_id title sol_number org_path dept subtier office posted posted_at archive_date archive_type notice_status ntype base_type naics psc set_aside set_aside_code deadline prev_deadline amended_at amendments active archived pop_city pop_state pop_zip pop_country pop_street office_city office_state office_zip office_country addl_info_link named_links award_date award_amount award_number awardee_name awardee_uei entity_id description desc_fetched ui_link links pocs ai_brief ai_json ai_fit category tags source created_at updated_at sam_url naics_title psc_title bkey last_time related office_vehicles office_people became lead_time watched pipeline rules budget labor
Some of the time: band entry forecast interest documents
Example
GET /opps/48213
GET /archive
The archive of notices that have closed, as SAM.gov publishes it, newest first. It goes back further than the notices above.
Parameters
qtext
Words in the title, each of three letters or more, or a whole solicitation or contract number.naicslist
NAICS codes, separated by commas. A code of fewer than six digits matches every code that starts with it.psclist
Product or service codes, separated by commas. A shorter code matches every code that starts with it.statelist
Two-letter state codes, separated by commas: where the work is performed.buyertext
The start of the name of the office that posted it.ntypelist
Kinds of notice, separated by commas, in the source's own words: Solicitation, Sources Sought, Presolicitation, Award Notice.set_asidelist
Set-aside codes, separated by commas, as /set-asides lists them. ANY_SB means any small business set-aside.fywhole number
One federal fiscal year, by the date the notice was posted.fromdate
Posted on or after this date, as YYYY-MM-DD.todate
Posted on or before this date, as YYYY-MM-DD.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 100. Left out, it is 50.
Each row under rows holds
id notice_id sol title ntype base_type posted deadline archive_date fy dept subtier office naics psc set_aside_code set_aside pop_city pop_state award_number award_date award_amount awardee link
Beside the rows: page per_page more on_file by slow failed need capped span reading
Example
GET /archive?naics=332710&fy=2019
GET /archive/{id}
One closed notice: its words, the other notices posted under its number, and the awards that carry that number.
Parameters
idin the address
The id of the closed notice.
The answer holds
id notice_id sol title ntype base_type posted deadline archive_date fy dept subtier office naics psc set_aside_code set_aside pop_city pop_state award_number award_date award_amount awardee link said trail awards
Example
GET /archive/88120
GET /meaning/search
Open notices, or contracts ending, found from a description of the work: the codes and the words read from it, and each row with why it was found.
Parameters
texttext
What the company does, in a sentence or a paragraph of three letters or more. Not needed when fits is sent.fitsswitch
Send 1 to read the codes off the company record of your own account, and leave text out.kindchoice
opps for open notices, recompetes for contracts ending. Left out, it is opps.droplist
What to leave out of what was read, separated by commas, each written as the answer writes it under read: naics:332710, psc:4820 or word:valve.naicslist
NAICS codes, separated by commas: only what was read inside them is looked for.statelist
Two-letter state codes, separated by commas: where the work is performed.set_asidelist
Set-aside codes, separated by commas, as /set-asides lists them. ANY_SB means any small business set-aside.pagewhole number
Which page, counted from 1. A page holds 25 rows.
Each row under rows holds
id notice_id title sol_number subtier office posted ntype naics psc set_aside_code deadline active pop_city pop_state match fit
Beside the rows: total page per_page seen more cut capped notes kind text read
These are the fields of an open notice. With kind=recompetes a row holds: id award_id end_date months_out entity_id recipient_name naics psc awarding_sub awarding_office amount set_aside_code pop_state score match fit.
Example
GET /meaning/search?text=We%20overhaul%20hydraulic%20actuators&kind=recompetes
GET /meaning/like/{id}
Other open notices and contracts ending that share the codes and the words of one notice.
Parameters
idin the address
The id of the notice.
The answer holds
id naics read notices notices_total recompetes recompetes_total cut says
Example
GET /meaning/like/48213
Awards
GET /awards
Contract awards on record, newest first.
Parameters
qtext
Words in the description or the company name.naicslist
NAICS codes, separated by commas. A code of fewer than six digits matches every code that starts with it.psclist
Product or service codes, separated by commas. A shorter code matches every code that starts with it.statelist
Two-letter state codes, separated by commas: where the work is performed.rec_statelist
Two-letter state codes, separated by commas: where the winner is registered.buyertext
Part of the name of a buying office or sub-agency.agencytext
Part of the name of an agency.recipienttext
Part of the name of the company that won.entitywhole number
The company that won, as a company id.ueitext
One registration of a company, by its Unique Entity ID.set_asidelist
Set-aside codes, separated by commas, as /set-asides lists them. ANY_SB means any small business set-aside.competedtext
Part of the extent competed, in the record's own words.categorytext
One kind of work, as the record sorts awards: the same values the category field holds.fromdate
Started on or after this date, as YYYY-MM-DD.todate
Started on or before this date, as YYYY-MM-DD.fywhole number
One federal fiscal year.minnumber
Obligated dollars of at least this.maxnumber
Obligated dollars of at most this.offerschoice
How many offers the buyer received: 1, 2-4, 5+, any (the number is on record) or none (it is not).watch_onlyswitch
Send 1 to keep only what your own watches match.sortchoice
What to order by: date, amount, end, recipient, buyer, naics. Left out, it is date, the start date.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id source gen_id piid recipient_name recipient_uei entity_id awarding_agency awarding_sub awarding_office naics psc psc_desc description amount base_all_options start_date end_date potential_end_date pop_city pop_state rec_state set_aside_code extent_competed offers award_type category detail_fetched fy
Beside the rows: total capped counted sum sum_counted sum_capped facets
Example
GET /awards?naics=332710&state=FL&per_page=25
GET /awards/{id}
One award: every field on record, its changes over time, its subawards and the notice it came from.
Parameters
idin the address
The id of the award.
The answer holds
id source gen_id piid parent_piid recipient_name recipient_uei recipient_cage entity_id awarding_agency awarding_sub awarding_office funding_agency funding_sub naics naics_desc psc psc_desc description amount base_all_options base_exercised subaward_count subaward_total sub_plan sole_authority start_date end_date potential_end_date date_signed last_modified pop_city pop_state pop_zip pop_county withdrawn pop_country rec_city rec_state rec_zip rec_country set_aside set_aside_code extent_competed offers solicitation_id award_type idv_type pricing_type category tags detail_fetched parent_gen_id idv_kids idv_kids_total tx_fetched fy created_at updated_at naics_title usaspending_url award_search_url bkey recompete same_buyer_recent pipeline history vehicle vehicle_row subawards notice band ot
Example
GET /awards/901245
GET /recompetes
Contracts whose period of performance ends soon, each with a score and the reasons for it.
Parameters
monthswhole number
How many months ahead to look, up to what your plan reaches. Left out, it is 12.naicslist
NAICS codes, separated by commas.psclist
Product or service codes, separated by commas.statelist
Two-letter state codes, separated by commas: where the work is performed.buyertext
Part of the name of a buying office or sub-agency.agencytext
Part of the name of an agency.qtext
Words in the description of the contract or in the name of the company that holds it.entitywhole number
The company that holds the contract, as a company id.recipienttext
Part of the name of the company that holds the contract.set_asidelist
Set-aside codes, separated by commas, as /set-asides lists them. ANY_SB means any small business set-aside.minnumber
Obligated dollars of at least this.maxnumber
Obligated dollars of at most this.offerschoice
How many offers the buyer received: 1, 2-4, 5+, any (the number is on record) or none (it is not).watch_onlyswitch
Send 1 to keep only what your own watches match.sortchoice
What to order by: end, amount, score, recipient, buyer, recurs, field. Left out, it is end, with the soonest end date first.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id award_id end_date potential_end months_out entity_id recipient_name naics psc bkey awarding_sub awarding_office amount base_all_options set_aside_code extent_competed offers pop_state score signals recur_years recur_n mkt_vendors why updated_at description piid gen_id source
Some of the time: score_market yours
Beside the rows: total capped months sum
Example
GET /recompetes?naics=332710&months=18&sort=score
GET /announcements
Every award the Department of War announced, read into its fields, newest first, with the totals and charts of the awards the filters leave.
Parameters
qtext
Words in the companies, what is bought, the contracting activity or the announcement, each of three letters or more; or a contract or modification number.servicetext
One part of the department, as the services list of the first page names it.companytext
A company named in the award, or part of its name.entitywhole number
A company on record, by its id: the awards matched to it.bkeytext
A buying office, by its key: the awards whose contracting activity it is.officetext
An office code, the first six characters of a defense contract number.sttext
The two letters of a state a company named in the award is in.minnumber
An amount of at least this many dollars.maxnumber
An amount of at most this many dollars.typechoice
ffp, fp, cost, tm, idiq, multi, uca, order or ot for a type of contract; mod for modifications; ceiling for ceilings.fromdate
Announced on or after this date, as YYYY-MM-DD.todate
Announced on or before this date, as YYYY-MM-DD.naicstext
A NAICS code, or its first two to five figures, where the award record gives one.competedchoice
1 for competed, 0 for not competed, none for an award that does not say.smallchoice
1 for awards to a small business, 0 for awards to the others.fmschoice
1 for awards that involve foreign military sales.kindchoice
award for awards only, correction for corrections of earlier days only. Left out, both.daywhole number
One day of announcements, by the day_id an award gives.sortchoice
new (the default), old, amount, company, service or state.partchoice
rows for the awards alone, figures for the totals and charts alone. Left out, both.pagewhole number
Which page, counted from 1.per_pagewhole number
Awards on a page, from 1 to 100. Left out, it is 25.
Each row under rows holds
id day_id n day kind service agency company place st small co_n companies amount amt_kind total contract_no mod_no is_mod ctype what activity office competed offers oblig fms unsure eid bkey award_id naics
Beside the rows: page per_page more total on_file whole by need slow failed capped figures services types reading day
amt_kind says what the amount is: value, ceiling, modification, order or obligation. companies lists every company named, each with name place st small mark eid numbers. unsure names the fields read by a fallback. figures holds n sum oblig small competed sole ceilings mods on_record fms from to and the charts by_service by_company by_state by_week; a correction is listed and not counted in them.
Example
GET /announcements?service=Navy&type=idiq&sort=amount
GET /announcements/{id}
One award with every field read out of it, its paragraph as published, its day, and the award record, company and buying office it is matched to.
Parameters
idin the address
The id of the award, as /announcements returns it.
The answer holds
on_file award
award holds the fields of the list with the whole of what, and para, places (place st pct), places_note, done_on, done_text, funds, funds_fy, funds_note, compete_note, sb_note, day_page (id day title link), record (the award record once it has it), entities, buyer and related (other announcements of the same contract).
Example
GET /announcements/412
Companies
GET /entities
Companies that have won federal awards, the largest first.
Parameters
qtext
Part of a company name, or a whole Unique Entity ID or CAGE code.statelist
Two-letter state codes, separated by commas: where the company is.naicslist
NAICS codes, separated by commas: companies with an award in any of them.buyertext
Part of the name of an office or sub-agency the company has won at.samswitch
Send 1 for companies with a registration on file.sbswitch
Send 1 for companies the record marks as small business of any kind.recentswitch
Send 1 for companies seen in the last two years.sortchoice
What to order by: total, count, name, last. Left out, it is total, the dollars won.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id name uei cage city state primary_naics sam_registered awards_count awards_total first_seen last_seen sb_flags
Beside the rows: total capped answer
Example
GET /entities?naics=332710&state=FL&sort=count
GET /entities/{id}
One company: its registrations, where it wins, its recent awards and the contracts it holds that end soon.
Parameters
idin the address
The id of the company.
The answer holds
id name norm uei cage duns parent_name city state zip primary_naics naics_list sb_flags sam_registered sam_status website awards_count awards_total opps_won first_seen last_seen merged_into verified notes sba_certs cert_8a_exit integrity_count integrity_last integrity_checked pocs_checked proceedings_q created_at updated_at aliases registrations by_fy buyers naics_mix psc_mix states set_asides subawards recent recompetes notices_won integrity cert_risk avg_award sam_url ahead watched vehicles labor jna exclusions exclusions_checked is_you meet tracked read by_office kin reg ot
Example
GET /entities/3310
GET /sec/companies
Companies on record that are matched to a filer at the SEC, each with its ticker, its industry, its latest annual revenue and its awards.
Parameters
qtext
Part of a company name or of an industry, or a whole ticker.sortchoice
What to order by: name, ticker, industry, revenue or awards. Left out, it is revenue.dirchoice
asc or desc. Left out, it is desc for revenue and awards and asc for the others.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 100. Left out, it is 50.
Each row under rows holds
cik sec_name ticker exchange industry revenue rev_fy basis entity_id name state awards_total awards_count sure regs subs listed quote filings_url
Beside the rows: on_file total page per_page more sort dir slow failed q
Example
GET /sec/companies?q=aerospace&sort=awards
GET /sec/company/{id}
What one company has filed with the SEC: its ticker, its revenue and net income by year beside its awards, and its latest filings.
Parameters
idin the address
The id of the company, as /entities returns it.
The answer holds
on_file matched
Some of the time: says cik sec_name matched_name our_name ticker tickers exchange exchanges sic industry fye inc_state basis via sure years years_missing fed_known years_differ filings no_figures read_on listed filings_url main family part_of
A company that is not matched to a filer answers on_file and matched alone. The rest are there when matched is true. main is true on the tied company with the most awarded, where the filer's own figures are shown; family gives, when several companies are tied, how many registrations and subsidiaries and their awards added up; part_of names, on any other tied company, the filer it is part of with its ticker, its quote and the main company's id.
Example
GET /sec/company/3310
GET /suppliers
Companies with an active registration at SAM.gov, whether or not they have won an award, each with what it has won when it has.
Parameters
qtext
Part of a name, a trade name or a city, or a whole Unique Entity ID or CAGE code.naicslist
NAICS codes, separated by commas: companies registered under any of them. A code of fewer than six digits matches every code that starts with it.statelist
Two-letter state codes, separated by commas: where the company is.set_asidelist
Small business types, separated by commas, as the sb_types field holds them.ziplist
ZIP codes, or their first three or four digits, separated by commas.countylist
Counties, separated by commas, with exactly one state.wonchoice
1 for companies that have won a federal award, 0 for those that have not.sortchoice
What to order by: name, city, exp, won, state, zip, county. Left out, it is name, from A.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id uei cage name dba city state zip county primary_naics naics_list sb_types business_types status expiration website entity_id primary_title won awards awards_total first_award last_award
Beside the rows: total capped coverage places county_left
Example
GET /suppliers?naics=332710&state=FL&won=0
GET /exclusions
Companies and people excluded from federal awards, as SAM.gov lists them, the newest first.
Parameters
qtext
Part of a name, a Unique Entity ID or a CAGE code.agencytext
Part of the name of the agency that excluded them.statelist
Two-letter state codes, separated by commas: where the one excluded is.show_endedswitch
Send 1 to include exclusions that have ended.sortchoice
What to order by: started, name, ends, agency. Left out, it is started, the newest first.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id sam_key name norm_name uei cage entity_id classification excl_type excl_program agency city state activation_date termination_date active updated_at
Beside the rows: total capped checked as_of any facets
Example
GET /exclusions?state=FL&sort=name&dir=asc
Buying offices and agencies
GET /buyers
Buying offices that have made awards, the largest first.
Parameters
qtext
Part of the name of an office, a sub-agency or an agency.agencytext
Part of the name of an agency.naicslist
NAICS codes, separated by commas: offices that have bought in any of them.sortchoice
What to order by: total, count, name, last, sb. Left out, it is total, the dollars awarded.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id bkey agency sub office awards_count awards_total sb_count vendors last_award
Beside the rows: total capped
Example
GET /buyers?naics=332710&sort=count
GET /buyers/{key}
One buying office: what it buys, who wins there, its open notices and the contracts ending there.
Parameters
keyin the address
The bkey of the office: 32 characters.
The answer holds
id bkey agency sub office awards_count awards_total sb_count vendors last_award top_naics top_vendors by_fy updated_at states set_asides recent recompetes active_opps label behaviour vehicles advocates lead_time yours people_named tracked ot
Some of the time: band entry
Example
GET /buyers/0123456789abcdef0123456789abcdef
GET /agencies
Every agency on record with its offices, awards, open notices and grants counted.
It takes no parameters.
Each row under agencies holds
agency offices subs n s sb last_award slug open_notices grants_n grants_s
Beside the rows: total updated
Example
GET /agencies
GET /agencies/{slug}
One agency: its sub-agencies and offices, what it buys, who wins, and its open notices.
Parameters
slugin the address
The slug of the agency, as /agencies returns it.
The answer holds
slug agency awards_count awards_total offices sb_count last_award subs top_offices top_naics top_vendors by_fy open_notices recent_opps recompetes_12 grants grant_programs history_loading updated watched policy
Example
GET /agencies/department-of-defense
Contacts
GET /contacts
The people named on notices as the point of contact, with the office they buy for.
Parameters
qtext
Part of a name, a job title or an email address.buyertext
Part of the name of a buying office or sub-agency.agencytext
Part of the name of a department or sub-agency.naicslist
NAICS codes, separated by commas: people whose notices are most often in any of them.open_onlyswitch
Send 1 for people with a notice open now.rolechoice
What the person is there for: smallbiz, officer, specialist or technical.sortchoice
What to order by: notices, open, name, office, last. Left out, it is notices, the number of notices that name them.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id ckey name title email phone ptype dept subtier office bkey notices open_notices first_seen last_seen top_naics role role_label role_says
Beside the rows: total capped roles answer
Example
GET /contacts?buyer=aviation&open_only=1
GET /contacts/{id}
One contracting person: their open notices, their recent ones and the colleagues in the same office.
Parameters
idin the address
The id of the person, or their ckey.
The answer holds
id ckey name title email phone ptype dept subtier office bkey notices open_notices first_seen last_seen top_naics top_psc updated_at notices_open notices_recent colleagues tracked
Example
GET /contacts/5521
Vehicles
GET /vehicles
Contract vehicles on record: who holds each, its ceiling, what has been ordered and when it ends.
Parameters
qtext
Part of a holder name, a contract number, a description or a solicitation number.naicslist
NAICS codes, separated by commas.psclist
Product or service codes, separated by commas.kindlist
Kinds of vehicle, separated by commas: gwac, schedule, bpa, boa, idiq, idv.set_asidelist
Set-aside codes, separated by commas, as /set-asides lists them.statelist
Two-letter state codes, separated by commas: where the work is performed.holdertext
Part of the name of the company that holds it.buyertext
Part of the name of a buying office or sub-agency.agencytext
Part of the name of an agency.bkeytext
One buying office, by its bkey.entity_idwhole number
The company that holds it, as a company id.liveswitch
Send 1 for vehicles still inside their ordering period.dormantswitch
Send 1 for vehicles whose ordering period has ended.multiswitch
Send 1 for vehicles with more than one holder.soleswitch
Send 1 for vehicles with one holder.ends_withinwhole number
Live vehicles that end within this many days.headroomwhole number
Vehicles with a ceiling that have used at most this percent of it.min_ceilingnumber
A ceiling of at least this many dollars.orderingswitch
Send 1 for vehicles with at least one order on record.watch_onlyswitch
Send 1 to keep only what your own watches match.sortchoice
What to order by: ends, ceiling, ordered, orders, used, holders, holder, buyer, start, last_order. Left out, it is ends: live vehicles first, the soonest end date at the top.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id vkey award_id gen_id piid solicitation_id kind idv_type holder holder_entity_id holders awarding_agency awarding_sub awarding_office bkey naics psc set_aside_code pop_state ceiling ordered used_pct orders order_codes start_date end_date potential_end_date last_order days_left live description signals updated_at naics_title kind_label own codes_carried carries via ordered_to ordered_to_more
Beside the rows: total capped totals facets
Example
GET /vehicles?naics=541330&live=1&multi=1
GET /vehicles/{id}
One vehicle: its orders, the codes ordered under it, the other holders and the subcontractors named under it.
Parameters
idin the address
The id of the vehicle, or its vkey.
The answer holds
id vkey award_id gen_id piid solicitation_id kind idv_type holder holder_entity_id holders awarding_agency awarding_sub awarding_office bkey naics psc set_aside_code pop_state ceiling ordered used_pct orders order_codes start_date end_date potential_end_date last_order days_left live description signals updated_at naics_title kind_label orders_listed orders_list top_codes order_holders orders_recent co_holders band buyer_vehicles subcontractors standing left carries codes_n watching way_in
Some of the time: pipeline
Example
GET /vehicles/774
Subawards and grants
GET /subawards
Subcontracts that prime contractors reported, newest first.
Parameters
qtext
Words in the description, the subcontractor name or the prime name.naicslist
NAICS codes, separated by commas.psclist
Product or service codes, separated by commas.statelist
Two-letter state codes, separated by commas: where the subcontractor is, or where the work is performed.primetext
Part of the name of the prime contractor.subtext
Part of the name of the subcontractor.agencytext
Part of the name of an agency.prime_ueitext
The prime contractor, by its Unique Entity ID.prime_gen_idtext
The prime award, by its gen_id.fromdate
Dated on or after this, as YYYY-MM-DD.todate
Dated on or before this, as YYYY-MM-DD.fywhole number
One federal fiscal year.minnumber
A subaward of at least this many dollars.maxnumber
A subaward of at most this many dollars.sortchoice
What to order by: date, amount, sub, prime, state. Left out, it is date.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id sub_id prime_gen_id prime_piid prime_name prime_uei sub_name sub_uei amount sub_date sub_type description naics naics_desc psc awarding_agency awarding_sub sub_city sub_state sub_zip sub_county pop_city pop_state fy entity_id prime_entity_id
Beside the rows: total capped sum sum_capped facets answer index
Example
GET /subawards?naics=336413&state=FL&min=100000
GET /subawards/{id}
One subaward: the prime award it sits under and the other subawards beside it.
Parameters
idin the address
The id of the subaward.
The answer holds
id sub_id src prime_gen_id prime_piid idv_piid prime_value withdrawn prime_name prime_uei prime_entity_id sub_name sub_uei entity_id amount sub_date sub_type description naics naics_desc psc psc_desc awarding_agency awarding_sub sub_city sub_state sub_zip sub_county pop_city pop_state fy created_at updated_at naics_title usaspending_url prime_award siblings sub_other prime_other open_same_code
Some of the time: pipeline
Example
GET /subawards/20418
GET /grants
Grants and other federal assistance awards on record, newest first.
Parameters
qtext
Words in the description, the recipient name or the program title.statelist
Two-letter state codes, separated by commas: where the recipient is, or where the work is performed.agencytext
Part of the name of an agency.buyertext
Part of the name of the awarding sub-agency or agency.recipienttext
Part of the name of the recipient.cfdatext
An assistance listing number, or the start of one.gtypetext
One kind of assistance, by its two-digit code. The answer lists the codes under types.fromdate
Started on or after this date, as YYYY-MM-DD.todate
Started on or before this date, as YYYY-MM-DD.fywhole number
One federal fiscal year.minnumber
At least this many dollars.maxnumber
At most this many dollars.sortchoice
What to order by: date, amount, end, recipient, agency, cfda. Left out, it is date, the start date.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id gen_id fain recipient_name recipient_uei awarding_agency awarding_sub cfda cfda_title award_type type_code description amount outlays start_date end_date pop_city pop_state rec_city rec_state fy
Beside the rows: total capped sum sum_capped facets types
Example
GET /grants?state=FL&fy=2025&sort=amount
GET /grants/{id}
One assistance award, with others under the same program and to the same recipient, and what the recipient reported passing on under it.
Parameters
idin the address
The id of the award.
The answer holds
id gen_id fain recipient_name recipient_uei awarding_agency awarding_sub funding_agency cfda cfda_title award_type type_code description amount outlays start_date end_date last_modified pop_city pop_state pop_county pop_country rec_city rec_state rec_zip rec_country fy created_at updated_at type_name usaspending_url sam_listing_url same_program same_recipient passed_on
Example
GET /grants/6602
GET /subgrants
What the recipients of grants reported passing on to others, newest first, or under one grant the largest first.
Parameters
qtext
Words in the name of the recipient or of the one passing it on, each of three letters or more; or the number of the grant.primetext
Words in the name of the grant's own recipient, the one passing it on.subtext
Words in the name of the one it was passed to.prime_gen_idtext
One grant, by the gen_id /grants gives it.prime_ueitext
The grant's own recipient, by its Unique Entity ID.sub_ueitext
The one it was passed to, by its Unique Entity ID.cfdatext
An assistance listing number, or the start of one.statelist
Two-letter state codes, separated by commas: where the one it was passed to is.agencytext
The start of the name of the agency or sub-agency that made the grant.fywhole number
One federal fiscal year, by the date it was passed on.fromdate
Dated on or after this date, as YYYY-MM-DD.todate
Dated on or before this date, as YYYY-MM-DD.minnumber
At least this many dollars.maxnumber
At most this many dollars.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 100. Left out, it is 50.
Each row under rows holds
id sub_number prime_gen_id prime_fain prime_name prime_uei sub_name sub_uei amount sub_date fy description cfda cfda_title awarding_agency awarding_sub sub_city sub_state sub_county sub_country pop_city pop_state grant_id
Beside the rows: page per_page more on_file whole by slow failed need capped span reading
Example
GET /subgrants?cfda=12.300&state=FL
GET /grant-opps
Funding opportunities that are open or forecast, the soonest closing first.
Parameters
qtext
Words in the title, the description or the opportunity number.agencytext
Part of an agency name, or an agency code.alntext
Part of an assistance listing number.statustext
The status the source gives: posted or forecasted.activechoice
1 for opportunities still open, 0 for the ones that have closed. Left out, it is 1.deadline_fromdate
Closing on or after this date.deadline_todate
Closing on or before this date.minnumber
An award ceiling of at least this many dollars.cost_sharingchoice
1 for opportunities that ask for cost sharing, 2 for the ones that do not.sortchoice
What to order by: deadline, money, agency, opened, title. Left out, open opportunities come first, the soonest closing date at the top.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id opp_id number title agency agency_code aln opp_status open_date close_date active award_ceiling award_floor total_funding expected_awards cost_sharing
Beside the rows: total capped totals facets
Example
GET /grant-opps?q=manufacturing&sort=deadline&dir=asc
GET /grant-opps/{id}
One funding opportunity, with what was awarded under the same program before.
Parameters
idin the address
The id of the opportunity, or its number.
The answer holds
id opp_id number title agency agency_code aln doc_type opp_status open_date close_date active description award_ceiling award_floor total_funding expected_awards cost_sharing applicant_types contact_name contact_email url detail_fetched created_at updated_at url_gov prior related
Some of the time: prior_stats
Example
GET /grant-opps/1187
GET /programs
The programs that grants and other assistance are made under, as SAM.gov lists them, in number order.
Parameters
qtext
Words in the title or the objective, or a program number or the start of one.agencytext
Part of the name of the agency, the department or the office that runs the program.statuschoice
active for programs still listed as active, inactive for the others. Left out, it is both.kindtext
Part of a kind of assistance, as the assist_types field holds it.sortchoice
number, or amount for the largest stated obligation first. Left out, it is number, with active programs first.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 100. Left out, it is 50.
Each row under rows holds
number title popular department agency assist_types oblig_fy oblig_amt status active published
Beside the rows: page per_page more total on_file whole need
Example
GET /programs?q=research&status=active
GET /programs/{number}
One program: what its listing says, the grants on record under its number, what was passed on under them and the opportunities open under it.
Parameters
numberin the address
The program number, such as 12.300.
The answer holds
number listing setting_up whole grants subgrants opps
Some of the time: says
Example
GET /programs/12.300
Small business research (SBIR and STTR)
GET /sbir/awards
Small Business Innovation Research and Small Business Technology Transfer awards, as SBIR.gov publishes them, newest first.
Parameters
qtext
Words in the company name or the award title, each of three letters or more.agencytext
The start of the name of the agency that made the award.phasechoice
I, II or III.programchoice
SBIR or STTR.fromwhole number
Awards of this year or later.towhole number
Awards of this year or earlier.statetext
One two-letter state: where the company is.ueitext
One company, by its Unique Entity ID.topictext
One topic, by the code the awards under it carry in topic_code.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 100. Left out, it is 50.
Each row under rows holds
id firm uei award_title agency branch phase program contract award_date end_date sol_no topic_code award_year amount city state entity_id
Beside the rows: page per_page more on_file whole reading by slow failed need capped years
Example
GET /sbir/awards?agency=Department%20of%20Defense&phase=II&from=2020
GET /sbir/awards/{id}
One award: every field SBIR.gov gives, the company's other awards, and the other awards under the same topic.
Parameters
idin the address
The id of the award.
The answer holds
id firm uei duns award_title agency branch phase program tracking_no contract award_date end_date sol_no sol_year topic_code award_year amount hubzone disadvantaged women employees url city state zip entity_id company same_topic
company is what /sbir/company/{uei} answers for the same company, or empty when the award names no Unique Entity ID.
Example
GET /sbir/awards/5120
GET /sbir/topics
The topics agencies have opened for proposals, as SBIR.gov lists them: open now, the soonest to close first.
Parameters
qtext
Words in the title or the description of a topic, each of three letters or more, or the start of a topic number.agencytext
The start of the name of the agency.programchoice
SBIR or STTR.beforedate
Closing on or before this date.openchoice
Send 0 for the topics that have closed, the latest first. Left out, only open topics.fitswitch
Send 1 for the topics whose titles share the words of your own company's SBIR and STTR award titles. The answer says under fit which words were used.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 100. Left out, it is 50.
Each row under rows holds
id sol_no sol_title program phase agency branch topic_no topic_title link open_date close_date status read_on
Some of the time: fits
Beside the rows: page per_page more on_file read_on waiting need fit capped
Example
GET /sbir/topics?agency=Department%20of%20Defense&before=2027-01-31
GET /sbir/topics/{id}
One topic: its words, whether it is open, the awards made under its number before, and awards whose titles share its words.
Parameters
idin the address
The id of the topic.
The answer holds
id sol_no sol_title program phase agency branch topic_no topic_title link open_date close_date status description read_on open won like
Some of the time: like_words
Example
GET /sbir/topics/318
GET /sbir/company/{uei}
What one company has won: how many awards, what they come to, the years, how many were phase II, and its latest awards.
Parameters
ueiin the address
The Unique Entity ID of the company: 12 letters and digits.
Each row under rows holds
id firm uei award_title agency branch phase program contract award_date end_date sol_no topic_code award_year amount city state
Beside the rows: on_file whole uei n sum from to phase2 more
Example
GET /sbir/company/ABCDEFGHJKL1
Forecast
GET /forecast
Buys expected to come round again, worked out from how often each office has bought the same thing. Each row is an estimate.
Parameters
monthswhole number
How many months ahead to look, up to what your plan reaches. Left out, it is 12.naicslist
NAICS codes, separated by commas.psclist
Product or service codes, separated by commas.statelist
Two-letter state codes, separated by commas: where the work is performed.buyertext
Part of the name of a buying office or sub-agency.agencytext
Part of the name of an agency.set_asidelist
Set-aside codes, separated by commas, as /set-asides lists them. ANY_SB means any small business set-aside.minnumber
A typical award of at least this many dollars.maxnumber
A typical award of at most this many dollars.confidencewhole number
A confidence of at least this, from 1 to 99.sourcechoice
derived for forecasts worked out from past awards, agency for the ones an agency published.watch_onlyswitch
Send 1 to keep only what your own watches match.sortchoice
What to order by: next, confidence, amount, buys, buyer. Left out, it is next, the expected date.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id fkey bkey awarding_agency awarding_sub awarding_office naics psc buys span_days median_gap gap_spread last_award next_expected window_start window_end median_amount total_amount last_vendor last_entity_id vendors sb_share set_aside_code pop_state confidence signals source batch title ref contact fy updated_at naics_title
Beside the rows: total capped months source by_source sum facets
Example
GET /forecast?naics=332710&months=18&confidence=60
Price bands
GET /price-bands
What a kind of work has gone for, by code and buying office: the middle award, the range, and how contested it was.
Parameters
scopechoice
office for one band for each office, national for one band for each code across every office. Left out, it is office.naicslist
NAICS codes, separated by commas.psclist
Product or service codes, separated by commas.statelist
Two-letter state codes, separated by commas: where the work is performed.buyertext
Part of the name of a buying office or sub-agency.agencytext
Part of the name of an agency.minnumber
A middle award of at least this many dollars.maxnumber
A middle award of at most this many dollars.thinwhole number
Bands where at least this percent of awards drew one offer.open_fieldwhole number
Bands where the largest supplier holds at most this percent.watch_onlyswitch
Send 1 to keep only what your own watches match.sortchoice
What to order by: awards, amount, single, held, trend, buyer, last. Left out, it is awards, the number of awards behind the band.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id pkey scope bkey naics psc awarding_agency awarding_sub awarding_office awards sampled total_amount p10 p25 median_amount p75 p90 min_amount max_amount p25_ceiling median_ceiling p75_ceiling ceiling_awards median_days competed_pct sole_pct one_offer_pct median_offers fixed_price_pct sb_share vendors top_vendor top_share trend_pct pop_state first_award last_award signals updated_at naics_title
Some of the time: national
Beside the rows: total capped scope facets
Example
GET /price-bands?naics=332710&scope=national
GET /price-bands/{id}
One price band, with the awards nearest the middle, the largest, the smallest and the most recent.
Parameters
idin the address
The id of the band, or its pkey.
The answer holds
id pkey scope bkey naics psc awarding_agency awarding_sub awarding_office awards sampled total_amount p10 p25 median_amount p75 p90 min_amount max_amount p25_ceiling median_ceiling p75_ceiling ceiling_awards median_days competed_pct sole_pct one_offer_pct median_offers fixed_price_pct sb_share vendors top_vendor top_share trend_pct pop_state first_award last_award signals updated_at naics_title typical largest smallest recent top_vendors other_offices labor top_vendors_of
Some of the time: national
Example
GET /price-bands/2290
Ways in
GET /entry
Markets by how often they take on a supplier they have not bought from before, and what a first win there looks like.
Parameters
scopechoice
office for one row for each office and code, national for one row for each code. Left out, it is office.naicslist
NAICS codes, separated by commas.buyertext
Part of the name of a buying office or sub-agency.agencytext
Part of the name of an agency.openwhole number
An openness of at least this, from 1 to 99.door_maxnumber
A typical first award of at most this many dollars.leads_somewherewhole number
Markets where at least this percent of new suppliers won again.watch_onlyswitch
Send 1 to keep only what your own watches match.sortchoice
What to order by: fit, open, entrants, door, repeat, awards, buyer. Left out, it is fit: the markets that suit your account's codes and state come first.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id ekey scope bkey naics awarding_agency awarding_sub awarding_office awards vendors entrants entry_rate entrant_share door_amount door_setaside_pct door_competed_pct door_one_offer_pct repeat_pct ladder_days ladder_ratio days_since_entry openness signals updated_at naics_title
Some of the time: fit why parts built
Beside the rows: total capped scope ranked facets
Example
GET /entry?naics=332710&open=50
GET /entry/{id}
One market from The way in, with the suppliers that got in most recently.
Parameters
idin the address
The id of the market, or its ekey.
The answer holds
id ekey scope bkey naics awarding_agency awarding_sub awarding_office awards vendors entrants entry_rate entrant_share door_amount door_setaside_pct door_competed_pct door_one_offer_pct repeat_pct ladder_days ladder_ratio days_since_entry openness signals updated_at naics_title entrants_list entrants_skipped band other_offices
Some of the time: national history
Example
GET /entry/518
GET /routes
Ways into one code, ranked by how hard each is: bidding direct, through a prime, through a vehicle, or with a partner.
Parameters
naicstext
One NAICS code to route into. Left out, it is the primary code on your account.psctext
One product or service code, read when there is no NAICS code: send naics empty, and the routes are found through the NAICS codes that product is bought under.statetext
One two-letter state, to keep to work performed there.bkeytext
One buying office, by its bkey.
Each row under routes holds
kind hops friction reach bkey office agency through headline why typical last_seen signals
Some of the time: openness
Beside the rows: reason home
Example
GET /routes?naics=332710&state=FL
GET /jna
Published justifications for awards made without full competition: who holds the work, under what authority, and when it ends.
Parameters
qtext
Words in the title, the incumbent name or the solicitation number.authoritytext
The authority cited, by its code.authority_nametext
The authority cited, by its full name as the authority_name field holds it.agencytext
Part of the name of a department or sub-agency.buyertext
Part of the name of a buying office or sub-agency.naicslist
NAICS codes, separated by commas. A code of fewer than six digits matches every code that starts with it.psclist
Product or service codes, separated by commas.statelist
Two-letter state codes, separated by commas: where the work is performed.entity_idwhole number
The incumbent, as a company id.minnumber
A value of at least this many dollars.fromdate
Posted on or after this date, as YYYY-MM-DD.todate
Posted on or before this date, as YYYY-MM-DD.expiringwhole number
Justifications whose period ends within this many months, from 1 to 60.sortchoice
What to order by: door, ends, next, amount, incumbent, posted. Left out, it is door: the ones still running come first, the soonest end at the top.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id notice_id opp_id posted title sol_number award_number dept subtier office naics psc pop_state authority authority_name incumbent incumbent_uei entity_id amount period_end next_compete found bkey
Beside the rows: total capped sum summary filtered facets
Example
GET /jna?naics=3364&expiring=12
GET /jna/{id}
One justification: what its authority means, the notice it was published on, and the incumbent's other awards.
Parameters
idin the address
The id of the justification.
The answer holds
id notice_id opp_id posted title sol_number award_number dept subtier office naics psc pop_state authority authority_name incumbent incumbent_uei norm_name entity_id amount period_end next_compete actions found ui_link created_at updated_at meaning read notice bkey pattern history
Some of the time: pipeline
Example
GET /jna/342
Rules, bills and clauses
GET /policy
Federal rules and bills in Congress that bear on federal buying. One address, three lists: tab says which.
Parameters
tabchoice
open for rules still taking comments, rules for every rule, bills for bills in Congress. Left out, it is open.qtext
Words in the title or the summary.naicslist
NAICS codes, separated by commas: rules or bills tagged with any of them.psclist
Product or service codes, separated by commas: rules or bills tagged with any of them.typetext
Rules only. The kind of document, as the doc_type field holds it.regulationtext
Rules only. FAR or DFARS.acqswitch
Rules only. Send 1 for rules that change how the government buys.cfrwhole number
Rules only. One title of the Code of Federal Regulations, by number.agencytext
Rules only. Part of the name of an agency.fromdate
Rules only. Published on or after this date, as YYYY-MM-DD.todate
Rules only. Published on or before this date, as YYYY-MM-DD.flagtext
Bills only. One flag, as the flags field holds it.stagetext
Bills only. How far the bill has got, as the stage field holds it.congresswhole number
Bills only. One Congress, by number.fywhole number
Bills only. The fiscal year a bill funds.sortchoice
What to order by: deadline, published, effective, title, action, introduced. Rules take deadline, published, effective and title, and left out it is deadline. Bills take action, introduced and title, and left out it is action.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id fr_doc regs_id docket_id doc_type title published effective comment_start comment_end open comment_url agencies cfr_titles cfr_parts clauses acq_flag regulation acq_why reach significant fr_url regs_url tags
Beside the rows: total capped facets tab
These are the fields of a rule. With tab=bills a row holds: id bkey congress bill_type bill_number title policy_area sponsor introduced action_date action_text stage law_number flags fy congress_url tags.
Example
GET /policy?tab=rules®ulation=DFARS&acq=1
GET /policy/rule/{id}
One rule, with the codes and agencies it bears on and the open notices that cite its clauses.
Parameters
idin the address
The id of the rule.
The answer holds
id rkey fr_doc regs_id docket_id source doc_type title abstract action published effective comment_start comment_end open comment_url agencies agency_slugs agency_code cfr_titles cfr_parts clauses acq_flag regulation acq_why reach docket_ids rin topics significant fr_url regs_url tagged modified created_at updated_at tags market cfr_meaning notices
Example
GET /policy/rule/915
GET /policy/bill/{id}
One bill, with the codes it bears on and the budget lines of the year it funds.
Parameters
idin the address
The id of the bill.
The answer holds
id bkey congress bill_type bill_number title policy_area subjects summary sponsor origin introduced action_date action_text stage law_number flags fy congress_url api_url detail_fetched tagged updated created_at updated_at tags market budget stages
Example
GET /policy/bill/208
GET /clauses
FAR and DFARS clauses, by number or by words in them.
Parameters
qtext
A clause number or the start of one, or words in the title or the text.regchoice
FAR or DFARS.flagtext
One family of clauses, by the start of its number, as the answer lists them under families.limitwhole number
How many clauses to return, from 1 to 100. Left out, it is 40.
Each row under rows holds
id number reg part title chars prescribed_by is_clause amended_on weight href minutes
Some of the time: source_url
Beside the rows: q reg flag stats families
Example
GET /clauses?q=252.204®=DFARS
GET /clauses/{number}
One clause in full, with the rules that would change it and the open notices that cite it.
Parameters
numberin the address
The clause number, such as 52.219-14.
The answer holds
clause related
Example
GET /clauses/52.219-14
Defense budget
GET /budget
The lines of the Department's newest budget request on file, the largest first, with the money by organization and by exhibit and the lines that moved most against the year before.
Parameters
qtext
Words in the title of a line, or its line number.exhibitchoice
P for procurement, R for research and development, O for operation and maintenance.orgtext
Part of the name of the organization that asks for it: Army, Navy, Air Force and so on.fywhole number
The fiscal year of the money.minnumber
A line of at least this many dollars.sortchoice
What to order by: amount, fy, title, org. Left out, it is amount.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id exhibit request_fy fy organization appropriation budget_activity sub_activity line_no title amount
Beside the rows: total capped sum request_fy ask_fy by_org by_exhibit rising falling facets
Example
GET /budget?exhibit=P&org=Navy
GET /budget/{id}
One line: what every request on file asked for it year by year, where a later request changed a year by a tenth or more, and contracts whose words it shares.
Parameters
idin the address
The id of the line.
The answer holds
id bkey exhibit request_fy fy organization appropriation budget_activity sub_activity line_no title norm_title amount updated_at series by_fy requests drift awards
awards are contracts whose words match the line's title. The record does not tie a contract to a budget line, so they are offered as a lead, not as the contracts under it.
Example
GET /budget/2304
Codes
GET /naics
Every NAICS code with awards on record, with the awards and dollars counted for each.
It takes no parameters.
Each row under by_naics holds
c n s title
Beside the rows: coverage
Example
GET /naics
GET /naics/{code}
One code: awards by year, the offices that buy it, the companies that win it, open notices and contracts ending.
Parameters
codein the address
A six-digit NAICS code.
The answer holds
code title awards total avg vendors fy_first fy_last median by_fy top_buyers top_subs top_vendors set_asides states psc bands competition offers_avg recent_awards awards_built active_opps opps_90d recompetes_12 recompetes_12_sum recent_opps upcoming updated summary watched size policy budget
Example
GET /naics/332710
GET /data/naics/{code}
The same code as a short answer whose shape is named and does not change: made for a spreadsheet or a script.
Parameters
codein the address
A six-digit NAICS code.
The answer holds
schema code title as_of awards by_fiscal_year top_buyers top_vendors set_asides open_notices recompetes_12
Some of the time: last_week
Example
GET /data/naics/332710
GET /psc
Every product or service code with awards on record, with the awards and dollars counted for each.
It takes no parameters.
Each row under codes holds
c d n s
Beside the rows: total updated
Example
GET /psc
GET /psc/{code}
One product or service code: awards by year, who buys it, who wins it, open notices and contracts ending.
Parameters
codein the address
A product or service code, up to four characters.
The answer holds
code title awards total avg vendors fy_first fy_last median by_fy top_buyers top_vendors top_naics set_asides states bands competition active_opps recompetes_12 recompetes_12_sum upcoming recent_opps recent_awards updated watched
Some of the time: ref
Example
GET /psc/4820
GET /set-asides
Every set-aside code on record with its name, and the awards and dollars made under it.
It takes no parameters.
Each row under codes holds
k n s title
Beside the rows: updated names
Example
GET /set-asides
GET /set-asides/{code}
One set-aside: awards by year, the codes it is used in, who buys under it and who wins.
Parameters
codein the address
A set-aside code, as /set-asides lists them.
The answer holds
code title awards total avg vendors fy_first fy_last by_fy top_naics top_buyers top_vendors states bands active_opps recompetes_12 upcoming updated
Example
GET /set-asides/SBA
States
GET /regions
Every state with the awards performed in it and the awards won by companies registered in it, counted and added up.
It takes no parameters.
Each row under states holds
state name pop_n pop_s rec_n rec_s
Beside the rows: oconus country_known updated
pop_n and pop_s are the awards performed in the state and their dollars; rec_n and rec_s the awards won by companies registered there.
Example
GET /regions
GET /regions/{state}
One state: its awards both ways, the companies and registrants in it, its open notices, the codes it wins in, who buys there, who wins, and the counties the work is done in.
Parameters
statein the address
A two-letter state code.
The answer holds
state name awards_pop awards_pop_sum awards_rec awards_rec_sum vendors suppliers active_opps top_naics top_buyers top_vendors by_county updated watched
Example
GET /regions/FL
Labor rates and wages
GET /labor
The hourly ceiling rates awarded on GSA schedule contracts, as GSA publishes them: one band for each labor category, with the middle rate and the spread.
Parameters
qtext
Words in the name of the labor category.schedtext
Part of the schedule most of the rates are on, as the sched_top field holds it.sintext
Part of the special item number most of the rates are under, as the sin_top field holds it.edutext
The education most of the rates ask for, as the edu_top field holds it: HS, AA, BA, MA or PHD.price_minnumber
A middle rate of at least this many dollars an hour.price_maxnumber
A middle rate of at most this many dollars an hour.sbwhole number
Bands where at least this percent of the rates are a small business's.clearancewhole number
Bands where at least this percent of the rates ask for a clearance.sortchoice
What to order by: rates, vendors, median, spread, role, years. Left out, it is rates, the number of rates behind the band.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id lkey norm_cat label rates vendors p10 p25 median_price p75 p90 min_price max_price yrs_median edu_top sched_top sin_top sb_pct clearance_pct signals updated_at
Beside the rows: total capped totals facets
Example
GET /labor?q=systems%20engineer&sort=median
GET /labor/{id}
One labor category: its band, how the rate moves with experience and education, the companies that hold a rate for it, and the categories worded like it.
Parameters
idin the address
The id of the band, or its lkey.
The answer holds
id lkey norm_cat label rates vendors p10 p25 median_price p75 p90 min_price max_price yrs_median edu_top sched_top sin_top sb_pct clearance_pct signals updated_at breakdown holders related
Example
GET /labor/1180
GET /labor/rates
Every hourly ceiling rate awarded on a GSA schedule contract, one company's rate for one labor category, with GSA's own fields. Roles with too few rates for a band are here too.
Parameters
qtext
Words in the name of the labor category.vendortext
Part of the company's name.categorytext
GSA's category, exactly as categories gives it.subcategorytext
GSA's subcategory, exactly as categories gives it.schedtext
Part of the schedule.sintext
The start of the special item number.edutext
The education the rate asks for: HS, AA, BA, MA or PHD.exp_minwhole number
At least this many years of experience.sbchoice
S for a small business's rates, O for the others.clearancechoice
1 for rates that ask for a clearance, 0 for those that do not.worksitetext
Part of the worksite: customer, contractor or both.price_minnumber
A rate of at least this many dollars an hour.price_maxnumber
A rate of at most this many dollars an hour.sortchoice
What to order by: price, role, vendor, years, next. Left out, it is price, the lowest first. dir=DESC for the highest.dirchoice
asc or desc. Left out, it is desc.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 500, up to what your plan shows on a page. Left out, it is 50.
Each row under rows holds
id role vendor piid schedule sin price next second years edu clearance worksite sb start end category subcategory band
Beside the rows: total page per_page categories slow
Example
GET /labor/rates?q=electrician&sb=S
GET /wagedets
The Department of Labor's wage determinations in force, as SAM.gov publishes them, the most recently changed first: under the Service Contract Act and under Davis-Bacon.
Parameters
statetext
One two-letter state: the determinations that apply in it.countytext
One county of that state, by its code as the counties list gives it: the determinations that name it and those for the whole state.kindchoice
sca for the Service Contract Act, dbra for Davis-Bacon.qtext
Words in the title or in an occupation, a five-digit occupation code, or a determination number such as 2015-4281.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 100. Left out, it is 50.
Each row under rows holds
id ref rev kind kind_name title states statewide publish_date modified_date construction hw active url rates where where_n counties_n
Beside the rows: page per_page more on_file whole reading slow failed need capped state county kind q states counties
Example
GET /wagedets?state=VA&kind=sca
GET /wagedets/occupation
What one occupation must be paid under every determination in force in a state, the highest rate first.
Parameters
statetext
One two-letter state. It must be sent.qtext
The occupation, in words of two letters or more, or its five-digit code. It must be sent.kindchoice
sca for the Service Contract Act, dbra for Davis-Bacon.
Each row under rows holds
code title rate fringe fringe_is note doc
Beside the rows: n lo hi more on_file slow failed need q state
Example
GET /wagedets/occupation?state=VA&q=electrician
GET /wagedets/{id}
One wage determination: every rate in it, where it applies, its text, and the revisions of it on file.
Parameters
idin the address
The id of the determination.
The answer holds
on_file doc rates places text revisions newer
doc holds the fields of a row of /wagedets, with hw_eo, fringe and read_at. newer is the revision in force when this one is not, or empty.
Example
GET /wagedets/2210
GET /occwages/occupations
Occupations as the Bureau of Labor Statistics counts them, each with its national employment and wages, a page at a time. Left out, q gives every detailed occupation.
Parameters
qtext
Words in the title of an occupation, of three letters or more, or a code such as 15-1252 or the start of one.grouptext
A major group, by its first two digits.indtext
An industry, by its code as /occwages/industries gives it: the national figures in that industry.sortchoice
title, med (the highest median first), mean or emp. Left out, the order of the classification.pagewhole number
The page, from 1.perwhole number
Rows a page, up to 200. Left out, 100.
Each row under rows holds
code soc title level group group_title emp h_mean a_mean h_p10 h_p25 h_med h_p75 h_p90 a_med a_p10 a_p25 a_p75 a_p90 top
Beside the rows: on_file whole year by need total page per more group ind groups sort sum q
Example
GET /occwages/occupations?q=software
GET /occwages/occupation/{code}
One occupation's employment and wages in every state, or in every metropolitan and other area, the best paid first, with the national figures beside them.
Parameters
codein the address
The occupation's code, such as 15-1252 or 151252.areaschoice
state for the states and territories, metro for the metropolitan and other areas, all for both. Left out, it is state.statetext
One two-letter state, to keep to the areas in it. An area that crosses into the state is kept.
Each row under rows holds
area name type state emp h_mean a_mean h_p10 h_p25 h_med h_p75 h_p90 a_med top
Beside the rows: on_file whole year code soc title descr level areas state national states group industries calc sca
Example
GET /occwages/occupation/15-1252?areas=metro&state=VA
GET /occwages/industries
Every industry the Bureau of Labor Statistics estimates occupations in, nationally, with its NAICS code and how many occupations it has figures for.
It takes no parameters.
Each row under rows holds
code name level naics n
Beside the rows: on_file whole year
Example
GET /occwages/industries
GET /occwages/area/{code}
Every occupation in one state or area with its employment and wages, or those whose title has the words sent.
Parameters
codein the address
The area's seven-digit code, as /occwages/occupation/{code} gives it under area.qtext
Words in the title of an occupation, each of three letters or more.
Each row under rows holds
code soc title level emp h_mean a_mean h_p10 h_p25 h_med h_p75 h_p90 a_med top
Beside the rows: on_file whole year area name type state need q
Example
GET /occwages/area/5100000?q=software
Per diem rates
GET /perdiem
GSA per diem rates for one fiscal year: the places in a state, or the places that match a name, each with lodging by month and meals.
Parameters
statetext
One two-letter state code: the places GSA lists in it.qtext
Part of the name of a city or a county.fywhole number
One federal fiscal year on file. Left out, it is the current one.
Each row under rows holds
fy std state city county did m lo hi meals fl
Beside the rows: on_file years fy last_fy state q other more std tiers
Example
GET /perdiem?state=VA&q=fairfax
GET /perdiem/place
One place GSA gives a rate for, with its lodging and meals for every fiscal year on file.
Parameters
statetext
The two-letter state code of the place.citytext
The name of the place, as the city field of /perdiem holds it.didwhole number
The number GSA gives the place, as the did field of /perdiem holds it. It tells two places of one name apart.stdswitch
Send 1 for the standard rate of the state, which applies where GSA lists no place.
The answer holds
on_file place years
Some of the time: last_fy says
Example
GET /perdiem/place?state=VA&city=Fairfax
Court and lobbying
GET /court
Decisions of the Court of Federal Claims, the newest first: bid protests and contract cases, each with its party, its judge and the document.
Parameters
qtext
Words in the title of the case, each of three letters or more.yearwhole number
Decisions dated in one calendar year.protestswitch
Send 1 for bid protests only.entitywhole number
The company a case is tied to, as a company id.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 100. Left out, it is 50.
Each row under rows holds
id granule package case_no title opinion party entity_id decided nos_code nos is_protest protest_why judge pdf_url txt_url details_url entity_name
Beside the rows: page per_page more on_file whole reading slow failed need capped company
Example
GET /court?protest=1&year=2025
GET /court/entity/{id}
What one company has at the Court of Federal Claims: its cases counted, how many are bid protests, its cases by the year of their first decision, and its latest decisions.
Parameters
idin the address
The id of the company, as /entities returns it.
Each row under rows holds
id granule package case_no title opinion party entity_id decided nos_code nos is_protest protest_why judge pdf_url txt_url details_url
Beside the rows: on_file cases protests opinions more by_year by_year_undated by_year_capped
Example
GET /court/entity/3310
GET /lobbying
Filings made under the Lobbying Disclosure Act, the newest posted first: who the client is, which firm filed, for which period and what was reported.
Parameters
qtext
Words in the name of the client or of the firm that filed, each of three letters or more.yearwhole number
Filings for one calendar year.issuetext
One issue area, by its three-letter code. The answer lists the codes under issues.bodywhole number
One part of the government that was contacted, by its number. The answer lists the numbers under bodies.entitywhole number
The company a filing is tied to, as a company id.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 100. Left out, it is 50.
Each row under rows holds
id ftype ftype_name fyear fperiod fperiod_name amend reg_name client_name client_desc client_state self income expenses posted doc_url entity_id tie tie_on period as_of issues
Beside the rows: page per_page more on_file whole by slow failed need capped reading
Example
GET /lobbying?issue=DEF&year=2025
GET /lobbying/{id}
One filing, with each issue lobbied on, what was said about it and the parts of the government that were contacted.
Parameters
idin the address
The id of the filing.
The answer holds
id ftype ftype_name fyear fperiod fperiod_name amend reg_name client_name client_desc client_state self income expenses posted doc_url entity_id tie tie_on period as_of acts tie_words company vouch
Example
GET /lobbying/20418
GET /lobbying/company/{id}
What one company has on file: by year what it reported spending and what the firms it hired reported being paid, the issues, and its newest filings.
Parameters
idin the address
The id of the company, as /entities returns it.
The answer holds
on_file any whole reading entity_id
Some of the time: capped years firms firms_n filings issues issues_n bodies bodies_n latest ties as_of vouch
A company with no filing tied to it answers the first five alone. The rest are there when any is true.
Example
GET /lobbying/company/3310
GET /lobbying/agency/{slug}
Who reported contacting one agency, year by year, counted from the filings on file.
Parameters
slugin the address
The slug of the agency, as /agencies returns it.
The answer holds
matched any
Some of the time: bodies body pending years as_of vouch
An agency that no part of the government named on a filing stands for answers matched and any alone.
Example
GET /lobbying/agency/department-of-defense
Cloud services (FedRAMP)
GET /fedramp
Cloud services listed on the FedRAMP Marketplace: who offers each, how far its authorization has got, at what impact level, and how many agencies use it.
Parameters
qtext
Words in the name of the service or of the company that offers it, each of two letters or more.stagechoice
auth for authorized, process for in process, ready for FedRAMP Ready.impactchoice
low, moderate, high or lisaas.modelchoice
IaaS, PaaS or SaaS.agencytext
One agency that uses it, exactly as the agencies list of the first page names it.sbswitch
Send 1 for services offered by a small business.sortchoice
name, auth for the newest authorized first, or agencies for the most agencies first. Left out, it is name.pagewhole number
Which page, counted from 1.per_pagewhole number
Rows on a page, from 1 to 100. Left out, it is 50.
Each row under rows holds
id name csp cso uei status impact_level impact_n auth_type auth_date ready_date service_model small_business agency_n stage gone entity_id
Beside the rows: page per_page more total on_file whole reading failed need capped agencies
Example
GET /fedramp?stage=auth&impact=high&sort=agencies
GET /fedramp/agency
The services one agency has authorized or reuses, by name.
Parameters
nametext
The agency, exactly as the agencies list of /fedramp names it. It must be sent.
Each row under rows holds
id name csp cso uei status impact_level impact_n auth_type auth_date ready_date service_model small_business agency_n stage gone entity_id uses
Beside the rows: on_file agency more
Example
GET /fedramp/agency?name=Department%20of%20Defense
GET /fedramp/company/{uei}
The services one company offers on the FedRAMP Marketplace, the most used first.
Parameters
ueiin the address
The Unique Entity ID of the company: 12 letters and digits.
Each row under rows holds
id name csp cso uei status impact_level impact_n auth_type auth_date ready_date service_model small_business agency_n stage gone entity_id
Beside the rows: on_file n more
Example
GET /fedramp/company/ABCDEFGHJKL1
GET /fedramp/{id}
One service: what it is, its company, the agencies that authorized or reuse it, what it is built on, and its history of status.
Parameters
idin the address
The id of the service, as /fedramp gives it.
The answer holds
on_file product
product holds the fields of a row of /fedramp, with service_desc functions deployment_model partnering_agency independent_assessor website auth reuse n_auth n_reuse leveraged history read_on.
Example
GET /fedramp/FR1234567890
Your own work
GET /saved
The views you saved, and the ones your account shares: each is a list and the filters it was saved with.
It takes no parameters.
Each row holds
id user_id name kind filters sort dir alert pinned shared opened last_opened last_alert export_freq last_export created_at mine can_export
Some of the time: author
Example
GET /saved
GET /watches
What you are watching: codes, offices, companies, SAM registrants by their UEI, states, keywords and single notices.
Parameters
pulseswitch
Send 1 to get the list under watches, with what is new for each under pulse.
Each row holds
id kind value label created_at
Example
GET /watches
GET /pipeline
Your account's pursuits, read only: each with its stage, owner, value and next step.
Parameters
ownertext
me for your own, none for pursuits nobody owns, or the id of one person on the account.stagetext
One stage, by its key. The answer lists the keys under stages.
Each row under items holds
id user_id kind ref_id stage title buyer naics amount due notes outcome_reason outcome_note bid_price won_price settled_at by_id owner_id next_step next_due est_value pwin rfp_on award_on role bid_id contract_id scorecard created_at updated_at by owner next_overdue stage_label open days_left href role_label value value_from weighted pursuit_href capture_href bid_href matrix_href contract_href bid contract matrix tasks own origin origin_label kind_label due_label tied
Beside the rows: counts stages summary forecast
kind is opp for a notice, award for a recompete, or own for a pursuit you added that is not on SAM.gov (kind_label says Not on SAM.gov). An own pursuit has no notice or award behind it: its ref_id is a number of its own, never a notice or an award id, and origin says where it came from: prime (a prime's request for a quote), commercial (a commercial customer), other, or forecast (tracked from a row of the Forecast). Once its notice is posted, an own pursuit may be tied to it: tied then gives the notice's id (opp_id), when it was tied (at) and the notice's page (href), kind_label says Tied to its notice and due is the notice's response deadline. tied is null otherwise.
Example
GET /pipeline?stage=pursuing
GET /pipeline/{id}
One pursuit in your pipeline, with its tasks, gates and reviews.
Parameters
idin the address
The id of the pursuit.
The answer holds
item tasks gates reviews gate gate_labels review_gates colours decisions stages roles reasons people shared me handoffs history proposal
Example
GET /pipeline/12
Instant triggers and actions
GET /connect/me
The account and the person the key belongs to, and whether they may subscribe. Zapier and Make call it to test a connection.
It takes no parameters.
The answer holds
id account person plan can_subscribe
Example
GET /connect/me
GET /connect/events
The events a trigger can be on, each with its group and what it means.
It takes no parameters.
Each row holds
id key group label
contract.funding_low is sent when a contract's written funding notice to the contracting officer falls due: at the pace so far, cost passes the notice threshold (75 percent of obligated unless the contract says another) within 60 days, or already has (FAR 52.232-22(c)). It is sent once for each amount obligated. Until November 2026 it was sent when the money lasted 60 days or less, or 80 percent was spent; that is contract.funding_runout now, sent once a contract a month. A subscription made before then on contract.funding_low was given contract.funding_runout too. Both carry the same fields, with notice_pct, notice_by, notice_reach_on and notice_due.
Example
GET /connect/events
GET /connect/hooks
The subscriptions your account has made through a key: one event each, sent to one address.
It takes no parameters.
Each row holds
id event host source on created_at
Example
GET /connect/hooks
POST /connect/hooks
Starts sending one event to an address, as it happens. Answers 201 with the id of the subscription and its signing secret, which is shown this once. The owner or a manager of the account makes these. Each call is signed and retried as the Integrations screen describes, and a subscription whose address answers 410 Gone is removed.
Parameters
target_urltext
The address to send to: https, on the standard port, a public host. Zapier sends this as targetUrl or target_url; url and hookUrl are read too.eventtext
One event, as /connect/events lists them.sourcetext
zapier, make or other. Left out, it is read off the address.
Sent as a JSON body.
The answer holds
id event secret
Example
POST /connect/hooks
DELETE /connect/hooks/{id}
Stops a subscription. What was waiting to be sent to it is dropped.
Parameters
idin the address
The id the subscription was given.
The answer holds
id removed
Example
DELETE /connect/hooks/12
GET /connect/sample/{event}
The last three bodies of an event on your account, newest first, or one sample when there are none yet. Always a list, with the same fields a delivery carries.
Parameters
eventin the address
One event, as /connect/events lists them.
Each row holds
event id at test
Beside these four, each event carries the fields of its kind, which the Integrations screen in the app lists in full.
Example
GET /connect/sample/pursuit.won
GET /connect/search/{kind}
Up to 25 of your account's own records of one kind, newest first: contact, organization, pursuit or task.
Parameters
kindin the address
contact, organization, pursuit or task.idwhole number
Our number for the record.qtext
Words in the name or the title.emailtext
A contact's email, matched exactly.ueitext
An organization's Unique Entity ID.domaintext
An organization's web domain.stagetext
A pursuit's stage, by its key.openswitch
Send 1 for tasks not yet done.
Each row holds
id name title email phone organization_id organization kind uei website domain agency status stage stage_label value due buyer naics owner_id done on on_id created_at updated_at link
A contact has id, name, title, email, phone, organization_id, organization; an organization id, name, kind, uei, website, domain, agency, status; a pursuit id, title, kind, stage, stage_label, value, due, buyer, naics, owner_id; a task id, title, kind, due, owner_id, done, on, on_id. Each has its dates and link.
Example
GET /connect/search/contact?email=jane@example.com
POST /connect/create/{kind}
Adds a contact, an organization, a pursuit or a task to your account, or answers the one already there, with existing true. A contact is matched on its email; an organization on its UEI, then its domain, then its name; a pursuit on its title and buyer. Answers 201 when one was added.
Parameters
kindin the address
contact, organization, pursuit or task.nametext
A contact's or an organization's name. A contact also takes first_name and last_name, email, title, phone, and organization or organization_id.titletext
A pursuit's or a task's title. A pursuit also takes buyer, naics, due, stage, value and notes; a task due, note, owner_email or owner_id, and pursuit_id.ueitext
An organization's UEI. It also takes website or domain, agency and kind.
Sent as a JSON body. A pursuit added this way is one of your own, not tied to a notice.
The answer holds
id existing link
The record, with the fields /connect/search/{kind} gives it, and existing.
Example
POST /connect/create/contact
GET /connect/time
Up to 500 of your account's time entries, the most recently changed first: whose they are, the day, the hours and what they are charged to. Hours only, never pay. A key sees the hours its holder sees on Timesheets.
Parameters
fromdate
The first day worked, YYYY-MM-DD. With neither day, the last 31 days.todate
The last day worked. A window is 92 days at the most.statustext
open, submitted or approved.sincetext
Only entries changed after this moment, in UTC, for a tool that asks again and again.
Each row holds
id updated_at person person_email staff_id payroll_id week date charged_to contract_id contract_number clin labor_category pursuit_id kind leave_kind hours note status link
kind is direct, overhead, gna, bp, leave or unallowable. The events time.entered, time.corrected, time.submitted, time.approved and time.returned carry the same fields.
Example
GET /connect/time?status=approved&from=2026-10-01&to=2026-10-31
Exports
GET /export/{kind}
One list as a CSV or Excel file, with the same filters the list takes. Each row counts toward the export rows of your month.
Parameters
kindin the address
Which list. The kinds are named under Export kinds.fmtchoice
csv or xlsx. Left out, it is csv.jsonswitch
Send 1 to get the file inside a JSON answer: rows, csv, filename and note.
Beside these, send the filters of the list being exported, exactly as that list takes them.
The answer holds
rows csv filename note
These are the fields of the answer when json=1. Otherwise the answer is the file itself. note is empty unless the file is not the whole list in the order asked for, and then it is the sentence the file opens with.
Example
GET /export/awards?naics=332710&fy=2025&fmt=xlsx
Export kinds
| Kind | The list it is |
|---|---|
opps | Opportunities |
awards | Awards |
recompetes | Recompetes |
entities | Competitors |
subawards | Subawards |
grants | Grant awards |
suppliers | SAM registrants |
rules | Rules |
bills | Bills |
forecast | Forecast |
pricing | Pricing |
vehicles | Vehicles |
labor | Labor rates |
contacts | Contacts |
grantopps | Grant opportunities |
exclusions | Exclusions |
budget | Defense budget |
jna | Sole source |
buyers | Buying offices |
vulnerable | About to graduate |
partners | Teaming |
entry | Customer intelligence |
clauses | FAR and DFARS clauses |
agencies | Agencies |
naics | NAICS codes |
psc | PSC codes |
setasides | Set-asides |
regions | States and regions |
A file holds up to 20,000 rows, within the export rows your plan allows in a month.
Fields that turn up often
| Field | What it means |
|---|---|
id | Our number for the row. Put it in the address to read the one record. |
entity_id | Our number for the company, after the registrations of one company have been joined. Read it at /entities/{id}. |
bkey | The key of a buying office: 32 characters. Read the office at /buyers/{key}. |
naics | The six-digit NAICS code on the record. |
psc | The product or service code on the record. |
set_aside_code | The set-aside the buy was made under, as a code. /set-asides lists the codes and their names. |
pop_state | The state where the work is performed. |
rec_state | The state the company is registered in. |
fy | The federal fiscal year, which starts on 1 October. |
amount | Dollars obligated. |
base_all_options | Dollars if every option is exercised. |
piid | The contract or order number. |
gen_id | The award id the federal spending record uses for the same award. |
notice_id | The id the federal notice system uses for the same notice. |
sol_number | The solicitation number. |
uei | The Unique Entity ID of a registration. |
recipient_uei | The Unique Entity ID the award was made to. |
dept | The department on a notice. |
subtier | The sub-agency on a notice. |
office | The buying office. |
awarding_agency | The agency that made the award. |
awarding_sub | The sub-agency that made the award. |
awarding_office | The office that made the award. |
ntype | The kind of notice, in the source's own words. |
extent_competed | Whether the award was competed, in the record's own words. |
offers | How many offers the buyer received, when the record says. |
months_out | Months until the contract ends. Below zero, it has ended. |
score | From 0 to 100: how strongly the record points to a contract a supplier could go after soon. |
signals | The reasons behind a score, as short phrases. |
confidence | From 0 to 99: how steady the buying pattern behind a forecast is. It is an estimate from past awards. |
openness | From 0 to 99: how often this market has taken on a supplier it had not bought from before. |
total | How many rows matched. When counting stopped before the end, it is the number reached so far (see counted). |
capped | Empty unless more matched than your plan returns for one search. Then it is the number you can page through. |
counted | How the total was reached: exact when every match was counted, cap where only your plan's rows could be counted, or time when counting stopped first. With time, the answer also holds at_least (at least this many rows matched) and count_secs (the seconds spent counting). |
sum | The dollars on the rows that matched. When sum_counted is set, it is the sum over that many rows only. |
sum_counted | Empty when sum covers every match. Otherwise the number of rows the sum was added up over. |
facets | For the main columns, the most common values among the rows that matched, with a count each. |
building | True while a figure is still being worked out. Ask again shortly. |
skipped | The parts of an answer that were left out because the service was busy. Ask again to get them. |
fit | From 0 to 1: how closely a row matches what was read from a description of the work. |
match | Why a row was found: the codes and the words it shares with the description of the work. |
cik | The number the SEC gives a filer. |
regs | How many registrations on record carry the filer's name and are tied to it. |
subs | How many companies on record name the filer as their parent and are tied to it. |
listed | Each ticker of the filer with its exchange, and the address of its quote on the exchange's own site where the exchange has one. |
quote | The address of the ticker's quote on the exchange's own site, or empty for an exchange that has none. |
filings_url | The address of the filer's filings at the SEC. |
more | True when there is more than the answer shows: another page of a list, or more rows than a record lists. A list that says more in place of a total does not count every match. |
on_file | False while the record behind the answer is still being set up. Ask again later. |
soc | The occupation's code in the Standard Occupational Classification, as the Bureau of Labor Statistics writes it: 15-1252. |
emp | How many people the occupation employs there, as the Bureau of Labor Statistics estimates it. |
h_mean | The mean hourly wage. a_mean is the mean a year; h_med and a_med are the median an hour and a year; h_p10 to h_p90 are the hourly wage at the 10th, 25th, 75th and 90th percentile. |
top | The wage figures the Bureau of Labor Statistics gives only as at least a ceiling, by name. Those figures are empty. |
hw | Health and welfare, dollars an hour, under a Service Contract Act determination. |
fringe_is | hw when the fringe of a row is the determination's health and welfare, fringe when the rate carries a fringe of its own. |
phase | The phase of an SBIR or STTR award or topic: I, II or III. |
topic_code | The topic an SBIR or STTR award was made under, the topic_no of /sbir/topics. |
csp | The company that offers a cloud service. cso is the name of the service itself. |
impact_level | The FedRAMP impact level the service is authorized at: Low, Moderate, High or LI-SaaS. |
A field that is not listed here means what its name says.
Related
- Exports and APIThe lists as Excel and CSV, and what the key is for.
- PricingWhich plans carry a key.
- Acceptable useWhat you may do with what you read.
See who was last awarded in your NAICS
Every code, every buying office, every vendor and every recompete, organized from the federal record and read nightly. Start on one code with no card. A plan opens every code.
Try the live demo The real app on one code. No email needed.