---
title: "Convert a value between units"
method: GET
path: "/units/convert"
tags: ["Units"]
---

# Convert a value between units

`GET /units/convert`

## Request

- Base URL: `https://abundanceapis.com`
- URL: `https://abundanceapis.com/units/convert`
- Auth: none declared

Converts a numeric value from one unit to another within the same category.

## Query parameters

- `value` number, required
- `from` string, required
- `to` string, required
- `category` string

## Other responses

- `400`: Bad request

---

[API](https://skmtc.dev/abundanceapis/apis/web-toolbox.md) · [All operations](https://skmtc.dev/abundanceapis/apis/web-toolbox/llms.txt) · [OpenAPI document](https://skmtc.dev/abundanceapis/apis/web-toolbox/revisions/ada2893fef43?raw)
