{"slug":"pricing-math-x402tookit-com-price-rounding-166b27","title":"Round a price to a charm ending such as .99 or .95, or to steps like 9 at the en","host":"pricing-math.x402tookit.com","method":"GET","resource":"https://pricing-math.x402tookit.com/price-rounding","category":"market","description":"Round a price to a charm ending such as .99 or .95, or to steps like 9 at the end of tens, up, down or nearest.","price_listed":0.02,"price_asked":null,"state":"no_terms","state_label":"Answers HTTP 429 without x402 payment terms","checks_7d":1,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"price":12.34},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"direction":{"description":"nearest (default, ties go down), down or up","type":"string"},"ending":{"description":"Ending to land on within each step (default 0.99; use 0.95, 0.5, 0, or 9 with step 10)","type":"number"},"price":{"description":"Raw price to round","type":"number"},"step":{"description":"Size of each rounding cell (default 1; use 10 for endings like 49, 59, 69)","type":"number"}},"required":["price"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"asOf":{"type":["null","string"]},"changeAmount":{"type":["null","number"]},"changePct":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"direction":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"ending":{"type":["null","number"]},"inputPrice":{"type":["null","number"]},"notChecked":{"items":{"type":"string"},"type":["array","null"]},"pricePointAbove":{"type":["null","number"]},"pricePointBelow":{"type":["null","number"]},"reasons":{"items":{"type":"string"},"type":["array","null"]},"roundedPrice":{"type":["null","number"]},"source":{"type":["null","string"]},"step":{"type":["null","number"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-21","reachable":true,"status":429,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":300,"error":null}],"description_full":"Round a price to a charm ending such as .99 or .95, or to steps like 9 at the end of tens, up, down or nearest.","last_updated":"2026-10-20T20:34:44.754Z","schemes":["exact"]}