Skip to content
API Builders
UE

Science & MathPublic API

USGS Earthquake Hazards Program

Earthquakes data real-time

Visit documentationSnapshot 2026-10-26

Before you call it

What this listing means in practice

01

No key to obtain

You can make a request immediately. Be considerate with volume anyway: open APIs often publish informal rate limits, and some will block clients that hammer them.

02

HTTPS supported

Requests can be made over TLS. Use HTTPS endpoints in production so browsers do not block the call as mixed content.

03

CORS not confirmed

If CORS is not enabled, call this API from a server, serverless function or build step and proxy the response to your frontend.

Documentationexternal

Start with the provider's own documentation. It is the only place where endpoints, rate limits, pricing and terms are authoritative.

https://earthquake.usgs.gov/fdsnws/event/1/

No API calls are proxied by this directory. Links go directly to the provider.

API listings describe access requirements, not endorsements. Review each provider's privacy policy, terms and rate limits.

Overview

About USGS Earthquake Hazards Program

USGS Earthquake Hazards Program needs no API key. That puts it among 51 of the 59 science & math APIs we list that you can try without signing up.

It supports HTTPS but CORS is not confirmed, so plan to call it from a server or serverless function. That is true for 33 of the 59 APIs in this category.

The documentation sits on a government domain (earthquake.usgs.gov), so this is an official source. Expect stable data but slower changes and older formats.

Science & Math APIs in general

Science APIs cover space, physics, chemistry, maths and research papers. NASA and similar agencies publish some of the best-documented free APIs anywhere.

What people build with them

  • Space and astronomy apps
  • Looking up chemical or element data
  • Searching academic papers

Watch out for

Scientific datasets can be huge. Use paging and filters instead of downloading everything.

First request

Calling USGS Earthquake Hazards Program

Run this on a server or in a serverless function, because CORS is not confirmed.

JavaScript// Replace the path with an endpoint from the USGS Earthquake Hazards Program docs
const res = await fetch("https://earthquake.usgs.gov/fdsnws/event/1/<endpoint>");
if (!res.ok) throw new Error(`USGS Earthquake Hazards Program returned ${res.status}`);
const data = await res.json();

Compare

USGS Earthquake Hazards Program vs similar APIs

APIAuthHTTPSCORS
USGS Earthquake Hazards ProgramNo keyYesNo
NCBI E-utilitiesNo keyYesYes
MyGene.infoNo keyYesYes
MathJSNo keyYesYes
MacrostratNo keyYesYes
Launch Library 2No keyYesYes

FAQ

Common questions about USGS Earthquake Hazards Program

Does USGS Earthquake Hazards Program need an API key?

No. USGS Earthquake Hazards Program is listed with no authentication, so you can send a request without registering.

Can I call USGS Earthquake Hazards Program from the browser?

CORS is not confirmed, so the browser may block direct calls. Call it from your server or a serverless function and pass the result to your frontend.

Is USGS Earthquake Hazards Program free?

No key is required, which usually means free access, but providers can still limit volume. Check USGS Earthquake Hazards Program's docs for rate limits and fair-use terms.

What are some alternatives to USGS Earthquake Hazards Program?

Other science & math APIs in the directory include NCBI E-utilities (no key), MyGene.info (no key), MathJS (no key). The comparison table on this page shows how they differ on authentication, HTTPS and CORS.

Next step

Keep looking until the constraints fit.

Filter the directory by authentication, HTTPS and CORS, or start from a category and work backwards.