Getting Started
Calcs.com API
The Calcs.com API provides structural engineering calculations and geospatial data through a simple REST interface.
What You Can Do
Structural Calculations
Run engineering calculations programmatically:
- Wood Beam Analysis - US timber beams per NDS 2018 (ASD)
- Snow Load Analysis - Ground and roof snow loads per ASCE 7-16/7-22
- Create projects to organize your calculations
- Get pass/fail results with utilization ratios
Geospatial Data (GIS)
Access location-based design parameters:
- Wind Speeds - ASCE 7-22/7-16 (US), Eurocode (EU)
- Tornado Speeds - ASCE 7-22 (US, Risk Categories III & IV)
- Snow Loads - ASCE 7-22 (US), Eurocode (Nordic)
- Seismic Parameters - USGS data (US)
- Elevation & Terrain - Available via
/gis/environmental_loadswithinclude_elevation=trueandinclude_roughness=true
Quick Example
Calculate a wood beam using the multi-step workflow:
Code
Response:
Code
API Structure
| Endpoint Group | Purpose |
|---|---|
/v1/projects | Create and manage projects |
/v1/timber-beam/* | Wood beam calculations (typed, validated) |
/v1/snow-load/* | Snow load calculations (typed, validated) |
/v1/templates/* | Generic template calculations (any template) |
/gis/* | Geospatial data queries |
Error Responses
The API uses two error formats depending on the endpoint type:
Calculation endpoints (/v1/timber-beam/*, /v1/snow-load/*, /v1/templates/*) use a structured error envelope. See Timber Beam Error Handling for details.
Code
GIS endpoints (/gis/*) use a flat error format:
Missing Required Parameter
Code
Invalid Parameter Value
Code
Coordinate Out of Range
Code
Unsupported Location
Code
Data Not Available
Code
Next Steps
- Authentication - Set up your API key
- Quick Start - Create your first calculation
- Snow Load Guide - Snow load calculations
- Generic Templates - Use any calculation template
- API Reference - Full endpoint documentation
Support
- Email: [email protected]
- Website: calcs.com/support
Last modified on