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

AlexandriaListingsAvailable now

City of Cincinnati Open Data: building permits, contractors and code enforcement · Search code cases

data-cincinnati-oh-gov/building-permits/search_code_cases

Search property, job and marketplace listings with City of Cincinnati Open Data: building permits, contractors and code enforcement · Search code cases from Alexandria through one Spiral API key. Violations, vacant building orders or open complaints at a Cincinnati address before or after a permit search; new or changed cases since a date in a neighborhood. 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
sortone of
entered_desc, updated_desc
—

Order, newest first, missing values last. Defaults to entered_desc, or updated_desc when only updated_since is given.

limitnumber
1 to 100
25

Records per page.

agencytext—

Agency words, for example Buildings and Inspections, Public Services, Health, Forest Park.

cursortext—

The next_cursor of the previous page. Pattern: ^[0-9]{1,7}$.

statustext—

Words matched against the status, its code and class, for example open, Closed, Orders Issued, Citation.

addresstext—

Site street address, case-insensitive, words matched in order: 609 Walnut St, 2421 May. Only the part before a comma is used; spelled-out directions and street types become the city's abbreviations (West -> W, Avenue -> AV) and a leading house number is matched exactly, so 609 does not match 1609.

case_typetext—

Words matched against the complaint type, subtype and category, for example Tall Grass, Vacant, Zoning, Graffiti, Buildings with Residences.

neighborhoodtext—

Neighborhood words, case-insensitive, for example Walnut Hills, Westwood.

entered_sincetext—

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

entered_untiltext—

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

updated_sincetext—

Cases whose last_updated date is on or after this day (YYYY-MM-DD; the city publishes day precision). Without entry-date filters the default sort becomes updated_desc. 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-cincinnati-oh-gov/building-permits/search_code_cases",
    "input": {
      "sort": "entered_desc"
    }
  }'

Frequently asked questions

How much does City of Cincinnati Open Data: building permits, contractors and code enforcement · Search code cases 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 Cincinnati Open Data: building permits, contractors and code enforcement · Search code cases through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "data-cincinnati-oh-gov/building-permits/search_code_cases"` 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 Cincinnati Open Data: building permits, contractors and code enforcement · Search code cases?

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

Can my AI agent use City of Cincinnati Open Data: building permits, contractors and code enforcement · Search code cases?

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