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

AlexandriaListingsAvailable now

City of Cambridge, MA permits (data.cambridgema.gov) · Contractor activity

data-cambridgema-gov/building-permits/contractor_activity

Search property, job and marketplace listings with City of Cambridge, MA permits (data.cambridgema.gov) · Contractor activity from Alexandria through one Spiral API key. Use for contractor market share in Cambridge: who installs the most solar, heat pumps or EV chargers, or who pulls the most roof or alteration permits. Then search_permits with contractor set to the name for that contractor's jobs. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

$0.00873 per call.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
category requiredone of
new_construction, alteration, short_form, roof, siding, solar, electrical, mechanical, plumbing
—

Which dataset to rank contractors in.

issued_since requiredtext—

First issue date, inclusive (YYYY-MM-DD). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

ziptext—

Only permits whose address ends in this ZIP (02138, 02139, 02140, 02141, 02142). Pattern: ^[0-9]{5}$.

limitnumber
1 to 100
25

Records per page.

cursortext—

next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]{1,7}$.

equipmentone of
heat_pump, ductless_split, ev_charger, solar_pv, battery_storage, generator, electric_water_heater
—

Only permits with this equipment, by the dataset's own counts: electrical (heat_pump, ductless_split, ev_charger, solar_pv, generator), mechanical (heat_pump, ductless_split), solar (solar_pv, battery_storage), plumbing (electric_water_heater). Needs category; other pairs are invalid_input.

permit_typetext—

Case-insensitive substring over permit type, building use and work type, as in search_permits.

issued_untiltext—

Last issue date, inclusive (YYYY-MM-DD); open-ended when omitted. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

Same request in code

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": "data-cambridgema-gov/building-permits/contractor_activity",
    "input": {
      "category": "new_construction",
      "issued_since": "<issued_since>"
    }
  }'

Frequently asked questions

How much does City of Cambridge, MA permits (data.cambridgema.gov) · Contractor activity cost?

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

How do I use City of Cambridge, MA permits (data.cambridgema.gov) · Contractor activity through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "data-cambridgema-gov/building-permits/contractor_activity"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use City of Cambridge, MA permits (data.cambridgema.gov) · Contractor activity?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use City of Cambridge, MA permits (data.cambridgema.gov) · Contractor activity?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.