Duaer

入门

在 Duaer 里查FBI 犯罪统计

在 Duaer 里:FBI 犯罪数据浏览器:全美或某州暴力犯罪与财产犯罪的月度犯罪率与案件数。一次成功查询用 1 额度。

能拿到什么

Duaer 数据市场里的「FBI 犯罪统计」:FBI 犯罪数据浏览器:全美或某州暴力犯罪与财产犯罪的月度犯罪率与案件数。查到结果时用 1 额度,结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → FBI 犯罪统计,或打开 数据市场。相关:美国人口普查 ACS、美国国会议员。

适合做什么

  • 比较加州与全美的入室盗窃率。
  • 按月绘制去年的暴力犯罪走势。

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → FBI crime statistics。
  2. 填 Offense(如 burglary);State(如 CA)、Year(如 2023)可选。
  3. Limit 默认 10,最大 20。执行。

查到结果才扣 1 额度;没有结果、输入有误或上游失败都不扣。

用 API 调用

  • GET https://api.duaer.com/v1/data/fbi-crime?offense=violent-crime
  • Authorization: Bearer <Duaer key>

下方是与数据市场「复制技能」相同的英文技能,含参数、示例与返回字段。

调用技能(英文)

与数据市场「复制技能」一致。

---
name: duaer-fbi-crime
description: >-
  Duaer FBI crime statistics. FBI Crime Data Explorer: monthly rates and counts of violent and property crime for the US or a state.
  One successful search uses 1 Duaer credit.
---

# Duaer FBI crime statistics

Duaer FBI crime statistics returns monthly offense rates per 100,000 people and counts from the FBI Crime Data Explorer, newest month first. A state row also shows the US rate for comparison. Duaer holds the upstream API key; you only send your Duaer key.

## When to use

- Compare the burglary rate in California with the US.
- Chart monthly violent crime for last year.

## When not to use

- Population and income. Use https://skills.duaer.com/census.md.
- Global health indicators. Use https://skills.duaer.com/who-gho.md.

## Call

`GET https://api.duaer.com/v1/data/fbi-crime?offense=violent-crime`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Get a Duaer key: https://skills.duaer.com/keys.md

## Parameters

Provide `offense` or `state`.

- `offense` — `violent-crime`, `property-crime`, `homicide`, `rape`, `robbery`, `aggravated-assault`, `burglary`, `larceny`, `motor-vehicle-theft`, or `arson`. Default violent-crime.
- `state` — Optional. Two-letter code such as CA. Default is the whole US.
- `year` — Optional. Four-digit year. Default is last year.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/fbi-crime?offense=violent-crime` — monthly US violent crime for last year.
- `GET https://api.duaer.com/v1/data/fbi-crime?offense=burglary&state=CA&year=2023` — California burglary by month in 2023.

## Result

The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:

- `place`, `offense`, `month` — area, offense, and YYYY-MM.
- `ratePer100k`, `offenses` — rate per 100,000 people and reported count.
- `clearances` — offenses cleared by arrest or other means, when reported.
- `population` — population covered by reporting agencies.

Fields without a value are left out.

## Credits

A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

## Related

- https://skills.duaer.com/census.md — Duaer US Census ACS
- https://skills.duaer.com/congress-members.md — Duaer US Congress members

常见问题

Duaer 的FBI 犯罪统计检索扣多少额度?

查到结果时扣 1 额度;没有结果或出错不扣。

Duaer FBI 犯罪统计的数据完整吗?

数据来自向 FBI 报送的执法机构,覆盖人口见 population 字段;个别月份可能因报送不全而偏低。

同组