API Documentation

Integrate metal slitting calculations into your applications with our comprehensive RESTful API. Secure, fast, and reliable calculations for your business needs.

Quick Start

Getting Started

  1. Sign up for an API key at our developer portal
  2. Include your API key in the Authorization header
  3. Make requests to our endpoints using HTTPS
  4. Parse JSON responses for calculation results

Base URL

https://api.metal-slitting-calculator.com/v1

Authentication

Authorization: Bearer YOUR_API_KEY

Authentication

POST /api/auth/login

Authenticate user and get access token

Parameters

  • email
  • password

Response

JWT token and user information

POST /api/auth/refresh

Refresh expired access token

Parameters

  • refresh_token

Response

New JWT token

Calculations

POST /api/calculate/coil-weight

Calculate metal coil weight

Parameters

  • outer_diameter
  • inner_diameter
  • width
  • thickness
  • density

Response

Weight calculation results and metadata

POST /api/calculate/strip-width

Optimize strip width configuration

Parameters

  • coil_width
  • target_strips
  • material_type
  • thickness

Response

Optimized strip configuration

POST /api/calculate/knife-clearance

Calculate optimal knife clearance

Parameters

  • material_type
  • thickness
  • hardness
  • cutting_speed

Response

Recommended knife clearance settings

Materials

GET /api/materials

Get list of available materials

Parameters

  • category
  • search

Response

Array of material specifications

GET /api/materials/{id}

Get specific material details

Parameters

  • id

Response

Detailed material properties

Ready to Get Started?

Sign up for your API key and start integrating metal slitting calculations into your applications today.