{"uid":"cap_WeQDQ6iA6o3osCgFj88UP","slug":"numora-matrix-multiplication-api-b1e0c354","name":"Numora Matrix Multiplication API","description":"100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.","url":"https://numomo.vercel.app/api/matrix/multiply","method":"POST","headers":{},"bodySchema":{"type":"object","required":["A","B"],"properties":{"A":{"type":"array","description":"Matrix (2D array)"},"B":{"type":"array"}}},"responseSchema":{"type":"object","required":["success","result","computation"],"properties":{"result":{"type":"object","description":"Computation result varies by endpoint"},"success":{"type":"boolean","description":"Always true on success"},"computation":{"type":"string","description":"Human-readable description of what was computed"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JDV-CmGRLD4dl3RMOHUxI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Multiplies two matrices (2D arrays) and returns the resulting product matrix with a human-readable computation description.","exampleAgentPrompt":"Can you multiply these two matrices for me? Matrix A is [[1,2],[3,4]] and Matrix B is [[5,6],[7,8]].","exampleUseCases":[{"title":"3D graphics transformation pipeline","prompt":"I need to multiply a 4x4 rotation matrix [[1,0,0,0],[0,0,-1,0],[0,1,0,0],[0,0,0,1]] by a translation matrix [[1,0,0,5],[0,1,0,3],[0,0,1,2],[0,0,0,1]] to compute the combined transform."},{"title":"Neural network weight layer product","prompt":"Multiply my weight matrix [[0.2,0.8,0.1],[0.5,0.3,0.7]] by the input activation matrix [[1.0],[0.5],[0.9]] to get the next layer's values."},{"title":"Economics input-output model computation","prompt":"Can you multiply this 3x3 technology coefficient matrix [[0.1,0.2,0.0],[0.3,0.0,0.4],[0.0,0.1,0.2]] by the output demand vector [[100],[200],[150]] to find total required production?"}],"resultDescription":"Returns a JSON object with a boolean 'success' field (always true on success), a 'result' object containing the product matrix, and a 'computation' string that describes in plain English what was calculated (e.g. 'Multiplied a 2x2 matrix by a 2x2 matrix to produce a 2x2 result').","failureModes":["Incompatible matrix dimensions (columns of A must equal rows of B) — likely returns an error or unsuccessful response","Missing required fields A or B — 400-level validation error","Non-numeric values in matrix arrays — computation failure","Non-2D array input — schema validation error","Network or serverless cold-start timeout on Vercel — transient 5xx error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a fast, dependency-free, pure-math matrix multiplication computation without spinning up a local numerical library like NumPy. Ideal for agentic workflows that require linear algebra as a subroutine (e.g. graphics transforms, ML weight operations, economic modeling) and want a lightweight, pay-per-use microservice via x402 micropayments on Base. Prefer it over general-purpose code execution endpoints when you need a predictable, auditable, single-purpose math result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:47:35.206Z","isFirstParty":false}