# Specific Heat Capacity Calculator API

> For the complete documentation index, see [llms.txt](/llms.txt).

Solve Q = m*c*dT for heat, mass, specific heat, or final temperature with a substance library and mixed units.

Use this endpoint to add the tool to your app, site, workflow, or agent without rebuilding formulas, validation, examples, and docs.

- Slug: `specific-heat-capacity-calculator`
- Category: `science`
- Version: `2026-04-22`
- Credits per successful call: 1
- Starts on: free
- Max payload: 65536 bytes
- Privacy mode: `hash_only`
- Available on: free, starter, pro, business, scale
- Browser tool: https://miniwebtool.com/specific-heat-capacity-calculator/

## Endpoint

`POST https://api.miniwebtool.com/v1/tools/specific-heat-capacity-calculator/run`

## Request body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `solve_for` | `str` | no | q | m | c | tf Choices: q, m, c, tf |
| `substance` | `str` | no | water | ice | steam | ethanol | olive_oil | air | aluminum | iron | steel | copper | brass | silver | gold | lead | mercury | glass | concrete | sand | granite | wood_oak | human_body | custom Choices: water, ice, steam, ethanol, olive_oil, air, aluminum, iron, steel, copper, brass, silver, gold, lead, mercury, glass, concrete, sand, granite, wood_oak, human_body, custom |
| `mass` | `float | None` | no |  |
| `mass_unit` | `str` | no | g | kg | lb | oz Choices: g, kg, lb, oz |
| `specific_heat` | `float | None` | no | c value (substance=custom) |
| `specific_heat_unit` | `str` | no | j_kg_c | j_g_c | kj_kg_c | cal_g_c | btu_lb_f Choices: j_kg_c, j_g_c, kj_kg_c, cal_g_c, btu_lb_f |
| `heat_energy` | `float | None` | no | Heat energy Q (required unless solve_for=q) |
| `energy_unit` | `str` | no | j | kj | cal | kcal | wh | btu Choices: j, kj, cal, kcal, wh, btu |
| `t_initial` | `float` | no | Initial temperature |
| `t_final` | `float | None` | no | Final temperature (required unless solve_for=tf) |
| `temp_unit` | `str` | no | C | F | K Choices: C, F, K |

## Example request

```json
{
  "solve_for": "q",
  "substance": "water",
  "mass": 500,
  "mass_unit": "g",
  "t_initial": 20,
  "t_final": 80
}
```

## cURL

```bash
curl -X POST https://api.miniwebtool.com/v1/tools/specific-heat-capacity-calculator/run \
  -H 'Authorization: Bearer mwt_live_YOUR_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"solve_for":"q","substance":"water","mass":500,"mass_unit":"g","t_initial":20,"t_final":80}'
```

## Response envelope

```json
{
  "request_id": "01K...",
  "tool": "specific-heat-capacity-calculator",
  "tool_version": "2026-04-22",
  "credits_used": 1,
  "result": {}
}
```

## Errors

Errors are RFC 7807 `application/problem+json`. Branch on `code`, not `title`.

## MCP

Agents can discover and call this tool through `https://api.miniwebtool.com/mcp` or `https://api.miniwebtool.com/v1/mcp` using MCP `tools/list` and `tools/call`.

## Frequently asked

### What does the Specific Heat Capacity Calculator API do?

Solve Q = m*c*dT for heat, mass, specific heat, or final temperature with a substance library and mixed units. Use it to add this utility without rebuilding formulas, validation, examples, and documentation.

### How much does one call cost?

1 credit per successful call. Failed calls do not bill.

### What parameters are required?

Required fields: (none). Full schema at `https://api.miniwebtool.com/v1/openapi.json`.

### Is this deterministic?

Yes. Same input, same output. Tool version: 2026-04-22.
