{"uid":"cap_tL-TtIvu5Esgd-tE3ci0q","slug":"sf-open-data-police-incident-reports-7e4c1a03","name":"SF Open Data Police Incident Reports","description":"San Francisco police incident reports from the city open data portal (data.sf.gov, dataset wg3w-h783): date and time, category, subcategory, description, resolution and police district. Newest reports first; reports as filed, not verified outcomes.","url":"https://api.companyrecords-api.workers.dev/api/gov/sf-open-data?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"limit":{"type":"string","description":"Reports to return, 1 to 20 (default 5)"},"category":{"type":"string","description":"Optional incident category, exact text, e.g. Lost Property"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"source":"https://data.sf.gov/resource/wg3w-h783.json","reports":[{"category":"Lost Property","datetime":"2026-10-21T17:00:00.000","resolution":"Open or Active","description":"Lost Property","subcategory":"Lost Property","incidentNumber":"260622666","policeDistrict":"Central"},{"category":"Lost Property","datetime":"2026-10-20T20:00:00.000","resolution":"Open or Active","description":"Lost Property","subcategory":"Lost Property","incidentNumber":"260622600","policeDistrict":"Mission"}],"category":"Lost Property","checkedAt":"2026-10-23T09:37:14.549Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Lp8f_GQy2TGGuTnOCwnCd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns San Francisco police incident reports from the city's open data portal (data.sf.gov), including date, category, description, resolution, and police district, sorted newest first.","exampleAgentPrompt":"Pull the 10 most recent San Francisco police incident reports from the open data portal — filter them to the Lost Property category so I can see what's being filed.","exampleUseCases":[{"title":"Monitor recent theft reports in SF","prompt":"Get me the 20 most recent theft-related police incident reports from San Francisco open data so I can see what's been filed lately."},{"title":"Track open Lost Property cases","prompt":"Show me the latest 5 Lost Property incident reports from the SF police open data portal, including the district where each one was filed and whether they're still active."},{"title":"Research SF incident trends by category","prompt":"Pull up to 15 recent Vandalism incident reports from San Francisco's police open data — I want to see the dates, descriptions, and which police districts are logging them."}],"resultDescription":"A JSON object containing the data.sf.gov source URL, the timestamp of the check, the filtered category (if any), and an array of incident report objects each with: incident number, datetime, category, subcategory, description, resolution status, and police district.","failureModes":["Invalid or unrecognized category string returns empty reports array","Limit outside 1–20 range may be clamped or return an error","data.sf.gov upstream unavailability results in a fetch error","Stale or delayed data if the city portal hasn't updated recently","Reports reflect as-filed status only — resolutions may not reflect final outcomes"],"whenToPreferThis":"Choose this endpoint when you need structured, near-real-time San Francisco police incident data sourced directly from the official city open data portal. It is the right choice for monitoring SF-specific public safety trends, filtering incidents by category, or building dashboards around SF crime reports. It is not suitable for other cities, aggregated national crime data, or verified criminal records.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:45:21.120Z","isFirstParty":false,"canonicalSlug":"sf-open-data-police-incident-reports-7e4c1a03"}