{"uid":"cap_tlaP-3-ej-dLKu0wRm4Cl","slug":"forgemesh-number-trivia-api-d59941c4","name":"ForgeMesh Number Trivia API","description":"Number trivia API: the mathematical personality of any integer — prime status, prime factorization, Fibonacci membership, perfect-square check, binary/hex/Roman forms, and digit sum. Instant, deterministic, endlessly curious.","url":"https://x402.forgemesh.io/number-trivia","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_liPz3egNGIAB6766TrZRn","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 mathematical properties of any integer, including prime status, factorization, Fibonacci membership, perfect-square check, binary/hex/Roman numeral representations, and digit sum.","exampleAgentPrompt":"What are the mathematical properties of 360 — is it prime, what's its prime factorization, is it a perfect square, and what does it look like in binary, hex, and Roman numerals?","exampleUseCases":null,"resultDescription":"A structured response containing the number's prime status (boolean), complete prime factorization, whether it belongs to the Fibonacci sequence, whether it is a perfect square, its binary and hexadecimal representations, its Roman numeral form, and the sum of its digits.","failureModes":["Non-integer input (e.g. a decimal or text string) may return an error or unexpected result","Very large integers may time out or exceed computation limits","Missing or empty 'number' field defaults to 42 rather than returning an error","Negative integers or zero may not be handled by all properties (e.g. Roman numerals undefined for negatives)"],"whenToPreferThis":"Use this endpoint when you need instant, deterministic mathematical metadata about any integer — especially prime status, factorization, numeral-system conversions, or Fibonacci/perfect-square classification — without building or hosting your own number-theory logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:54:38.708Z","isFirstParty":false}