29trust / 100
Converters Temperature Converter
by AgentTools in Documents & files
x402 APIFailing, checked 1 h ago
Convert between Celsius, Fahrenheit and Kelvin with exact formulas, reference points (freezing and boiling water) and step-by-step working. Use this when an agent needs to celsius, Fahrenheit and Kelvin, both ways.
GET https://agenttools-hub.vercel.app/api/v1/converters/temperature-converter
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 13.3%
- Response time
- 152 ms typical, 152 ms slowest 5%
- Last check
- 1 h ago: Expected HTTP 402, got 308
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://agenttools-hub.vercel.app/api/v1/converters/temperature-converter?from=c&to=f&value=20"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagenttools-hub.vercel.app%2Fapi%2Fv1%2Fconverters%2Ftemperature-converter
const res = await pay("https://agenttools-hub.vercel.app/api/v1/converters/temperature-converter?from=c&to=f&value=20");
console.log(await res.json());Example input
{
"from": "c",
"to": "f",
"value": 20
}Example output
{
"result": {
"answer": "68 °F",
"answerLabel": "20 °C = ? °F",
"details": [
{
"label": "Formula",
"value": "°F = °C × 1.8 + 32"
},
{
"label": "Water freezes at",
"value": "0 °C · 32 °F · 273.15 K"
},
{
"label": "Water boils at",
"value": "100 °C · 212 °F · 373.15 K"
}
],
"steps": [
"Convert 20 °C to Celsius: 20 °C",
"Convert to Fahrenheit: 68 °F"
],
"value": 68
},
"tool": "temperature-converter"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Expected HTTP 402, got 308 | 308 | 73 ms | - |
| 6 h ago | Expected HTTP 402, got 308 | 308 | 99 ms | - |
| 10 h ago | Expected HTTP 402, got 308 | 308 | 104 ms | - |
| 14 h ago | Expected HTTP 402, got 308 | 308 | 138 ms | - |
| 19 h ago | Expected HTTP 402, got 308 | 308 | 80 ms | - |
| 23 h ago | Expected HTTP 402, got 308 | 308 | 130 ms | - |
| 26 h ago | Expected HTTP 402, got 308 | 308 | 97 ms | - |
| 30 h ago | Expected HTTP 402, got 308 | 308 | 82 ms | - |
| 34 h ago | Expected HTTP 402, got 308 | 308 | 85 ms | - |
| 39 h ago | Expected HTTP 402, got 308 | 308 | 74 ms | - |
| 43 h ago | Expected HTTP 402, got 308 | 308 | 121 ms | - |
| 47 h ago | Expected HTTP 402, got 308 | 308 | 65 ms | - |
| 2 days ago | Expected HTTP 402, got 308 | 308 | 83 ms | - |
| 2 days ago | Passed | 402 | 328 ms | $0.002 |
| 2 days ago | Passed | 402 | 152 ms | $0.002 |