{"slug":"fraction-openverbs-com-v1-arithmetic-d22633","title":"Add, subtract, multiply or divide two fractions and return the exact, fully-redu","host":"fraction.openverbs.com","method":"POST","resource":"https://fraction.openverbs.com/v1/arithmetic","category":"other","description":"Add, subtract, multiply or divide two fractions and return the exact, fully-reduced result. All computation is done in BigInt so there is no floating-point error. Dividing by a zero fraction is a clean 400.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":455,"reported_calls_30d":3,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"a":{"denominator":1,"numerator":1},"b":{"denominator":1,"numerator":1},"operation":"add"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"a":{"additionalProperties":false,"description":"First fraction.","properties":{"denominator":{"description":"Default 1.","type":"integer"},"numerator":{"type":"integer"}},"required":["numerator"],"type":"object"},"b":{"additionalProperties":false,"description":"Second fraction.","properties":{"denominator":{"description":"Default 1.","type":"integer"},"numerator":{"type":"integer"}},"required":["numerator"],"type":"object"},"operation":{"description":"The operation.","enum":["add","subtract","multiply","divide"],"type":"string"}},"required":["a","b","operation"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":455,"error":null}],"description_full":"Add, subtract, multiply or divide two fractions and return the exact, fully-reduced result. All computation is done in BigInt so there is no floating-point error. Dividing by a zero fraction is a clean 400.","last_updated":"2026-09-06T08:12:36.98Z","schemes":["exact"]}