Catalog / CanadaBuys Procurement Data

CanadaBuys Procurement Data API

canadabuys.canada.ca

Live, read-only access to the CanadaBuys open, new, and 2026-2027 tender-notice CSV resources. This API does not claim exhaustive coverage of the separately published 2025-2026, 2024-2025, 2023-2024, 2022-2023, complete 2022-08-onward, or 2009-2022 legacy CSV resources. Amendments are source rows sharing a solicitation number; attachments are URLs published in those rows.

  • Business
  • CanadaBuys
  • procurement
  • tenders
  • government
  • open-data
4 endpointsDocs updated

Endpoint health

Loading verification…

Connect your agent

Connect through MCP so your agent can find this API, read its docs, and call its endpoints.

Setup guide

Add the server from your terminal.

Claude Code · terminal
claude mcp add --transport http agent-data https://agent-data.motie.dev/mcp

In Claude Code, run /mcp, select agent-data, then Authenticate. Sign in to your agent-data account in the browser.

Then ask your agent to use the CanadaBuys Procurement Data API for your task.

Call it over HTTP

Get an API key

Sign up free, generate an API key, and set it as AGENT_DATA_API_KEY in your environment. Your first 100 calls each month are free.

Fetches only the live open, new, and 2026-2027 annual CSV resources listed in the CanadaBuys package; older package partitions are excluded and are not implied by this route. Applies case-insensitive agency/status filters and an inclusive ISO-date updated_since filter.

Optional parameters 4

Case-insensitive substring of the contracting entity name.

Observed source status such as Open, Expired, or Cancelled.

Inclusive ISO calendar date compared with amendmentDate or publicationDate.

Opaque cursor returned by a previous response.

View call pricing
cURL · Solicitations
curl --request GET --get 'https://3kpkg0jfvk.execute-api.us-east-2.amazonaws.com/prod/6733b131-99fe-40bb-b9bd-a18f59b511ef/solicitations' \
  --header "Authorization: Bearer $AGENT_DATA_API_KEY"

Endpoints

Inputs and response fields for every endpoint in this API.

GETSolicitations/solicitations

Fetches only the live open, new, and 2026-2027 annual CSV resources listed in the CanadaBuys package; older package partitions are excluded and are not implied by this route. Applies case-insensitive agency/status filters and an inclusive ISO-date updated_since filter.

Input

agencyOptionalQuery · string | null

Case-insensitive substring of the contracting entity name.

Example: Shared Services Canada

statusOptionalQuery · string | null

Observed source status such as Open, Expired, or Cancelled.

Example: Open

updated_sinceOptionalQuery · string | null

Inclusive ISO calendar date compared with amendmentDate or publicationDate.

Example: 2026-10-01

cursorOptionalQuery · string | null

Opaque cursor returned by a previous response.

Response

itemsobject[]
items[].title?string | null
items[].agency?string | null
items[].due_at?string | null
items[].source_url?string | null
items[].status_raw?string | null
items[].updated_at?string | null
items[].notice_type?string | null
items[].observed_atstring
items[].published_at?string | null
items[].source_as_ofstring
items[].attachment_urls?string[]
items[].solicitation_idstring
items[].amendment_number?string | null
items[].reference_number?string | null
next_cursorstring | null
observed_atstring
source_as_ofstring

Fields marked ? are optional.

For the next page, pass next_cursor from the response as cursor. Leave it empty on the first call.

GETSolicitations by solicitation id/solicitations/{solicitation_id}

Returns the source row for an exact CanadaBuys solicitationNumber. IDs containing slashes are accepted.

Input

solicitation_idRequiredPath · string

Exact CanadaBuys solicitationNumber returned by list.

Example: AR26SLHX_86026

Response

title?string | null
agency?string | null
due_at?string | null
source_url?string | null
status_raw?string | null
updated_at?string | null
notice_type?string | null
observed_atstring
published_at?string | null
source_as_ofstring
attachment_urls?string[]
solicitation_idstring
amendment_number?string | null
reference_number?string | null

Fields marked ? are optional.

GETSolicitations by solicitation id amendments/solicitations/{solicitation_id}/amendments

Returns all live dataset rows sharing the exact solicitationNumber; amendmentNumber identifies each source revision.

Input

solicitation_idRequiredPath · string

Exact CanadaBuys solicitationNumber.

Example: WS4967671213

Response

itemsobject[]
items[].title?string | null
items[].agency?string | null
items[].due_at?string | null
items[].source_url?string | null
items[].status_raw?string | null
items[].updated_at?string | null
items[].notice_type?string | null
items[].observed_atstring
items[].published_at?string | null
items[].source_as_ofstring
items[].attachment_urls?string[]
items[].solicitation_idstring
items[].amendment_number?string | null
observed_atstring
source_as_ofstring

Fields marked ? are optional.

GETSolicitations by solicitation id attachments/solicitations/{solicitation_id}/attachments

Returns attachment URLs published in matching CanadaBuys rows, deduplicated in source order.

Input

solicitation_idRequiredPath · string

Exact CanadaBuys solicitationNumber.

Example: BPM026715/35036

Response

itemsobject[]
items[].urlstring
items[].source_url?string | null
items[].observed_atstring
items[].source_as_ofstring
items[].solicitation_idstring
observed_atstring
source_as_ofstring

Fields marked ? are optional.

Don’t see the endpoint you need?

Ask agent-data to add an endpoint or return more fields. Extensions are free and keep existing endpoints working.