{"uid":"cap_IozmMGhkZJOcCElQfbx2Y","slug":"forgemesh-number-facts-api-99ee79c9","name":"ForgeMesh Number Facts API","description":"Number facts API: everything mathematically interesting about any integer — is it prime, its prime factorization, Fibonacci membership, perfect-square status, even/odd, binary and hexadecimal forms, Roman numeral, and digit sum. Computed locally, deterministic, instant. For quiz agents, content generation, validation, and the incurably curious.","url":"https://x402.forgemesh.io/number-facts","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"number":{"type":"string","description":"any integer, default 42"}}},"responseSchema":{"type":"json","example":{"binary":"110010010","number":402,"is_prime":false,"digit_sum":6,"prime_factors":[2,3,67],"roman_numeral":"CDII"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0CnYnYwM54WY1OK78QHqv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns mathematically interesting properties of any integer: primality, factorization, Fibonacci membership, perfect-square status, parity, binary/hex forms, Roman numeral, and digit sum.","exampleAgentPrompt":"Tell me all the math facts about the number 360 — is it prime, what's its prime factorization, is it a Fibonacci number or perfect square, and what does it look like in binary, hex, and Roman numerals?","exampleUseCases":null,"resultDescription":"A structured response containing: primality (true/false), prime factorization list, Fibonacci membership flag, perfect-square status, even/odd parity, binary string, hexadecimal string, Roman numeral representation, and digit sum — all computed deterministically for the given integer.","failureModes":["Non-integer or unparseable input may return an error or default to 42","Very large integers may exceed supported range","Empty or missing 'number' field defaults to 42","Floating-point or decimal values may be rejected or truncated"],"whenToPreferThis":"Use this endpoint when you need instant, deterministic, multi-faceted mathematical analysis of a single integer — especially for quiz generation, educational content, number trivia, or validation tasks where you need primality, factorization, Fibonacci/square membership, and base representations in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:07:10.075Z","isFirstParty":false}