Spiral gives your agent every tool with one account. Browse the tools →

Codex · Lead Gen

How to Use Alberta Purchasing Connection buyer directory in Codex

Get APC's directory of contracting organizations. Use it to identify public buyers and resolve the organizations attached to procurement postings.

Prompts to try with Alberta Purchasing Connection buyer directory in Codex

Copy an example into Codex, or ask in your own words.

Use Alberta Purchasing Connection buyer directory to find contracting organizations containing Calgary and add the returned organizations to this project's buyer report.

Alberta Purchasing Connection buyer directoryCodex
Try asking
  • Use Alberta Purchasing Connection buyer directory to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Alberta Purchasing Connection buyer directory and tell me what changed since last week.

  • Check Alberta Purchasing Connection buyer directory and summarize what you find in three bullet points.

  • Pull the newest data from Alberta Purchasing Connection buyer directory and give me the result as a table.

How to set up Alberta Purchasing Connection buyer directory in Codex

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Alberta Purchasing Connection buyer directory

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "purchasing-alberta-ca/public-tenders/list_organizations",
        "input": {
          "type_code": "MINISTRY"
        }
      }'

Then paste one of the prompts above: Codex finds Alberta Purchasing Connection buyer directory on Spiral, shows the price and runs it.

Alberta Purchasing Connection buyer directory providers and prices

Spiral runs Alberta Purchasing Connection buyer directory through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen
Alberta Purchasing Connection · List organizations
purchasing-alberta-ca/public-tenders/list_organizations

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Type codeMINISTRY, ABC, CROWN, INDIG, or MASH

MINISTRY (Government of Alberta departments), ABC (agencies, boards, commissions), CROWN (Crown corporations), INDIG (Indigenous organizations), MASH (municipalities, academic institutions, school boards, health).

Include inactiveon or off

Also return organizations the site flags inactive.

Every API field of Alberta Purchasing Connection · List organizations is on its tool page: open its card above.

What can you do with Alberta Purchasing Connection buyer directory in Codex?

Build an Alberta procurement report with readable buyer names and classifications. A coding agent can combine APC lookup data, search results and posting details in your project's reporting workflow.

Build a municipal construction shortlist

Identify Calgary and Edmonton buyers, interpret posting classifications, and find commodity codes for bridge work. Search for relevant notices, then read the shortlisted postings for deadlines and submission details.

Find environmental consulting opportunities

Resolve public buyers, identify environmental-service classifications and decode posting types. Run separate keyword and commodity searches for wildfire planning, then review the public requirements of promising postings.

Research education technology procurement

Find university and school-board buyers, select software commodity classifications and interpret solicitation types. Discover relevant postings and compare their descriptions, closing dates and submission instructions.

Prepare a health-sector equipment brief

Identify health-sector contracting organizations, map equipment offerings to commodity codes and translate procurement classifications. Search for matching notices and summarize the public scope and deadlines of relevant postings.

Make procurement records readable

Resolve contracting organizations and translate posting and commodity classifications into readable labels for an internal procurement report.

Questions about Alberta Purchasing Connection buyer directory in Codex

Can Codex use Alberta Purchasing Connection buyer directory?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Alberta Purchasing Connection buyer directory like any built-in tool.

How much does Alberta Purchasing Connection buyer directory cost in Codex?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

Do I need an Alexandria account to use Alberta Purchasing Connection buyer directory in Codex?

No. Spiral runs Alberta Purchasing Connection buyer directory on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Alberta Purchasing Connection buyer directory in Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while Alberta Purchasing Connection buyer directory runs?

Alberta Purchasing Connection buyer directory runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

Does APC cover every Alberta government purchase?

APC covers provincial and public-sector procurement, including municipal, school-board and health buyers. Coverage has boundaries: under-threshold purchases may follow other processes, and Contingent Resource Program opportunities use SAP Fieldglass.

Can commodity-code searches miss relevant tenders?

Yes. Buyers assign UNSPSC codes themselves, and some migrated postings have no UNSPSC codes. APC recommends trying keyword and code searches separately because combining them can exclude relevant work.

Can posting information change without a new document?

Yes. APC says amendments can update public posting details, including contact information or the bidders list, without adding an addendum document.

Why can enhanced search find different results?

APC's Enhanced Filtering uses AI-generated keywords, industry terms and synonyms. It can find contextually related postings whose wording differs from your search phrase.

How specific are APC's commodity classifications?

UNSPSC has four levels, with two digits representing each level. APC allows codes from any of those levels on a posting, so classifications can be broad or specific.

Get started

Start using Alberta Purchasing Connection buyer directory in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options