{"uid":"cap_wcyIMnPAsjse4-cgIYW3U","slug":"nexusapi-matrix-math-e511d3ca","name":"NexusAPI Matrix Math","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://nexus-api-peach-nine.vercel.app/api/tools/math/matrix?utm_source=zero.xyz","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.158326","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.158326/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.158326","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.158326","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_deNTt3rM9kvvFhO4EY_VR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.158326","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs matrix operations and computations on provided matrix data via a natural-language or structured query input","exampleAgentPrompt":"Can you multiply these two matrices for me: [[1,2],[3,4]] and [[5,6],[7,8]]? Give me the resulting matrix.","exampleUseCases":[{"title":"Financial portfolio risk analysis matrices","prompt":"I need to analyze the covariance matrix for my portfolio assets. Can you compute the inverse of this correlation matrix [[1.0, 0.45, 0.32], [0.45, 1.0, 0.28], [0.32, 0.28, 1.0]] so I can calculate optimal weights?"},{"title":"Machine learning model transformation pipeline","prompt":"I'm preprocessing image data and need to apply a transformation matrix. Can you multiply this feature matrix by this transformation matrix to get my normalized dataset? Here's the feature matrix [[2.1, 3.5], [1.8, 2.9], [3.2, 4.1]] and transformation [[0.707, -0.707], [0.707, 0.707]]."},{"title":"Cryptocurrency transaction flow analysis","prompt":"I'm tracking fund flows across blockchain addresses and need to solve a system of transfers. Can you find the determinant of this transaction matrix [[50, 30, 20], [40, 35, 25], [60, 20, 20]] to verify the transaction balances are valid?"}],"resultDescription":"Returns a JSON object containing the result of the requested matrix operation, such as a product matrix, determinant scalar, inverse matrix, or other computed output depending on the query.","failureModes":["Invalid or malformed matrix input returns an error response","Non-square matrix provided for operations requiring square matrices (e.g. determinant, inverse)","Dimension mismatch for multiplication returns an error","Unrecognized operation type in query string returns unclear or empty result","Payment failure in USDC results in HTTP 402 and no computation is performed"],"whenToPreferThis":"Use this endpoint when an AI agent needs to perform linear algebra or matrix computations without spinning up a local math library, especially in environments where code execution is not available. Useful for quick matrix ops like multiplication, inversion, determinant, or transpose as a paid micro-service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:38:06.404Z","isFirstParty":false,"canonicalSlug":"nexusapi-matrix-math-e511d3ca"}