{
  "x402Version": 2,
  "id": 29313,
  "slug": "29313",
  "resource": "https://api.agentstools.dev/crime/incidents",
  "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.",
  "type": "http",
  "serviceName": "crime-incidents",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "city": "chicago",
            "days": 365
          },
          "type": "http"
        },
        "output": {
          "example": {
            "by_type": [
              {
                "count": 58000,
                "offense_type": "THEFT"
              },
              {
                "count": 41000,
                "offense_type": "BATTERY"
              }
            ],
            "city": "chicago",
            "distinct_types": 30,
            "total_incidents": 258000,
            "verdict": "found",
            "window_days": 365
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "city": {
                    "description": "Supported city portal slug (see crime/sources)",
                    "enum": [
                      "chicago",
                      "new-york",
                      "los-angeles",
                      "seattle"
                    ],
                    "type": "string"
                  },
                  "days": {
                    "description": "Look-back window in days, default 365",
                    "maximum": 1825,
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "city"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "crime",
    "public-safety",
    "incidents",
    "city",
    "open-data",
    "bazaar"
  ],
  "sourceHost": "api.agentstools.dev",
  "lastUpdated": "2026-09-19T16:00:08.497Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-19T16:00:08.268Z"
  },
  "metadata": {
    "serviceName": "crime-incidents",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "city": "chicago",
              "days": 365
            },
            "type": "http"
          },
          "output": {
            "example": {
              "by_type": [
                {
                  "count": 58000,
                  "offense_type": "THEFT"
                },
                {
                  "count": 41000,
                  "offense_type": "BATTERY"
                }
              ],
              "city": "chicago",
              "distinct_types": 30,
              "total_incidents": 258000,
              "verdict": "found",
              "window_days": 365
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "city": {
                      "description": "Supported city portal slug (see crime/sources)",
                      "enum": [
                        "chicago",
                        "new-york",
                        "los-angeles",
                        "seattle"
                      ],
                      "type": "string"
                    },
                    "days": {
                      "description": "Look-back window in days, default 365",
                      "maximum": 1825,
                      "minimum": 1,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "city"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.agentstools.dev",
    "manifest_name": "api.agentstools.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "by_type": [
      {
        "count": 58000,
        "offense_type": "THEFT"
      },
      {
        "count": 41000,
        "offense_type": "BATTERY"
      }
    ],
    "city": "chicago",
    "distinct_types": 30,
    "total_incidents": 258000,
    "verdict": "found",
    "window_days": 365
  }
}