Magnitude comparison
API · /richter-api
Earthquake Magnitude API
Earthquake-magnitude seismology as an API, computed locally and deterministically. The energy endpoint computes the radiated seismic energy released by an earthquake of a given magnitude using the Gutenberg-Richter relation, log10(E) = 1.5·M + 4.8 with E in joules, and converts it to a TNT equivalent in tons and kilotons (one ton of TNT ≈ 4.184×10⁹ J), with a felt/damage classification. The compare endpoint quantifies how much bigger one quake is than another: each magnitude unit means about ten times the ground-motion amplitude on a seismograph and about 31.6 times (10^1.5) the energy, so it returns both the amplitude ratio and the energy ratio between two magnitudes. The moment-magnitude endpoint converts between the seismic moment M0 (in newton-metres, M0 = rigidity × rupture area × slip) and the moment magnitude with the Hanks-Kanamori relation Mw = (2/3)·log10(M0) − 6.07, in either direction. Magnitudes are dimensionless, energy is in joules and seismic moment in newton-metres. Everything is computed locally and deterministically, so it is instant and private. Ideal for seismology-education, disaster-modelling, insurance, structural-risk and science app developers, earthquake-energy and magnitude tools, and STEM teaching. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is the earthquake-magnitude calculator; for real-time and historical earthquake event feeds use an earthquake data API.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 680 ms
- Server probes · 24h
- Subscribers
- 4,970
- active
- Total calls
- 24
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 3,500 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 3,500 calls/month
- 2 req/sec
- Energy + compare + moment magnitude
- No credit card
Starter
€5.00 /month
- 34,000 calls / month
- 6 requests / second
- Hard cap (429 above quota, no overage)
- 34,000 calls/month
- 6 req/sec
- TNT equivalent, amplitude & energy ratios
- Email support
Pro
€14.00 /month
- 215,000 calls / month
- 15 requests / second
- Hard cap (429 above quota, no overage)
- 215,000 calls/month
- 15 req/sec
- Disaster-modelling & risk pipelines
- Priority support
Mega
€44.00 /month
- 1,280,000 calls / month
- 40 requests / second
- Hard cap (429 above quota, no overage)
- 1,280,000 calls/month
- 40 req/sec
- Platform scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Earthquake API
Real-time and historical earthquake data sourced from the USGS Earthquake Hazards Program. Pull ready-made summary feeds by magnitude band and period (significant, M4.5+, M2.5+, M1.0+ or all, over the past hour, day, week or month), run a full FDSN search by time window, magnitude range and geographic radius, count matching events, fetch the latest quakes worldwide, or look up a single event by its USGS id. Every event comes as a clean record with magnitude and type, place, ISO timestamps, depth and coordinates, felt reports, shaking intensity (CDI/MMI), PAGER alert level, tsunami flag and significance. Authoritative public data delivered through a fast, reliable API — ideal for insurance and risk, IoT and sensor alerting, newsrooms, research and disaster-response apps.
api.oanor.com/earthquake-api
Star Magnitude & Distance API
Stellar magnitude and distance maths as an API, computed locally and deterministically. The magnitude endpoint works the distance modulus, m − M = 5·log₁₀(d/pc) − 5 — give any two of the apparent magnitude m, the absolute magnitude M and the distance and it returns the third, with the distance in parsecs, light-years and astronomical units (the absolute magnitude is the apparent magnitude a star would have at 10 parsecs). The flux endpoint applies Pogson's relation to turn a magnitude difference into a brightness ratio, F₁/F₂ = 10^(0.4·(m₂ − m₁)), where five magnitudes is exactly a hundredfold change in brightness — from two magnitudes, a magnitude difference or a ratio. The parallax endpoint converts a parallax angle into a distance, d(pc) = 1 ÷ p(arcseconds), and back, the geometric method behind the parsec itself. Everything is computed locally and deterministically, so it is instant and private. Ideal for astronomy-education, planetarium, stargazing and science app developers, observing and astrophysics tools, and STEM teaching. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is stellar magnitude and distance; for orbital mechanics use an orbital API and for great-circle distances on Earth a geo-distance API.
api.oanor.com/starmagnitude-api
Elastic Moduli API
Isotropic elastic-constant mechanics as an API, computed locally and deterministically. The convert endpoint takes any two of the five linear-elastic constants — Young’s modulus E, shear modulus G, bulk modulus K, Poisson’s ratio ν and the first Lamé parameter λ — and returns all five, using the standard isotropic relations (G = E/(2(1+ν)), K = E/(3(1−2ν)), λ = Eν/((1+ν)(1−2ν)) and their inversions for the pairs E+ν, G+ν, K+ν, E+G, E+K, K+G, G+λ, K+λ and λ+ν); steel given E = 200 GPa and ν = 0.3 comes back as G ≈ 76.92 GPa, K ≈ 166.67 GPa and λ ≈ 115.38 GPa. The wave-speeds endpoint computes the longitudinal (P) and shear (S) elastic wave speeds from two moduli and the density, vp = √((K + 4G/3)/ρ) and vs = √(G/ρ), together with the vp/vs ratio used in seismology and ultrasonic testing — steel comes out at about 5860 m/s for P-waves and 3130 m/s for S-waves. Moduli convert in whatever consistent unit you supply (the wave-speed endpoint expects strict SI: pascals and kg/m³ for metres per second). Everything is computed locally and deterministically, so it is instant and private. Ideal for materials-science, mechanical-engineering, geophysics, seismology, ultrasonic-NDT and FEA app developers, material-property and rock-physics tools, and simulation software. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 2 endpoints. This interconverts elastic constants; for Young’s modulus from a stress/strain tensile test use a Young’s-modulus API.
api.oanor.com/elasticmoduli-api
Equine Care API
Horse-care maths as an API, computed locally and deterministically — the everyday numbers a horse owner, barn manager or vet tech runs without reaching for a chart. The weight endpoint estimates body weight from a weight-tape measurement using the classic formula weight ≈ heart girth² × body length ÷ a type divisor (adult 330, yearling 301, weanling 280, pony 299) with measurements in inches — a horse with a 72-inch girth and 66-inch length comes out at about 1,037 lb (470 kg), the number you actually dose wormer and feed against. The feed endpoint turns body weight and a goal into daily forage: horses eat roughly 1.5–2.5 % of body weight in dry-matter forage a day, so a 1,000 lb horse on maintenance wants about 15–20 lb of hay, more to gain and less to slim. The gestation endpoint gives the foaling due date and the normal 320–362 day window from a breeding date — a mare bred on 1 April is due around 7 March the next year, give or take three weeks. Everything is computed locally and deterministically, so it is instant and private. Ideal for barn-management and horse-care apps, breeding and foaling trackers, feed-calculator and tack-shop sites, and equine-vet tools. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 compute endpoints. Educational estimates — not veterinary advice.
api.oanor.com/equine-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Earthquake Magnitude API?
What's the rate limit for Earthquake Magnitude API?
How much does Earthquake Magnitude API cost?
Can I cancel my subscription anytime?
Is Earthquake Magnitude API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/richter-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/richter-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/richter-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/richter-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.