{"uid":"cap_k7TBY2elZs1IQs8aqYVes","slug":"crime-incidents-density-by-city-09910a9f","name":"Crime Incidents Density by City","description":"Recent incident density for a supported US city from its open-data portal. Give a city slug and an optional look-back window in days and get aggregated counts of reported incidents by offense category, a fresher signal than the lagged federal data. Counts by type, not a per-incident dump.","url":"https://payai.agentstools.dev/crime/incidents","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["city"],"properties":{"city":{"enum":["chicago","new-york","los-angeles","seattle"],"type":"string","description":"Supported city portal slug (see crime/sources)"},"days":{"type":"integer","maximum":1825,"minimum":1,"description":"Look-back window in days, default 365"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MmLog_DxzNFnOuf0k0M3u","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns aggregated counts of reported crime incidents by offense category for a supported US city, sourced from its open-data portal, with a configurable look-back window.","exampleAgentPrompt":"Can you pull recent crime incident counts by offense category for Chicago from its open-data portal, looking back over the last 90 days?","exampleUseCases":[{"title":"Neighborhood safety research for relocation","prompt":"I'm thinking about moving to Seattle — can you pull the crime incident counts by offense type from the last 180 days so I can get a sense of what's most common there?"},{"title":"Fresher crime signal for real estate analysis","prompt":"I need a breakdown of reported crime incidents by category in Los Angeles over the past year — something more current than FBI data — to use in a neighborhood risk report."},{"title":"City crime trend monitoring for journalism","prompt":"Can you get me the latest aggregated crime incident counts by offense type for New York City over the last 30 days? I want to see what categories are spiking."}],"resultDescription":"Returns aggregated counts of reported crime incidents grouped by offense category for the specified city and look-back window. Data is sourced directly from city open-data portals, providing a fresher signal than federal (e.g. FBI UCR) statistics. Output is a summary of counts per type, not a raw per-incident dump.","failureModes":["Unsupported city slug returns a validation error — only 'chicago', 'new-york', 'los-angeles', 'seattle' are accepted","Days parameter out of range (below 1 or above 1825) returns a schema validation error","Open-data portal source temporarily unavailable may return a service error or stale data","Missing required 'city' query parameter returns a 400 error","Payment not completed via x402 protocol results in a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need timely, aggregated crime statistics for a major US city and want something fresher than lagged federal datasets like FBI UCR. It is ideal when you need offense-category-level counts rather than raw incident records, and when you are working with one of the four supported cities (Chicago, New York, Los Angeles, Seattle). Prefer alternatives if you need per-incident detail, non-US cities, or cities outside the supported set.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:44:18.231Z","isFirstParty":false}