freeapis

USGS Earthquake Hazards Program

实时地震数据

认证方式
No auth
HTTPS
Yes
CORS
No
数据来源
public-apis + marcelscruz

简介

USGS 地震灾害计划 FDSN 事件 API 提供来自美国地质调查局监测网络的实时地震数据:全球近期地震,含震级、位置、深度和时间。免密钥、政府运营,是地震信息流和警报的权威来源。

快速开始

近期地震(GeoJSON,实测可用):

curl "https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&limit=1"
{
  "type": "FeatureCollection",
  "metadata": { "count": 1 },
  "features": [
    {
      "type": "Feature",
      "properties": {
        "mag": 4.6,
        "place": "22 km NNE of Aksu, China",
        "time": 1724300000000,
        "updated": 1724301000000,
        "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us7000..."
      },
      "geometry": { "type": "Point", "coordinates": [80.5, 41.3, 10.0] }
    }
  ]
}

过去 30 天显著地震(按震级排序):

curl "https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&eventtype=earthquake&orderby=magnitude&limit=10"

按时间窗口筛选(Unix 毫秒):

curl "https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&starttime=2026-08-01&endtime=2026-08-22&minmagnitude=5"

认证方式

无需认证——免密钥。

速率限制与注意事项

  • 免费、公开的美国政府数据——无密钥、配额宽松(批量查询有每 IP 上限)。
  • format=geojson 是最友好的输出;format=csv 可用于表格。
  • 参数:starttime/endtime(ISO 日期)、minmagnitude/maxmagnitude、latitude/longitude/maxradiuskm、eventtype。
  • GeoJSON 的 features[].geometry.coordinates 是 [经度, 纬度, 深度]——经度在前!

常见问题

USGS 地震 API 免费吗? 是的——免费、免密钥、公开政府数据。

如何获取最近 24 小时的地震? query?format=geojson&starttime=2026-08-21&endtime=2026-08-22&minmagnitude=2.5。

坐标顺序是什么? GeoJSON 是 [经度, 纬度, 深度]——别搞反。

科学与数学 分类更多

APIAuthHTTPSCORS
arcsecond.io

Multiple astronomy data sources

No authYesUnknown↗
arXiv

Curated research-sharing platform: physics, mathematics, quantitative finance, and economics

No authunknownUnknown↗
arXiv

Curated research-sharing platform: physics, mathematics, quantitative finance, and economics

No authYesUnknown↗
Bootprint

Random facts and images of space

No authYesUnknown↗
CodeCogs

Render LaTeX equations in PNG, GIF, SVG, EMF, PDF, JSON, or download formats with styling options

No authYesUnknown↗