Northbid: Canadian procurement search

v0.2.1
io.github.hexacron/northbid Checked 5 days ago Published 19 days ago

Search Government of Canada tenders, awards and standing offers from CanadaBuys data.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_tenders Search open federal tenders

Search currently open Government of Canada tender notices from CanadaBuys (requests for proposal, standing offer and supply arrangement requests, requests for information, advance contract award notices). Use it to find bidding opportunities by keyword, buyer, category, commodity code, delivery region or closing date. Returns short summaries; call get_tender for full details. With no arguments it lists the tenders closing soonest. Covers federal organizations only.

ParameterTypeDescription
buyerstringWords from the contracting or end-user organization name, in either language, e.g. "National Defence".
categoryarrayProcurement categories; a notice matching any listed category is returned.
closing_afterstringOnly tenders closing on or after this date (YYYY-MM-DD).
closing_beforestringOnly tenders closing on or before this date (YYYY-MM-DD).
include_past_deadlinebooleanThe source lists some notices as open after their closing date has passed. They are hidden unless this is true.
langstringOutput language.
limitintegerResults per page (1-50).
matchstringWhether a notice must contain all query terms or any of them. An explicit OR in the query always applies.
notice_typestringText contained in the notice type, e.g. "Request for Proposal", "Request for Information", "Standing Offer".
offsetintegerResults to skip, for paging.
published_afterstringOnly tenders published on or after this date (YYYY-MM-DD).
querystringKeywords searched in titles, descriptions, commodity names and buyer names. Words match in English and French, ignoring case and accents. Use "double quotes" for an exact phrase, a trailing * for a pr…
regionstringText contained in a region of delivery, e.g. "Ontario", "National Capital Region", "British Columbia". Nationwide tenders are listed under "Canada" and are not returned for a provincial filter.
sortstringDefaults to relevance when a query is given, otherwise closing_soonest.
unspscstringUNSPSC commodity code or prefix. A segment or family code such as 43000000 or 4323 also matches every code beneath it.

get_tender Get tender details

Get the full record for one open tender notice: description, dates, buyer and end users, selection criteria, trade agreements, commodity codes, contact, attachments and links. Look it up by the reference_number or solicitation_number returned by search_tenders. A solicitation number shared by several notices returns all of them.

ParameterTypeDescription
id *stringReference number or solicitation number, exactly as shown in search results.
langstringOutput language; "both" returns each text field in English and French.
max_description_charsintegerCut the description to this many characters. Raise it when description_truncated is true and you need the rest.

search_standing_offers Search standing offers and supply arrangements

Search active federal standing offers and supply arrangements issued by Public Services and Procurement Canada: pre-qualified suppliers that departments can buy from without a new open competition. Use it to see who already holds an agreement for a commodity, what a given supplier holds, or when agreements expire and may be re-competed. Agreement types: SA (supply arrangement), NMSO and RMSO (national and regional master standing offers), NISO, RISO and DISO (national, regional and departmental individual standing offers).

ParameterTypeDescription
agreement_typestringAgreement type code, e.g. SA, NMSO, RMSO, NISO, RISO, DISO.
commoditystringUNSPSC commodity code or prefix; a segment or family code also matches every code beneath it.
departmentstringWords from the department the agreement serves, in either language.
include_expiredbooleanAlso return agreements whose expiry date has passed.
langstringOutput language.
limitintegerResults per page (1-50).
matchstringWhether a notice must contain all query terms or any of them. An explicit OR in the query always applies.
offsetintegerResults to skip, for paging.
querystringKeywords searched in agreement titles, commodity names, supplier names and departments. Words match in English and French, ignoring case and accents. Use "double quotes" for an exact phrase, a trailin…
regionstringText contained in a delivery point, e.g. "Alberta" or "National Capital Region".
supplierstringWords from the supplier legal, operating or standardized name.

search_awards Search federal contract awards

Search Government of Canada award notices published on CanadaBuys since August 2022: which supplier won a contract, standing offer or supply arrangement, from which buyer, when, and for how much. Use it to find the incumbent before a re-competition, what similar work has sold for, which contracts end soon, or what a competitor has won. Each notice shows its latest amendment. Returns short summaries; call get_award for full details. With no arguments it lists the most recent awards. The first call downloads about 110 MB and can take a minute.

