{"uid":"cap_qb981onhZc4duH2BQ405t","slug":"crime-incident-density-by-us-city-378a13c7","name":"Crime Incident Density by US 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://api.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_YH8C9KiB_sqIVNRuvWeRG","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 incidents by offense category for a supported US city, sourced from its open-data portal, over a configurable look-back window.","exampleAgentPrompt":"Can you pull the recent crime incident counts by offense category for Chicago over the last 90 days from its open-data portal?","exampleUseCases":[{"title":"Safety assessment for moving decision","prompt":"I'm considering relocating to Seattle and want to understand what types of crimes have been reported there recently. Can you pull the incident counts by offense category for the last 60 days so I can see what I'd be dealing with?"},{"title":"Neighborhood risk comparison analysis","prompt":"I'm looking at apartments in different parts of Los Angeles and need to compare safety. Can you get me the recent crime statistics broken down by offense type for each neighborhood I'm considering over the past month?"},{"title":"Real estate market trend monitoring","prompt":"We're investing in properties across New York and want to track how crime patterns are changing. Can you pull the aggregated incident counts by crime category for the last six months to see if certain offense types are trending up or down?"}],"resultDescription":"A JSON object containing aggregated counts of reported incidents grouped by offense/crime category for the specified city, covering the requested look-back window. This is a summary count per type, not a raw per-incident dump, sourced from the city's open-data portal.","failureModes":["Unsupported city slug returns an error — only 'chicago', 'new-york', 'los-angeles', 'seattle' are valid","days parameter out of range (must be 1–1825) returns a validation error","City open-data portal temporarily unavailable or data not refreshed may return stale or error response","Missing required 'city' query parameter returns a 400 bad request","x402 payment failure if wallet lacks sufficient USDC balance"],"whenToPreferThis":"Use this endpoint when you need fresher, more timely crime statistics than lagged federal datasets (e.g. FBI UCR), specifically for aggregated offense-category counts in Chicago, New York, Los Angeles, or Seattle. Ideal for city-level safety analysis, neighborhood risk assessments, or trend monitoring over a custom time window without needing to process raw incident-level data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:35:11.576Z","isFirstParty":false}