CanadaBuys Procurement Data API
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.
Endpoint health
Loading verification…
Connect your agent
Connect through MCP so your agent can find this API, read its docs, and call its endpoints.
Add the server from your terminal.
claude mcp add --transport http agent-data https://agent-data.motie.dev/mcpIn 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 keySign 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.
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 | nullCase-insensitive substring of the contracting entity name.
Example: Shared Services Canada
statusOptionalQuery · string | nullObserved source status such as Open, Expired, or Cancelled.
Example: Open
updated_sinceOptionalQuery · string | nullInclusive ISO calendar date compared with amendmentDate or publicationDate.
Example: 2026-10-01
cursorOptionalQuery · string | nullOpaque cursor returned by a previous response.
Response
itemsobject[]items[].title?string | nullitems[].agency?string | nullitems[].due_at?string | nullitems[].source_url?string | nullitems[].status_raw?string | nullitems[].updated_at?string | nullitems[].notice_type?string | nullitems[].observed_atstringitems[].published_at?string | nullitems[].source_as_ofstringitems[].attachment_urls?string[]items[].solicitation_idstringitems[].amendment_number?string | nullitems[].reference_number?string | nullnext_cursorstring | nullobserved_atstringsource_as_ofstringFields 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 · stringExact CanadaBuys solicitationNumber returned by list.
Example: AR26SLHX_86026
Response
title?string | nullagency?string | nulldue_at?string | nullsource_url?string | nullstatus_raw?string | nullupdated_at?string | nullnotice_type?string | nullobserved_atstringpublished_at?string | nullsource_as_ofstringattachment_urls?string[]solicitation_idstringamendment_number?string | nullreference_number?string | nullFields 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 · stringExact CanadaBuys solicitationNumber.
Example: WS4967671213
Response
itemsobject[]items[].title?string | nullitems[].agency?string | nullitems[].due_at?string | nullitems[].source_url?string | nullitems[].status_raw?string | nullitems[].updated_at?string | nullitems[].notice_type?string | nullitems[].observed_atstringitems[].published_at?string | nullitems[].source_as_ofstringitems[].attachment_urls?string[]items[].solicitation_idstringitems[].amendment_number?string | nullobserved_atstringsource_as_ofstringFields 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 · stringExact CanadaBuys solicitationNumber.
Example: BPM026715/35036
Response
itemsobject[]items[].urlstringitems[].source_url?string | nullitems[].observed_atstringitems[].source_as_ofstringitems[].solicitation_idstringobserved_atstringsource_as_ofstringFields 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.
An account is required to submit an extension. Prepare your request, then sign in to build.