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

Muse Code · Public Records

How to Use Public Purchase regions in Muse Code

Returns the regions available in Public Purchase’s agency directory. Use it to check geographic coverage before finding agencies in a state, province, or territory.

Prompts to try with Public Purchase regions in Muse Code

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

Use Public Purchase regions to retrieve the available geographic entries and add a coverage table to this project showing Washington, Oregon, and British Columbia when present.

Public Purchase regionsMuse Code
Try asking
  • Use Public Purchase regions to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Public Purchase regions and tell me what changed since last week.

  • Check Public Purchase regions and summarize what you find in three bullet points.

  • Pull the newest data from Public Purchase regions and give me the result as a table.

How to set up Public Purchase regions in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code 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 Public Purchase regions

    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": "publicpurchase-com/public-tenders/list_regions",
        "input": {}
      }'

Then paste one of the prompts above: Muse Code finds Public Purchase regions on Spiral, shows the price and runs it.

Public Purchase regions providers and prices

Spiral runs Public Purchase regions through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
Public Purchase · List regions
publicpurchase-com/public-tenders/list_regions

What can you do with Public Purchase regions in Muse Code?

Build a procurement dashboard that connects Public Purchase regions and agency records to public open-bid summaries. A coding agent can populate the project with real buyers and organize available bid dates for review.

Build a regional opportunity shortlist

Check whether Washington is represented, find relevant agencies, confirm each buyer’s identity and links, and collect its public open bids. Sort the resulting shortlist by closing date.

Evaluate a new service territory

Check directory coverage for Alberta and British Columbia, identify listed agencies, and inspect their profiles and current bid summaries. Use the results to assess which buyers warrant further procurement research.

Prepare a weekly procurement briefing

Use the available regions to organize a Washington and Oregon briefing, locate agencies, attach their official identities and links, and summarize their public open opportunities by deadline.

Audit a procurement watchlist’s coverage

Compare a supplier’s Utah and Wyoming watchlist with the regions and agencies Public Purchase lists. Confirm agency records and check public open-bid listings to identify buyers missing from the watchlist.

Questions about Public Purchase regions in Muse Code

Can Muse Code use Public Purchase regions?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Public Purchase regions like any built-in tool.

How much does Public Purchase regions cost in Muse Code?

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

Do I need an Alexandria account to use Public Purchase regions in Muse Code?

No. Spiral runs Public Purchase regions on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Public Purchase regions in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while Public Purchase regions runs?

Public Purchase regions runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

Does Public Purchase cover Canadian agencies?

Its directory includes Canadian regions alongside US regions. Alberta, Ontario, and Northwest Territories appear in the geographic directory; inclusion describes Public Purchase’s directory coverage, not a count of all government buyers.

What information appears in a public bid summary?

Public Purchase’s public bid table shows the title, start date, end date, time left, and addendum information. These are listing summaries; full bid detail pages and documents are outside the documented public endpoint coverage.

Can I retrieve closed bids or full solicitation documents?

The documented public coverage excludes closed bids, full bid detail pages, documents, and bid search. The available bid listings focus on an individual agency’s open opportunities.

Does Public Purchase guarantee that its information is current?

Public Purchase’s buyer agreement expressly declines to guarantee timely or uninterrupted content. A current open-bid listing therefore carries no contractual guarantee of immediate updates.

Does public visibility mean unrestricted reuse?

Public Purchase’s user agreement requires prior express written permission to monitor, copy, or reproduce its pages or their content using automated devices or manual processes. Public visibility alone does not establish permission for those activities.

Get started

Start using Public Purchase regions in Muse Code

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

Paste this into Muse Code:

Set up Muse Code

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