Material cost
API · /metalweight-api
Metal Weight API
Metal stock weight and cost as an API, computed locally and deterministically. The weight endpoint computes the mass of a length of metal stock from its shape, dimensions and material: round bar, square bar, flat bar or plate, sheet, hexagonal bar, round tube or pipe and rectangular (box) tube. It works out the cross-sectional area, multiplies by the length and the material density, and returns the weight per piece and the total for a quantity — in kilograms, pounds, grams and tonnes — along with the volume. Material density is looked up from a built-in table of metals (steel, stainless, aluminium, copper, brass, bronze, lead, zinc, titanium, nickel, gold, silver and more) or you can pass an explicit density. The cost endpoint multiplies that weight by a price per kilogram, pound or tonne to give the material cost per piece and in total. The materials endpoint lists the densities. Dimensions accept millimetres, centimetres, metres, inches or feet. Everything is computed locally and deterministically, so it is instant and private. Ideal for metal fabrication and machine-shop tools, engineering and CAD apps, scrap and stock quoting, and shipping-weight estimates. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is metal stock weight from geometry and density; for beam reactions and deflection use a beam API and for live metal spot prices use a commodities API.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 91 ms
- Server probes · 24h
- Subscribers
- 4,365
- active
- Total calls
- 40
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 13,335 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 13,335 calls/month
- 2 req/sec
- Weight + cost + materials
- No credit card
Starter
€14.85 /month
- 22,950 calls / month
- 8 requests / second
- Hard cap (429 above quota, no overage)
- 22.95k calls/month
- 8 req/sec
- 9 shapes, 20+ metals
- Email support
Pro
€34.75 /month
- 279,500 calls / month
- 20 requests / second
- Hard cap (429 above quota, no overage)
- 279.5k calls/month
- 20 req/sec
- Fabrication / quoting pipelines
- Priority support
Mega
€72.75 /month
- 1,440,000 calls / month
- 50 requests / second
- Hard cap (429 above quota, no overage)
- 1.44M calls/month
- 50 req/sec
- Platform scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Welding Settings API
Welding settings and consumables maths as an API, computed locally and deterministically — the amperage, wire and gas numbers a welder or fabricator dials a machine in with. (For joint strength, that is a separate weld-strength calculation.) The amperage endpoint gives a starting current from material thickness using the mild-steel rule of thumb of about one amp per 0.001 inch — so an eighth-inch plate runs around 125 A, give or take ten percent — and suggests an electrode or wire size to match. The deposition endpoint does the MIG arithmetic exactly: deposition rate (lb/hr) = wire feed speed × the wire’s weight per inch × 60 × efficiency, where weight per inch = (π/4 · d²) × 0.284 lb/in³ for steel, so 0.035-inch wire at 300 in/min lays down about 4.9 lb/hr fed, 4.8 deposited at 98 % — and from a target deposit it returns the arc time and the pounds of wire to buy. The gas endpoint sizes shielding gas: gas used (ft³) = flow in CFH × arc time in hours, and a cylinder’s arc-time duration, so 35 CFH empties an 80 ft³ bottle in about 2.3 hours of actual arc time. Everything is computed locally and deterministically, so it is instant and private. Ideal for welding, metal-fabrication, manufacturing and shop-management app developers, job-costing and consumable-planning tools, and welding-education software. Pure local computation — no key, no third-party service, instant. Machine settings, not joint strength. Live, nothing stored. 3 compute endpoints.
api.oanor.com/welding-api
Weld Strength API
Weld design maths as an API, computed locally and deterministically. The fillet endpoint sizes an equal-leg fillet weld: from the leg size, the weld length and an allowable shear stress it returns the effective throat (leg ÷ √2), the effective area, the load capacity and the strength per millimetre of weld; give a design force instead of a leg and it returns the required throat and leg size, and if you also pass a provided leg it reports the utilization and whether the weld is adequate. The butt endpoint handles a full-penetration butt (groove) weld, where the effective throat equals the plate thickness, returning the area and capacity. The throat endpoint converts between leg and throat — equal-leg (throat = leg ÷ √2), unequal legs (throat = a·b ÷ √(a²+b²)) and throat back to leg. Lengths are in millimetres, stress in megapascals and force in newtons. Everything is computed locally and deterministically, so it is instant and private. An estimating aid, not a code-stamped design — use the allowable stress and electrode from your governing code (AISC, Eurocode). Ideal for structural and fabrication tools, weld-design and estimating apps, maker and metalwork projects, and engineering calculators. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is weld strength sizing; for bolt tightening torque use a torque API and for the weight of the steel use a metal-weight API.
api.oanor.com/weld-api
Sheet Metal API
Sheet-metal bending maths as an API, computed locally and deterministically. The bend-allowance endpoint computes the bend allowance, bend deduction and outside setback for a single bend from the material thickness, the inside bend radius, the bend angle and the K-factor: the bend allowance is BA = θ·(r + K·t), the outside setback is OSSB = (r + t)·tan(θ/2) and the bend deduction is BD = 2·OSSB − BA, with the neutral-axis position reported too. The flat-length endpoint computes the flat blank length you need to cut: from a list of outside (mold-line) flange lengths, or two flanges, or a total, it subtracts the bend deduction for each bend. The kfactor endpoint lists typical K-factors by material — aluminium around 0.33, mild steel 0.44, stainless 0.45 — and estimates a K-factor from the inside-radius-to-thickness ratio. The K-factor can be given directly or chosen by material, and if the inside radius is omitted it defaults to the thickness. Lengths are unit-agnostic — the output matches whatever unit you supply. Everything is computed locally and deterministically, so it is instant and private. Ideal for sheet-metal CAD/CAM and press-brake tools, fabrication and unfolding apps, maker and prototyping projects, and manufacturing calculators. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is sheet-metal bend development; for the weight of the blank use a metal-weight API.
api.oanor.com/sheetmetal-api
Moment of Inertia API
Rigid-body rotational-inertia mechanics as an API, computed locally and deterministically. The shape endpoint returns the mass moment of inertia and the radius of gyration k = √(I/m) for a named standard body about its characteristic axis — a solid sphere (I = 2/5·m·r²), thin spherical shell (2/3·m·r²), solid cylinder or disk (1/2·m·r²), annular/hollow cylinder (1/2·m·(r1²+r2²)), thin ring (m·r²), thin rod about its centre (1/12·m·l²) or about one end (1/3·m·l²), rectangular plate or cuboid (1/12·m·(a²+b²)), solid cone (3/10·m·r²) and point mass (m·r²) — so a 2 kg solid sphere of radius 0.5 m has I = 0.2 kg·m². The parallel-axis endpoint applies the Steiner theorem I = I_cm + m·d² to shift a moment of inertia from the centre-of-mass axis to any parallel axis a distance d away. The shapes endpoint lists the whole catalog with its formulas. All quantities are SI (kg, m → kg·m²). Everything is computed locally and deterministically, so it is instant and private. Ideal for mechanical-engineering, robotics, CAD/CAE, rotating-machinery, structural-dynamics and physics-education app developers, flywheel-and-shaft design tools, and simulation software. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is rotational inertia; for stored rotational energy and flywheel sizing use a flywheel API and for torque and angular acceleration a torque API.
api.oanor.com/momentofinertia-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Metal Weight API?
What's the rate limit for Metal Weight API?
How much does Metal Weight API cost?
Can I cancel my subscription anytime?
Is Metal Weight 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/metalweight-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/metalweight-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/metalweight-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/metalweight-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.