Socrata open-data portals
Discover and query datasets on any public Socrata (Tyler Data & Insights) open-data portal: city, county and state portals such as data.cityofchicago.org, data.ny.gov, data.austintexas.gov, data.wa.gov and hundreds more. Search the cross-portal catalog (Socrata Discovery API), read a dataset's columns, row count, license and update details, and query rows with SoQL (select/where/order/group/full text). Portals are verified as Socrata domains before they are contacted. Keyless; no app token.
5 Firecrawl tools use Socrata open-data portalsTry Socrata open-data portals now.
Choose an example or ask your own question.
const result = await firecrawl.scrape({
alexandria: {
provider: "socrata-com",
capability: "open-data/query_dataset",
options: {
dataset_id: "ydr8-5enu",
limit: 5,
portal: "data.cityofchicago.org",
select: "id, permit_, permit_type, issue_date, street_number, street_direction, street_name",
where: "permit_ = '100084789'",
},
},
});This is a sample shape. Press Run to see live data from Socrata open-data portals.
{
"columns": [
{
"datatype": "text",
"field_name": "id"
},
{
"datatype": "text",
"field_name": "permit_"
},
{
"datatype": "text",
"field_name": "permit_type"
},
{
"datatype": "floating_timestamp",
"field_name": "issue_date"
},
{
"datatype": "number",
"field_name": "street_number"
},
{
"datatype": "text",
"field_name": "street_direction"
},
{
"datatype": "text",
"field_name": "street_name"
}
],
"count": 1,
"data_last_modified": "Fri, 09 Oct 2026 12:07:11 GMT",
"dataset_id": "ydr8-5enu",
"limit": 5,
"next_offset": null,
"observed_at_ms": 1791566245239,
"offset": 0,
"portal": "data.cityofchicago.org",
"rows": [
{
"id": "1634695",
"issue_date": "2006-01-03T00:00:00.000",
"permit_": "100084789",
"permit_type": "PERMIT - SIGNS",
"street_direction": "N",
"street_name": "MILWAUKEE AVE",
"street_number": "1576"
}
],
"source_url": "https://data.cityofchicago.org/resource/ydr8-5enu.json?%24select=id%2C+permit_%2C+permit_type%2C+issue_date%2C+street_number%2C+street_direction%2C+street_name&%24where=permit_+%3D+%27100084789%27&%24order=%3Aid&%24limit=5"
}Firecrawl tools
5Ready-made Firecrawl tools that call Socrata open-data portals.
Skills
Official skills using Socrata open-data portals
Permit turnaround peer benchmarkUse when a city building official or permitting director must show council how long permits take versus peer cities. Finds building-permit datasets on Socrata and DataSF, computes issue times by permit type from the raw records, normalises by population and housing growth from Census data, and drafts a benchmark with method notes.
For one city and three to five peers that publish permit records. Turnaround claims are only fair when computed the same way from raw rows.
1. Find comparable datasets
Search
Search datasets (query "building permits") for each peer's portal domain. Keep dataset_id and portal.
For San Francisco, find the permits table with
Datasets (query "building permits").
Read field names with
Describe dataset and
Dataset. Identify application date, issue date, permit type and valuation columns; never guess them.
2. Compute turnaround
For each portal, pull the last 12 months of issued permits with
Query dataset (select application and issue dates, permit type; where issue date in window). For San Francisco use
Rows, sized first with
Row count.
Compute median and 90th percentile days from application to issue for new residential, alterations and commercial.
3. Normalise
Pull population and housing units for each city with
Data (acs/acs1 or acs5) to express permits per 1,000 units.
Write the benchmark
Table: city, permit type, permits issued, median days, P90 days, permits per 1,000 units.
Method notes: fields used per city, excluded records, any city whose dates are not comparable.
Where we stand: rank and gap to the best peer for each type.
Sources: dataset ids, query filters, ACS tables. Say which peers publish no usable dates and what could not be found.
Supplier recall and inspection sweep for a restaurant groupUse when a food safety or QA manager at a multi-unit restaurant group runs the weekly compliance sweep. Checks FDA food recalls against the group's key ingredients and suppliers, pulls each unit's latest public health inspection from the city open-data portal, and scans recent Maps reviews for illness or hygiene complaints. Produces an action list by location.
For a list of key ingredients and supplier names, the locations' names and addresses, and the city open-data portal.
1. Recalls touching the menu
Search
Food recalls for each ingredient and supplier name. Keep recall number, classification, reason, status and report date. Class I recalls go to the top.
2. Inspection record
Find the inspection dataset with
Search datasets (query restaurant inspections,
domainthe city portal).Read its columns with
Describe dataset so filters use real field names.
Pull each location's latest results with
Query dataset (
whereon name or address,orderby inspection date descending).
3. Guest signals
Find each location with
Business search and read its newest
Reviews. Flag mentions of getting sick, hair, pests, cold food served hot or dirty restrooms.
Write the sweep
Recalls: any match to the ingredient list, with lot or product detail and the action (pull, verify lot, ignore with reason).
By location: last inspection date, score or result, open violations, and guest hygiene flags.
Action list: owner and due date fields left for the manager to fill.
Sources: cite each record to its capability and date. Not every city publishes inspections; say what could not be found.
Short-term rental registration gap countUse when a city housing policy analyst is estimating how many short-term rentals operate without registering. Counts active Vrbo listings in the city, pulls the official registration counts from the city or state open-data portal, and adds Census housing units for scale. Produces a gap estimate by area with the method spelled out.
For the city name and its open-data portal.
1. What is listed
Resolve the city and its neighbourhoods with
Locations.
Run
Search for each region for a near-term weekend and page through results. Count unique listings and note property types.
2. What is registered
Find the registry with
Search datasets (query short term rental registrations,
domainthe portal).Read its fields with
Describe dataset, then count active registrations by area with
Query dataset (
selectcount,groupby neighbourhood or ZIP).
3. Scale
Read
Data (acs/acs5) for total housing units by ZIP.
Write the estimate
Area table: listings counted, registrations, gap, gap as a share of housing units.
Method: dates searched, how duplicates were removed, and that one platform is a floor not a ceiling.
Caveats: listings that are hotels or exempt types, and areas where Vrbo and registry boundaries differ.
Sources: cite each count to its capability and date. Say what could not be found rather than guessing.
Council district constituent issue briefUse when a Seattle city council legislative aide prepares for a constituent meeting or neighbourhood walk. Maps an address to its council district and member, pulls the member's recent statements, counts open 311 and code-violation records nearby from city open data, and adds local demographics, giving the aide a sourced one-pager.
For one address or neighbourhood in Seattle and an upcoming meeting. The aide needs to know whose district it is, what the member has said and what residents keep reporting.
1. Whose district
Geocode the address with
Geocode. Carry lat and lon.
Map it with
Find district: district number and councilmember.
Read the member's record with
Councilmember and recent statements with
Council news (search the neighbourhood or topic).
2. What residents report
Find Seattle's 311 or code-compliance dataset with
Search datasets (domain data.seattle.gov, query "customer service requests" or "code complaints").
Read its columns with
Describe dataset, then count recent records near the point by category with
Query dataset (where on date and location, group by type).
3. Who lives there
Pull tract-level population, renter share and median income with
Data (acs/acs5) after resolving the tract with
Geographies.
Write the brief
Header: district, member, meeting purpose.
Top five issues by 90-day request count, with open versus closed.
What the member has said on those issues, dated.
Neighbourhood profile: population, renter share, income, with ACS vintage.
Sources: dataset ids, query filters, news URLs, ACS tables. Say what could not be found or which datasets were stale.
Community health needs assessment data packUse when a nonprofit hospital's community benefit manager starts the triennial community health needs assessment. Pulls poverty, insurance, age and language from Census data, county unemployment from BLS, local hospital quality from CMS, and access to pharmacies and groceries from the map, then adds county open-data health datasets into a sourced secondary-data pack.
For one hospital's service area (usually one to three counties). The CHNA needs a secondary-data section every reader can trace.
1. Demographics and coverage
Resolve counties and tracts with
Geographies.
Pull poverty, uninsured share, age 65 and over, disability, language and broadband with
Data (acs/acs5; county and tract).
Add jobless rate with
Bls unemployment rate (state_fips, county_fips).
2. Care and food access
List hospitals and their quality ratings with
Hospitals (state, city).
Map pharmacies and supermarkets with
Search elements (tags amenity=pharmacy, shop=supermarket; area_relation_id per county). Tracts with high poverty and none nearby are access gaps.
3. Local health data
Search the county or state open-data portal with
Search datasets (query overdose, births, chronic disease, behavioral risk) and pull rows with
Query dataset after reading columns with
Describe dataset.
Write the data pack
Indicator table: indicator, county value, state value, year, source.
Hot spots: tracts combining high poverty, uninsured and poor access.
Draft priority list for the community input phase, each tied to data.
Sources: ACS tables, BLS series, CCNs, OSM ids, dataset ids. Say what could not be found.
Benchmarks
Public records benchmarksQuality, speed and cost, last 24 hours, across every agent call to Socrata open-data portals through Alexandria.
- Quality
- 100%
- Calls answered without a tool error
- Speed
- 6.5 s
- 95% of successful calls finish faster
- Cost
- 5 credits
- Firecrawl credits per call
- Calls
- 24
- Last 24 hours, every Alexandria user