Catalog/eng-work-power

Engineering

Work, energy & power API

Computes mechanical work W=F·d·cosθ and power P=W/t (and instantaneous P=F·v) returning joules, watts, kilowatts, and horsepower plus the force component along the displacement. Answers 'How much work is done by a force?', 'What power is required to do this work in a given time?'.

Price$0.02per request
MethodPOST
Route/v1/engineering/work-power
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
engineeringmechanicsphysicsworkpowerenergyhorsepowerjoules
API URLhttps://x402.hexl.dev/v1/engineering/work-power
Integration docs
Example request
{
  "forceN": 100,
  "distanceM": 10,
  "angleDeg": 60,
  "timeS": 5
}
Example response
{
  "forceN": 100,
  "distanceM": 10,
  "angleDeg": 60,
  "forceComponentN": 50,
  "workJ": 500,
  "workKJ": 0.5,
  "formula": "W = F*d*cosθ; P = W/t = F*v",
  "timeS": 5,
  "powerW": 100,
  "powerKW": 0.1,
  "powerHp": 0.134102
}
Input schema
{
  "type": "object",
  "required": [
    "forceN",
    "distanceM"
  ],
  "properties": {
    "forceN": {
      "type": "number",
      "description": "applied force (N)",
      "examples": [
        100
      ]
    },
    "distanceM": {
      "type": "number",
      "description": "displacement (m)"
    },
    "angleDeg": {
      "type": "number",
      "description": "angle between force and displacement (deg), default 0"
    },
    "timeS": {
      "type": "number",
      "description": "time (s) for average power"
    },
    "velocityMs": {
      "type": "number",
      "description": "velocity (m/s) for instantaneous power"
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}