St. Louis Open Data & City Ordinances API Guide
St. Louis, Missouri publishes municipal datasets through an open data portal that can help you find city ordinances, permit records, zoning maps, and other official resources. This guide explains how to locate datasets and use the portal's API to query records, what official sources control legal text, and where to report data issues or request corrections. It focuses on practical steps, official contacts, and citations to city pages so you can rely on primary municipal sources when working with St. Louis data.
Accessing the Portal
The City of St. Louis hosts an open data portal that publishes datasets for public use, usually with dataset metadata, formats for download (CSV, JSON), and API endpoints for programmatic access. Visit the portal homepage for dataset discovery and metadata details: data.stlouis-mo.gov[1]. The portal uses standard Socrata-style resource endpoints to access rows and supports common query parameters; specific rate limits or billing terms are not specified on the cited page.
API Basics
API requests are typically formed against dataset resource endpoints; you can request JSON, filter rows, sort, and paginate. Common steps are discover the dataset identifier in the portal, build a /resource/{id}.json query, and parse the returned JSON in your application. The portal page linked above provides dataset-level examples but does not publish an explicit city rate-limit or billing schedule.
- Find the dataset by keyword or category on the portal and open its metadata pane.
- Copy the dataset identifier (resource ID) and test a sample query in your browser or API client.
- Review the dataset's license and any stated attribution or commercial-use restrictions in metadata.
Data Use & Licensing
Many open datasets are published for public use, but legal status of official ordinance text is controlled by the municipal code and official publications. For legal force of ordinances and exact codified text, consult the city's official code or the municipal law pages: City Laws and Code[2]. If an exact statutory phrasing or enforcement clause is required, rely on the municipal code and adopted ordinances rather than extracted dataset text.
Penalties & Enforcement
Open data publication itself is not typically the subject of fines in city code; enforcement and penalties apply to regulated behaviors described in ordinances found in the municipal code. Specific fine amounts, escalation schedules, and non-monetary sanctions for violations of city ordinances are set in the municipal code or in individual ordinance texts and are not consolidated on the portal dataset pages; when exact fines or penalty procedures are needed, consult the municipal code pages cited above.[2]
- Fine amounts: not specified on the cited page when not directly printed in dataset metadata.
- Escalation (first/repeat/continuing offences): not specified on the cited page.
- Non-monetary sanctions (orders, suspension, seizure, injunctive relief): referenced in municipal code sections; see the City Laws page for section details.[2]
- Enforcer and complaints: technical data issues and portal questions are handled by the City Department of Information Technology; to report data errors or request support contact the city IT office listed on the official site.[3]
Applications & Forms
No separate application is required to access open datasets on the portal; most files are downloadable directly from each dataset page. If you need an official certified copy of an ordinance or an administrative appeal form, those forms and procedures are maintained in the municipal code or by the responsible department and are not published as data portal items in every case.
How-To
- Open the St. Louis open data portal and search for keywords like "ordinance", "zoning", or the department name.
- Open the dataset page, review the schema and metadata, and confirm update frequency and license terms.
- Copy the dataset resource identifier and use the portal's API resource endpoint to construct a JSON query.
- Filter results by ordinance number, date, or parcel ID as needed and export or ingest the data into your workflow.
- If data appears incorrect or out of date, submit a report to the city IT or the dataset's publishing department for correction.
FAQ
- How do I find the official text of a St. Louis ordinance?
- Search the municipal code or the City's laws pages for the ordinance number; dataset extracts on the portal may summarize but are not a substitute for the codified text.
- Do I need an API key to use the portal?
- Many datasets are accessible without a key for basic queries; for higher-volume or authenticated access consult the portal documentation or contact city IT.
- Can I reuse city data for a commercial project?
- Reuse depends on the dataset's license and any restrictions stated in metadata; check each dataset's license before commercial use.
Key Takeaways
- Use the portal for discovery but verify legal text in the municipal code for authoritative wording.
- Report data errors to the City's IT department or the dataset publisher for corrections.
- Always read dataset metadata for licensing and update frequency before reuse.
Help and Support / Resources
- St. Louis Open Data Portal
- City Laws and Municipal Code
- City Department of Information Technology
- Building & Zoning / Building Safety