GlenCalc API
Every calculator on GlenCalc can be run from your own website, app or spreadsheet with a plain HTTPS request. Responses are JSON and include the answer, the details, the steps and the date the method was checked.
Endpoints
GET /api/v1: every calculator, with its slug.GET /api/v1/{slug}: its inputs, defaults, options and units.GET /api/v1/{slug}/run?input=value&…: run it. Inputs you leave out use their defaults. Lengths and quantities take a unit in{input}_unit.
Example
https://glencalc.com/api/v1/concrete-calculator/run?length=10&width=10&thickness=4&waste=5
returns 1.3 cubic yards and 59 bags of 80 lb mix, with the steps.
Terms
Free while in beta, with fair use. Requests are processed on Cloudflare’s network; GlenCalc stores nothing you send. For higher volumes, white-label embeds or a service agreement, email hello@glenbeam.com. To put a calculator on your site without code, use the embed code at the bottom of any calculator page.
Results are estimates; see each calculator’s page for its method, sources and limits.