← All endpoints
fraction.openverbs.com v1 from-decimal
https://fraction.openverbs.com/v1/from-decimal
answers 402
Convert a decimal string to an exact reduced fraction. For a repeating decimal, set repeat to the number of trailing fractional digits that repeat (e.g. value='0.1666', repeat=1 → 1/6; value='0.3', repeat=1 → 1/3). A non-numeric value 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
- 272 ms
- Payment options
- 1 usable of 1
- Last checked
- 2026-09-06T01:20:12.018Z (21d ago)
- Category
- other
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Ffraction.openverbs.com%2Fv1%2Ffrom-decimal"