the402 endpoint detail

← All endpoints

fraction.openverbs.com v1 to-decimal

https://fraction.openverbs.com/v1/to-decimal

answers 402

Expand a fraction to its decimal form by exact long division, detecting a repeating cycle and rendering it in parenthesis notation (e.g. 1/6 → '0.1(6)', 1/7 → '0.(142857)'). maxDigits caps a non-repeating expansion. A zero denominator is a clean 400.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.002
Network
base
Pay to
0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
280 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:20:11.871Z (21d ago)
Category
web-scraping

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Ffraction.openverbs.com%2Fv1%2Fto-decimal"