API · /magnetic-api

Magnetic Field & Force API

healthy 3,152 Subscribers

Magnetic fields and forces as an API, computed locally and deterministically. The wire endpoint computes the magnetic field around a long straight current-carrying wire, B = μ0·I/(2π·r) — the field at a distance r from a wire carrying a current I — and solves for whichever of the current, the distance or the field you leave out, reporting the field in tesla, millitesla, microtesla and gauss. The solenoid endpoint gives the uniform field inside a long solenoid, B = μ0·n·I (n turns per metre, given directly or as a total number of turns over a length), or the field at the centre of a circular loop, B = μ0·N·I/(2R). The force endpoint computes the magnetic force on a moving charge, F = q·v·B·sin(θ) (the Lorentz force), or on a current-carrying wire in a field, F = B·I·L·sin(θ), with the force per metre. The vacuum permeability μ0 = 4π×10⁻⁷ is built in, with an optional relative permeability for a magnetic core. Everything is computed locally and deterministically, so it is instant and private. Ideal for electromagnetism-education tools, electromagnet, motor and inductor design, magnetic-sensor and physics-simulation apps. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is magnetostatics; for Coulomb electrostatics use a Coulomb API and for Ohm's-law circuits use an Ohm's-law API.

api.oanor.com/magnetic-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/magnetic-api/openapi.json
/api/magnetic-api/llms.txt

Discovery: GET /api/index.json lists every API.

Magnetic Field & Force API — live data on the oanor API marketplace

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
78 ms
Server probes · 24h
Subscribers
3,152
active
Total calls
80
last 7 days
status Full status page → · 16 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 2,000 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • Straight-wire B-field at a given distance
  • Single current/distance per call
  • Community support
Sign in to subscribe

Starter

