Units
Convert a value between units with the site's exact factors
get/convert
Request
- Base URL: https://api.craftquantities.com/v1
- URL: https://api.craftquantities.com/v1/convert
- Auth: none declared
Query parameters
valuenumber required
fromstring required
tostring required
dimensionstring
detail'full' | 'summary'
full (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read.
summary: the result lines, the citation and the page only (fewer tokens); full, the default: the whole answer. A POST body may carry detail instead.
format'json' | 'md'
md: the engine's Markdown report as text/markdown (or send Accept: text/markdown); json, the default.
Response
The converted value and the factor.
Changes
No recorded changes to this operation across all 1 revision of this API.