{"uid":"cap_v50NY9xf1bA-Tmug4oEwp","slug":"primeapi-fraction-math-calculator-dfdf1c93","name":"PrimeAPI Fraction Math Calculator","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://prime-api-seven.vercel.app/api/tools/math/fractions","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.165537","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.165537/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.165537","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.165537","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nj95-LUXMlS-O9MXVspEG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.165537","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs mathematical fraction operations and computations based on a natural language or expression query","exampleAgentPrompt":"What is 3/8 plus 5/12 simplified to its lowest terms?","exampleUseCases":[{"title":"Portfolio allocation across crypto assets","prompt":"I need to split my investment portfolio: put 3/8 into Bitcoin, 1/4 into Ethereum, and the rest into stablecoins. What fraction goes to stablecoins and can you show me the decimal equivalents?"},{"title":"Recipe scaling for meal prep","prompt":"This recipe calls for 2 and 3/4 cups of flour but I want to make half the batch. How much flour do I actually need?"},{"title":"Financial fee deduction calculation","prompt":"If I'm getting paid 5/6 of the transaction value after a 1/6 fee is removed, and my transaction is worth $1200, what's my actual cut in dollars?"}],"resultDescription":"Returns the result of the fraction computation, likely including the simplified fraction, equivalent decimal, and step-by-step or direct answer to the math query posed.","failureModes":["Invalid or unparseable fraction expression returns error","Non-fraction math queries may return irrelevant or empty results","Ambiguous query string may yield incorrect interpretation","Payment failure (402) if USDC balance insufficient"],"whenToPreferThis":"Use this endpoint when an agent needs to perform fraction-specific arithmetic — addition, subtraction, multiplication, division, simplification, or conversion — especially when free computation libraries are unavailable or a paid, reliable API response is preferred.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:51:39.867Z","isFirstParty":false}