€9.00 /month

  • 40,000 calls / month
  • 5 requests / second
  • Hard cap (429 above quota, no overage)
  • Solenoid & coil field (Ampere's law)
  • Lorentz force on moving charges
  • SI + Gauss/Oersted unit outputs
  • Email support
Sign in to subscribe

Pro

€24.00 /month

  • 250,000 calls / month
  • 15 requests / second
  • Hard cap (429 above quota, no overage)
  • Batch field/force computation
  • Force-on-current-carrying-conductor solver
  • Flux density & magnetic energy density
  • Higher concurrency for design sweeps
Sign in to subscribe

Mega

€75.00 /month

  • 1,509,000 calls / month
  • 40 requests / second
  • Hard cap (429 above quota, no overage)
  • High-volume parametric coil-design sweeps
  • Full EM suite: field, Lorentz, conductor force, flux
  • Priority low-latency compute
  • Priority engineering support
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Inductance API — oanor API marketplace

Inductance API

Inductor-design electromagnetics as an API, computed locally and deterministically. The solenoid endpoint computes the inductance of a straight coil with the long-solenoid formula L = μ₀·μr·N²·A/l, from the number of turns, the coil length, the cross-sectional area (or diameter) and the relative permeability of the core — a ferromagnetic core multiplies the inductance. The toroid endpoint computes the inductance of a doughnut-shaped coil of rectangular cross-section, L = μ₀·μr·N²·h·ln(b/a)/(2π), from the turns, the axial height and the inner and outer radii; the toroidal shape confines the magnetic flux so there is little stray field. The energy endpoint computes the magnetic energy stored in an inductor, E = ½·L·I², and the flux linkage Φ = L·I, from the inductance and current — the energy released when the current is interrupted causes the inductive kick. Lengths are in metres, area in square metres, inductance in henries (millihenries and microhenries also returned) and current in amps, with μ₀ = 4π×10⁻⁷ H/m. Everything is computed locally and deterministically, so it is instant and private. Ideal for electronics, RF, power-supply, filter and motor-design app developers, coil-winding and inductor-sizing tools, and electromagnetics education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is inductance from geometry; for the resonant frequency and reactance use a resonance API and for full AC impedance an impedance API.

api.oanor.com/inductance-api

Isotopes API — oanor API marketplace

Isotopes API

Atomic isotope reference data as an API, built on the NIST Atomic Weights and Isotopic Compositions. For every known nuclide: its element (atomic number Z and symbol), mass number, relative atomic mass, natural isotopic composition (abundance) and the element's standard atomic weight. Look an isotope up by label (C-12, U-238) or by symbol + mass, list every isotope of an element, rank isotopes by mass or natural abundance, or search. A precise physics and chemistry reference for science, education, lab and engineering apps. Distinct from element-level data.

api.oanor.com/isotopes-api

Hot Air Balloon Lift API — oanor API marketplace

Hot Air Balloon Lift API

Hot-air-balloon lift maths as an API, computed locally and deterministically — the thermal-lift, envelope-temperature and air-density numbers a balloon pilot, designer or physics teacher works a flight out with. The lift endpoint gives the buoyant lift from heating the air: gross lift = envelope volume × (outside air density − inside air density), the densities from the ideal-gas law — a 2,500 m³ envelope at 100 °C on a 15 °C day lifts about 698 kg gross, from which you subtract the envelope, basket, burner and fuel for the payload, and the hotter the air and colder the day the more it lifts. The required-temp endpoint inverts it: to carry a target lift the inside air must reach a particular density and so a particular temperature, with a check that it stays under the ~120 °C that nylon envelopes can take — the everyday pre-flight question of whether the balloon can lift today's crew and fuel. The air-density endpoint gives the moist-air density ρ = (P − 0.378·Pv) ÷ (R·T), and explains the counter-intuitive fact that humid air is LESS dense than dry air, slightly cutting the lift. Everything is computed locally and deterministically, so it is instant and private. Ideal for ballooning and aviation tools, STEM and physics-education apps, and buoyancy calculators. Pure local computation — no key, no third-party service, instant. Idealised dry-lift model. 3 compute endpoints. For Archimedes flotation in water use a buoyancy API; for party-balloon helium lift a balloon API.

api.oanor.com/hotairballoon-api

Vacuum Technology API — oanor API marketplace

Vacuum Technology API

Vacuum-technology maths as an API, computed locally and deterministically — the pump-down, boiling and pressure numbers a lab tech, process engineer or vacuum hobbyist works to. The pumpdown endpoint gives the ideal time to evacuate a chamber, t = (volume ÷ pump speed) × ln(start ÷ target pressure) — a 10-litre chamber on a 5 L/s pump drops from 1000 to 1 mbar in about 14 seconds in theory, though outgassing and falling pump speed stretch the real low-pressure stage. The boiling-point endpoint gives the temperature water boils at under reduced pressure from the Antoine equation: about 100 °C at sea level, but only ~52 °C at 100 mbar and ~46 °C at 100 mbar — the physics behind vacuum degassing, freeze-drying and high-altitude cooking. The level endpoint converts a pressure across the common vacuum units (mbar, Torr/mmHg, Pa, kPa, inHg, atm, psi), reports the percent vacuum relative to atmosphere, and names the regime — rough, medium, high or ultra-high vacuum — so you know which pump and gauge the job needs. Everything is computed locally and deterministically, so it is instant and private. Ideal for vacuum-lab and process apps, pump-sizing and degassing tools, semiconductor and coating calculators, and physics teaching. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 compute endpoints. Ideal estimates — real systems are slowed by outgassing and leaks.

api.oanor.com/vacuum-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Magnetic Field & Force API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Magnetic Field & Force API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Magnetic Field & Force API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Magnetic Field & Force API cost?
Magnetic Field & Force API has a free tier with 100 calls / month. Paid plans start at €9.00 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Magnetic Field & Force API GDPR-compliant?
All requests to Magnetic Field & Force API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

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/magnetic-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/magnetic-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/magnetic-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/magnetic-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 in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 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 in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.