ParameterTypeDescription
awarded_afterstringOnly contracts awarded on or after this date (YYYY-MM-DD).
awarded_beforestringOnly contracts awarded on or before this date (YYYY-MM-DD).
buyerstringWords from the contracting or end-user organization name, in either language. Public Services and Procurement Canada buys on behalf of other departments, which then appear as end users.
categoryarrayProcurement categories; an award matching any listed category is returned.
competitivebooleantrue for competitively awarded contracts only; false for non-competitive awards and advance contract award notices only. Awards with no stated method match neither.
include_cancelledbooleanAlso return cancelled award notices.
langstringOutput language.
limitintegerResults per page (1-50).
matchstringWhether a notice must contain all query terms or any of them. An explicit OR in the query always applies.
max_valueintegerOnly awards with a stated value of at most this amount.
min_valueintegerOnly awards worth at least this amount, in the contract currency (almost always CAD). Above zero, this drops awards with no stated value.
offsetintegerResults to skip, for paging.
querystringKeywords searched in titles, descriptions, commodity names, supplier and buyer names, and solicitation and contract numbers. Words match in English and French, ignoring case and accents. Use "double q…
regionstringText contained in a region of delivery, e.g. "Ontario" or "National Capital Region".
sortstringDefaults to relevance when a query is given, otherwise newest (by award date).
supplierstringWords from the winning supplier's legal name, e.g. "Deloitte".
unspscstringUNSPSC commodity code or prefix. A segment or family code such as 43000000 or 4323 also matches every code beneath it.

get_award Get award details

Get the full record for an award notice: supplier, value, contract dates, procurement method, selection criteria, limited tendering reason, trade agreements, commodity codes, description and contact. Look it up by reference number, solicitation number or contract number. A solicitation that led to several awards, as supply arrangements do, returns the 20 most recent and the total count.

ParameterTypeDescription
id *stringReference, solicitation or contract number, exactly as shown in search results.
langstringOutput language.
max_description_charsintegerCut the description to this many characters. Raise it when description_truncated is true and you need the rest.

summarize_awards Summarize contract awards

Count award notices and total their value by supplier, buyer or award year, using the same filters as search_awards. Use it to rank the suppliers winning a kind of work, see which organizations buy it, profile one supplier or buyer, or follow spending over time. Totals add Canadian-dollar values only and are indicative: standing offers and supply arrangements have no value, a supplier spelled two ways counts as two, and values are as last amended. The buyer is the contracting organization, often Public Services and Procurement Canada acting for another department.

ParameterTypeDescription
group_by *stringWhat each row of the summary is.
awarded_afterstringOnly contracts awarded on or after this date (YYYY-MM-DD).
awarded_beforestringOnly contracts awarded on or before this date (YYYY-MM-DD).
buyerstringWords from the contracting or end-user organization name, in either language. Public Services and Procurement Canada buys on behalf of other departments, which then appear as end users.
categoryarrayProcurement categories; an award matching any listed category is returned.
competitivebooleantrue for competitively awarded contracts only; false for non-competitive awards and advance contract award notices only. Awards with no stated method match neither.
include_cancelledbooleanAlso return cancelled award notices.
langstringOutput language.
limitintegerResults per page (1-50).
matchstringWhether a notice must contain all query terms or any of them. An explicit OR in the query always applies.
max_valueintegerOnly awards with a stated value of at most this amount.
min_valueintegerOnly awards worth at least this amount, in the contract currency (almost always CAD). Above zero, this drops awards with no stated value.
offsetintegerResults to skip, for paging.
querystringKeywords searched in titles, descriptions, commodity names, supplier and buyer names, and solicitation and contract numbers. Words match in English and French, ignoring case and accents. Use "double q…
regionstringText contained in a region of delivery, e.g. "Ontario" or "National Capital Region".
sortstringRank by total Canadian-dollar value or by number of awards. Years are always listed newest first.
supplierstringWords from the winning supplier's legal name, e.g. "Deloitte".
unspscstringUNSPSC commodity code or prefix. A segment or family code such as 43000000 or 4323 also matches every code beneath it.

data_status Show data status

Report which CanadaBuys files are loaded in the local cache, how many records each holds, when the source published them and when they were last checked. Use it to tell the user how current the data is. Does not download anything.

refresh_data Refresh data from CanadaBuys

Check CanadaBuys now for newer versions of every data file and download those that changed, replacing the local cache. Searches already refresh on their own schedule (new tenders every 2 hours, open tenders and this year's awards every 6, the rest daily); call this only when the user asks for the latest data or a search reported a refresh warning. It also downloads the award files if no award search has been run yet, which can take a minute.