---
title: "Cooking Converter"
method: GET
path: "/api/calc/cooking-converter"
tags: ["Conversion"]
---

# Cooking Converter

`GET /api/calc/cooking-converter`

## Request

- Base URL: `https://calcbright.com`
- URL: `https://calcbright.com/api/calc/cooking-converter`
- Auth: none declared

Cups, tablespoons and teaspoons to grams or ounces by each ingredient’s density – a cup of flour is 125 g, a cup of sugar 200 g. US cups, with charts.

## Query parameters

- `ingredient` 'water' | 'milk' | 'flour' | 'sugar' | 'brown-sugar' | 'butter' | 'rice' | 'oats' | 'honey' | 'salt' | 'cocoa': Ingredient
- `amount` number: Amount
- `from` 'cups' | 'tbsp' | 'tsp' | 'floz' | 'ml' | 'l' | 'g' | 'kg' | 'oz' | 'lb': From
- `to` 'cups' | 'tbsp' | 'tsp' | 'floz' | 'ml' | 'l' | 'g' | 'kg' | 'oz' | 'lb': To

## Response `200`

Calculation result

- CalcOutput
  - `ok` boolean
  - `tool` string
  - `name` string
  - `url` string: Open this link to see the full calculation
  - `inputs` object
  - `summary` string: Plain-text answer
  - `details` string
  - `result` object
  - `errors` object

## Other responses

- `400`: Invalid input (see errors)

---

[API](https://skmtc.dev/calcbright/apis/calcbright-calculator-api.md) · [All operations](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/revisions/f58229e56e58?raw)
