Search the records themselves
search_recordsThe records SOS.city reads from agencies' open data, one row each: building permits, code-enforcement cases, inspections, certificates of occupancy, new business registrations, grants, weather alerts, earthquakes, US wildfires (NIFC), SCE power shutoffs, satellite fire detections (NASA FIRMS), bank branch openings, closings and mergers (FDIC), current drug shortages (openFDA) and county night-light drops that estimate power outages (NASA Black Marble). Filter by place, kind, ZIP or street address. Each row links to the agency's original. History depends on the plan (Free: 30 days, 100 rows). full_history=true (1 credit) and limit over 100 (1 credit per extra 100 rows, up to 1,000) are paid from the API key's credits; see get_store.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | Five-digit ZIP. | |
| kind | No | ||
| limit | No | Over 100 is paid (1 credit per extra 100 rows). | |
| place | No | Place id, e.g. 'us-ca-los-angeles'. | |
| since | No | YYYY-MM-DD. | |
| address | No | Street address, e.g. '200 N Spring St'. Matches by house number and street name. | |
| full_history | No | Past the plan's history window (1 credit). |