{"openapi":"3.1.0","info":{"title":"Algebra and Geometry Solvers","version":"1.0.0","description":"Quadratic and cubic roots, triangle solver, shape areas and volumes, linear systems, matrices, vectors, trig, complex numbers, series, coordinate geometry. One call, one computed answer, no accounts or API keys. Machine-payable over x402.","x-guidance":"Algebra and Geometry Solvers: Quadratic and cubic roots, triangle solver, shape areas and volumes, linear systems, matrices, vectors, trig, complex numbers, series, coordinate geometry. Algebra and Geometry Solvers computes what agents get wrong by hand: quadratic roots (/quadratic-solve) and cubic roots (/cubic-solve), triangles from any valid three givens including the ambiguous SSA case (/triangle-solve), area and volume of common shapes (/shape-measure), linear systems (/linear-system), matrix determinant, inverse and eigenvalues (/matrix-ops), vector operations (/vector-ops), trigonometric values with exact special angles (/trig-values), complex arithmetic and roots (/complex-ops), arithmetic and geometric series and Fibonacci numbers (/sequence-sum) and analytic geometry of points, lines and circles (/coordinate-geometry). Each paid GET returns a computed verdict with the reasons, the source and what was NOT checked. A verdict of UNVERIFIED means a lookup failed: treat it as unknown. No account or key: pay per call in USDC over x402."},"servers":[{"url":"https://math-geometry.x402tookit.com"}],"paths":{"/complex-ops":{"get":{"operationId":"complex_ops","summary":"Complex number arithmetic, modulus and argument, integer powers, square root and n-th roots, in rectangular and polar form.","description":"Complex number arithmetic, modulus and argument, integer powers, square root and n-th roots, in rectangular and polar form.","tags":["algebra","complex-numbers","polar","roots"],"parameters":[{"name":"op","in":"query","required":true,"description":"add, subtract, multiply, divide, power, roots, polar, conjugate or sqrt","schema":{"type":"string"}},{"name":"z","in":"query","required":true,"description":"Complex number such as 3+4i","schema":{"type":"string"}},{"name":"w","in":"query","required":false,"description":"Second number for add, subtract, multiply and divide","schema":{"type":"string"}},{"name":"n","in":"query","required":false,"description":"Integer for power (-50 to 50) or root count (2 to 50)","schema":{"type":"integer"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"result":{"type":["null","object"],"properties":{"re":{"type":["null","number"]},"im":{"type":["null","number"]},"text":{"type":["null","string"]}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"(3 + 4i)(1 - 2i) = 11 - 2i.","reasons":["(a+bi)(c+di) = (ac - bd) + (ad + bc)i."],"result":{"re":11,"im":-2,"text":"11 - 2i"},"degraded":false,"notChecked":["multi-valued functions beyond principal values (logarithm and non-integer powers are not offered)","exact symbolic forms","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:51:18.087Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/complex-ops"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/complex-ops"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/complex-ops"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/complex-ops"}}]}}},"/coordinate-geometry":{"get":{"operationId":"coordinate_geometry","summary":"Plane geometry from coordinates: line through two points, distance, circle through three points, polygon area, intersections.","description":"Plane geometry from coordinates: line through two points, distance, circle through three points, polygon area, intersections.","tags":["geometry","coordinates","line","circle","polygon"],"parameters":[{"name":"mode","in":"query","required":true,"description":"line, distance, circle-3-points, polygon, intersect or point-line","schema":{"type":"string"}},{"name":"p1","in":"query","required":false,"description":"Point x,y (line, distance, circle-3-points, point-line as the point)","schema":{"type":"string"}},{"name":"p2","in":"query","required":false,"description":"Second point x,y (point-line: first point of the line)","schema":{"type":"string"}},{"name":"p3","in":"query","required":false,"description":"Third point x,y (circle-3-points; point-line: second line point; intersect: line 2 start)","schema":{"type":"string"}},{"name":"p4","in":"query","required":false,"description":"Fourth point x,y (intersect: line 2 end)","schema":{"type":"string"}},{"name":"points","in":"query","required":false,"description":"Polygon vertices as x,y;x,y;x,y in order","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"slope":{"type":["null","number"]},"yIntercept":{"type":["null","number"]},"xIntercept":{"type":["null","number"]},"equation":{"type":["null","string"]},"generalForm":{"type":["null","object"],"properties":{"A":{"type":["null","number"]},"B":{"type":["null","number"]},"C":{"type":["null","number"]}}},"perpendicularSlope":{"type":["null","number"]},"perpendicularBisector":{"type":["null","string"]},"midpoint":{"type":["null","object"],"properties":{"x":{"type":["null","number"]},"y":{"type":["null","number"]}}},"segmentLength":{"type":["null","number"]},"angleDeg":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"Line: y = 2x + 0 (slope 2, angle 63.4349 degrees); length between points 4.472136.","reasons":["Slope-intercept y = mx + b and general form Ax + By + C = 0.","Perpendicular slope is -0.5."],"slope":2,"yIntercept":0,"xIntercept":0,"equation":"y = 2x + 0","generalForm":{"A":4,"B":-2,"C":0},"perpendicularSlope":-0.5,"perpendicularBisector":"y = -0.5x + 5","midpoint":{"x":2,"y":4},"segmentLength":4.472135955,"angleDeg":63.4349488229,"degraded":false,"notChecked":["3-D geometry","self-intersecting polygons (the shoelace area is then a signed combination)","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:51:18.341Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/coordinate-geometry"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/coordinate-geometry"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/coordinate-geometry"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/coordinate-geometry"}}]}}},"/cubic-solve":{"get":{"operationId":"cubic_solve","summary":"Solve ax^3 + bx^2 + cx + d = 0: all three roots (real and complex) by Cardano and the trigonometric method.","description":"Solve ax^3 + bx^2 + cx + d = 0: all three roots (real and complex) by Cardano and the trigonometric method.","tags":["algebra","cubic","roots","calculator"],"parameters":[{"name":"a","in":"query","required":true,"description":"Coefficient of x^3 (not 0)","schema":{"type":"number"}},{"name":"b","in":"query","required":true,"description":"Coefficient of x^2","schema":{"type":"number"}},{"name":"c","in":"query","required":true,"description":"Coefficient of x","schema":{"type":"number"}},{"name":"d","in":"query","required":true,"description":"Constant term","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"a":{"type":["null","number"]},"b":{"type":["null","number"]},"c":{"type":["null","number"]},"d":{"type":["null","number"]},"rootType":{"type":["null","string"]},"roots":{"type":["array","null"],"items":{"type":"string"}},"realRoots":{"type":["array","null"],"items":{"type":"number"}},"complexRoots":{"type":["array","null"]},"depressed":{"type":["null","object"],"properties":{"p":{"type":["null","number"]},"q":{"type":["null","number"]},"discriminant":{"type":["null","number"]}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"THREE_REAL_ROOTS","summary":"1x^3 + -6x^2 + 11x + -6 = 0: 1, 2, 3 (three distinct real roots).","reasons":["Reduced to a depressed cubic t^3 + pt + q = 0; the sign of q^2/4 + p^3/27 selects the method. Real roots are polished with Newton steps.","A cubic always has at least one real root."],"a":1,"b":-6,"c":11,"d":-6,"rootType":"three distinct real roots","roots":["1","2","…1 more"],"realRoots":[1,2],"complexRoots":[],"depressed":{"p":-1,"q":0,"discriminant":-0.03703703704},"degraded":false,"notChecked":["exact radical forms (results are decimals)","accuracy for extreme coefficient ratios beyond double precision"],"source":"computed locally","asOf":"2026-10-11T08:51:18.592Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/cubic-solve"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/cubic-solve"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/cubic-solve"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/cubic-solve"}}]}}},"/linear-system":{"get":{"operationId":"linear_system","summary":"Solve linear equations Ax = b (up to 6 unknowns): unique, none or infinite solutions, with rank and determinant.","description":"Solve linear equations Ax = b (up to 6 unknowns): unique, none or infinite solutions, with rank and determinant.","tags":["algebra","linear-system","gauss","matrix"],"parameters":[{"name":"matrix","in":"query","required":true,"description":"Coefficient matrix, rows separated by semicolons: 2,1,-1;-3,-1,2;-2,1,2","schema":{"type":"string"}},{"name":"constants","in":"query","required":true,"description":"Right-hand side values: 8,-11,-3","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"unknowns":{"type":["null","number"]},"equations":{"type":["null","number"]},"solution":{"type":["null","object"],"properties":{"x1":{"type":["null","number"]},"x2":{"type":["null","number"]},"x3":{"type":["null","number"]}}},"solutionVector":{"type":["array","null"],"items":{"type":"number"}},"determinant":{"type":["null","number"]},"rankOfMatrix":{"type":["null","number"]},"maxResidual":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"UNIQUE_SOLUTION","summary":"x1 = 2, x2 = 3, x3 = -1.","reasons":["Gauss-Jordan elimination with partial pivoting.","Check: largest residual |Ax - b| = 0.00e+0."],"unknowns":3,"equations":3,"solution":{"x1":2,"x2":3,"x3":-1},"solutionVector":[2,3],"determinant":-1,"rankOfMatrix":3,"maxResidual":0,"degraded":false,"notChecked":["ill-conditioning: a nearly singular system can give very inaccurate results (the determinant is reported so you can judge)","exact rational answers (results are decimals)"],"source":"computed locally","asOf":"2026-10-11T08:51:18.857Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/linear-system"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/linear-system"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/linear-system"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/linear-system"}}]}}},"/matrix-ops":{"get":{"operationId":"matrix_ops","summary":"Matrix determinant, inverse, transpose, rank, trace, product with a second matrix, and eigenvalues of 2x2 and 3x3 matrices.","description":"Matrix determinant, inverse, transpose, rank, trace, product with a second matrix, and eigenvalues of 2x2 and 3x3 matrices.","tags":["algebra","matrix","determinant","inverse","eigenvalues"],"parameters":[{"name":"op","in":"query","required":true,"description":"determinant, inverse, transpose, rank, trace, multiply or eigenvalues","schema":{"type":"string"}},{"name":"matrix","in":"query","required":true,"description":"Rows separated by semicolons: 1,2;3,4","schema":{"type":"string"}},{"name":"other","in":"query","required":false,"description":"Second matrix for multiply","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"inverse":{"type":["array","null"],"items":{"type":"array","items":{"type":"number"}}},"determinant":{"type":["null","number"]},"conditionNumberInfinity":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"Inverse found (determinant 10, condition number about 14.3).","reasons":["Gauss-Jordan on [A | I]."],"inverse":[[0.6,-0.7],[-0.2,0.4]],"determinant":10,"conditionNumberInfinity":14.3,"degraded":false,"notChecked":["exact rational results (decimals are returned)","numerical stability of nearly singular matrices (the condition is flagged for inverses)","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:51:19.119Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/matrix-ops"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/matrix-ops"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/matrix-ops"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/matrix-ops"}}]}}},"/quadratic-solve":{"get":{"operationId":"quadratic_solve","summary":"Solve ax^2 + bx + c = 0: real or complex roots, discriminant, vertex, axis of symmetry and factored form.","description":"Solve ax^2 + bx + c = 0: real or complex roots, discriminant, vertex, axis of symmetry and factored form.","tags":["algebra","quadratic","roots","calculator"],"parameters":[{"name":"a","in":"query","required":true,"description":"Coefficient of x^2 (not 0)","schema":{"type":"number"}},{"name":"b","in":"query","required":true,"description":"Coefficient of x","schema":{"type":"number"}},{"name":"c","in":"query","required":true,"description":"Constant term","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"a":{"type":["null","number"]},"b":{"type":["null","number"]},"c":{"type":["null","number"]},"discriminant":{"type":["null","number"]},"vertex":{"type":["null","object"],"properties":{"x":{"type":["null","number"]},"y":{"type":["null","number"]}}},"axisOfSymmetry":{"type":["null","string"]},"opensUpward":{"type":["boolean","null"]},"yIntercept":{"type":["null","number"]},"sumOfRoots":{"type":["null","number"]},"productOfRoots":{"type":["null","number"]},"roots":{"type":["array","null"],"items":{"type":"number"}},"rootType":{"type":["null","string"]},"factored":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"TWO_REAL_ROOTS","summary":"1x^2 + -5x + 6 = 0: x = 2 or 3 (discriminant 1).","reasons":["Computed with the numerically stable form that avoids cancellation when b is large."],"a":1,"b":-5,"c":6,"discriminant":1,"vertex":{"x":2.5,"y":-0.25},"axisOfSymmetry":"x = 2.5","opensUpward":true,"yIntercept":6,"sumOfRoots":5,"productOfRoots":6,"roots":[2,3],"rootType":"two distinct real roots","factored":"1(x - 2)(x - 3)","degraded":false,"notChecked":["exact (symbolic) roots: results are decimals","roots of huge or tiny coefficients beyond double precision"],"source":"computed locally","asOf":"2026-10-11T08:51:19.381Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/quadratic-solve"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/quadratic-solve"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/quadratic-solve"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/quadratic-solve"}}]}}},"/sequence-sum":{"get":{"operationId":"sequence_sum","summary":"Arithmetic and geometric sequences: n-th term and sum (and infinite sum when it converges), plus Fibonacci and Lucas numbers.","description":"Arithmetic and geometric sequences: n-th term and sum (and infinite sum when it converges), plus Fibonacci and Lucas numbers.","tags":["math","sequence","series","fibonacci"],"parameters":[{"name":"type","in":"query","required":true,"description":"arithmetic, geometric, fibonacci or lucas","schema":{"type":"string"}},{"name":"first","in":"query","required":false,"description":"First term (arithmetic, geometric)","schema":{"type":"number"}},{"name":"step","in":"query","required":false,"description":"Common difference (arithmetic) or common ratio (geometric)","schema":{"type":"number"}},{"name":"n","in":"query","required":true,"description":"Number of terms, or the index for fibonacci and lucas (up to 5000)","schema":{"type":"integer"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"firstTerm":{"type":["null","number"]},"commonDifference":{"type":["null","number"]},"n":{"type":["null","number"]},"nthTerm":{"type":["null","number"]},"sum":{"type":["null","number"]},"average":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"Arithmetic: first 1, difference 2: term 10 = 19, sum of 10 terms = 100.","reasons":["a_n = a_1 + (n-1)d; S_n = n(a_1 + a_n)/2."],"firstTerm":1,"commonDifference":2,"n":10,"nthTerm":19,"sum":100,"average":10,"degraded":false,"notChecked":["exact big-integer arithmetic for arithmetic and geometric series with non-integer inputs (those use double precision)","very large geometric terms that overflow 1e308 (reported as too large)"],"source":"computed locally","asOf":"2026-10-11T08:51:19.644Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/sequence-sum"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/sequence-sum"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/sequence-sum"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/sequence-sum"}}]}}},"/shape-measure":{"get":{"operationId":"shape_measure","summary":"Area, perimeter, surface area and volume of circles, polygons, sectors, spheres, cylinders, cones, boxes, tori and more.","description":"Area, perimeter, surface area and volume of circles, polygons, sectors, spheres, cylinders, cones, boxes, tori and more.","tags":["geometry","area","volume","calculator"],"parameters":[{"name":"shape","in":"query","required":true,"description":"circle, rectangle, triangle, ellipse, trapezoid, regular-polygon, sector, sphere, cylinder, cone, box, pyramid, torus or ellipsoid","schema":{"type":"string"}},{"name":"r","in":"query","required":false,"description":"Radius (circle, sector, sphere, cylinder, cone, torus tube)","schema":{"type":"number"}},{"name":"h","in":"query","required":false,"description":"Height","schema":{"type":"number"}},{"name":"w","in":"query","required":false,"description":"Width","schema":{"type":"number"}},{"name":"l","in":"query","required":false,"description":"Length (box)","schema":{"type":"number"}},{"name":"a","in":"query","required":false,"description":"Semi-axis or side a","schema":{"type":"number"}},{"name":"b","in":"query","required":false,"description":"Semi-axis or side b","schema":{"type":"number"}},{"name":"c","in":"query","required":false,"description":"Semi-axis c","schema":{"type":"number"}},{"name":"base","in":"query","required":false,"description":"Triangle base","schema":{"type":"number"}},{"name":"height","in":"query","required":false,"description":"Triangle or trapezoid height","schema":{"type":"number"}},{"name":"sides","in":"query","required":false,"description":"Polygon sides","schema":{"type":"integer"}},{"name":"side","in":"query","required":false,"description":"Polygon side length","schema":{"type":"number"}},{"name":"angleDeg","in":"query","required":false,"description":"Sector angle in degrees","schema":{"type":"number"}},{"name":"baseArea","in":"query","required":false,"description":"Pyramid base area","schema":{"type":"number"}},{"name":"R","in":"query","required":false,"description":"Torus major radius","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"shape":{"type":["null","string"]},"inputs":{"type":["null","object"],"properties":{"r":{"type":["null","number"]},"h":{"type":["null","number"]}}},"volume":{"type":["null","number"]},"lateralArea":{"type":["null","number"]},"surfaceArea":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"cylinder (r=2, h=5): volume 62.8319, lateralArea 62.8319, surfaceArea 87.9646.","reasons":["Standard formulas in double precision.","Inputs for cylinder: r, h."],"shape":"cylinder","inputs":{"r":2,"h":5},"volume":62.8318530718,"lateralArea":62.8318530718,"surfaceArea":87.9645943005,"degraded":false,"notChecked":["units (results are in the square or cubic unit of your inputs)","irregular shapes","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:51:19.907Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/shape-measure"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/shape-measure"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/shape-measure"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/shape-measure"}}]}}},"/triangle-solve":{"get":{"operationId":"triangle_solve","summary":"Solve a triangle from any three of sides a, b, c and angles A, B, C (degrees), incl. ambiguous SSA, with area and radii.","description":"Solve a triangle from any three of sides a, b, c and angles A, B, C (degrees), incl. ambiguous SSA, with area and radii.","tags":["geometry","triangle","trigonometry","calculator"],"parameters":[{"name":"a","in":"query","required":false,"description":"Side a (opposite angle A)","schema":{"type":"number"}},{"name":"b","in":"query","required":false,"description":"Side b","schema":{"type":"number"}},{"name":"c","in":"query","required":false,"description":"Side c","schema":{"type":"number"}},{"name":"A","in":"query","required":false,"description":"Angle A in degrees","schema":{"type":"number"}},{"name":"B","in":"query","required":false,"description":"Angle B in degrees","schema":{"type":"number"}},{"name":"C","in":"query","required":false,"description":"Angle C in degrees","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"method":{"type":["null","string"]},"solutionCount":{"type":["null","number"]},"solutions":{"type":["array","null"],"items":{"type":"object","properties":{"sides":{"type":["null","object"],"properties":{"a":{"type":["null","number"]},"b":{"type":["null","number"]},"c":{"type":["null","number"]}}},"anglesDeg":{"type":["null","object"],"properties":{"A":{"type":["null","number"]},"B":{"type":["null","number"]},"C":{"type":["null","number"]}}},"perimeter":{"type":["null","number"]},"area":{"type":["null","number"]},"semiperimeter":{"type":["null","number"]},"inradius":{"type":["null","number"]},"circumradius":{"type":["null","number"]},"heights":{"type":["null","object"],"properties":{"onA":{"type":["null","number"]},"onB":{"type":["null","number"]},"onC":{"type":["null","number"]}}},"bySides":{"type":["null","string"]},"byAngles":{"type":["null","string"]}}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"SOLVED","summary":"SSS (law of cosines): sides 3, 4, 5; angles 36.86989765, 53.13010235, 90 deg; area 6 (right, scalene).","reasons":["A unique triangle.","Law of cosines: c^2 = a^2 + b^2 - 2ab cos C. Law of sines: a / sin A = b / sin B = c / sin C. Heron's formula gives the area."],"method":"SSS (law of cosines)","solutionCount":1,"solutions":[{"sides":{"a":3,"b":4,"c":5},"anglesDeg":{"A":36.86989765,"B":53.13010235,"C":90},"perimeter":12,"area":6,"semiperimeter":6,"inradius":1,"circumradius":2.5,"heights":{"onA":4,"onB":3,"onC":2.4},"bySides":"scalene","byAngles":"right"}],"degraded":false,"notChecked":["units (any unit works: results scale)","spherical or non-Euclidean triangles"],"source":"computed locally","asOf":"2026-10-11T08:51:20.158Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/triangle-solve"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/triangle-solve"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/triangle-solve"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/triangle-solve"}}]}}},"/trig-values":{"get":{"operationId":"trig_values","summary":"Sine, cosine, tangent of an angle in degrees or radians, exact values at special angles, and inverse trig functions.","description":"Sine, cosine, tangent of an angle in degrees or radians, exact values at special angles, and inverse trig functions.","tags":["trigonometry","sine","cosine","calculator"],"parameters":[{"name":"angle","in":"query","required":false,"description":"Angle (give this, or inverse and value)","schema":{"type":"number"}},{"name":"unit","in":"query","required":false,"description":"deg (default) or rad","schema":{"type":"string"}},{"name":"inverse","in":"query","required":false,"description":"asin, acos or atan to compute an angle from value","schema":{"type":"string"}},{"name":"value","in":"query","required":false,"description":"Value for the inverse function","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"degrees":{"type":["null","number"]},"radians":{"type":["null","number"]},"sin":{"type":["null","number"]},"cos":{"type":["null","number"]},"tan":{"type":["null","number"]},"sec":{"type":["null","number"]},"csc":{"type":["null","number"]},"cot":{"type":["null","number"]},"exactSin":{"type":["null","string"]},"exactCos":{"type":["null","string"]},"exactTan":{"type":["null","string"]},"reducedAngleDeg":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"30 deg: sin 0.5, cos 0.8660254038, tan 0.5773502692 (exact: sin 1/2, cos sqrt(3)/2, tan sqrt(3)/3).","reasons":["Computed in double precision; values within 1e-15 of zero are shown as 0.","Reciprocals: sec = 1/cos, csc = 1/sin, cot = 1/tan."],"degrees":30,"radians":0.523598775598,"sin":0.5,"cos":0.866025403784,"tan":0.57735026919,"sec":1.15470053838,"csc":2,"cot":1.73205080757,"exactSin":"1/2","exactCos":"sqrt(3)/2","exactTan":"sqrt(3)/3","reducedAngleDeg":30,"degraded":false,"notChecked":["angles of enormous magnitude where double-precision argument reduction loses accuracy","exact forms other than multiples of 30 and 45 degrees"],"source":"computed locally","asOf":"2026-10-11T08:51:20.422Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/trig-values"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/trig-values"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/trig-values"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/trig-values"}}]}}},"/vector-ops":{"get":{"operationId":"vector_ops","summary":"Vector operations: dot and cross product, magnitudes, angle between vectors, projection, unit vectors and distance.","description":"Vector operations: dot and cross product, magnitudes, angle between vectors, projection, unit vectors and distance.","tags":["geometry","vector","dot-product","cross-product"],"parameters":[{"name":"u","in":"query","required":true,"description":"First vector, e.g. 1,2,3 (2 to 10 components)","schema":{"type":"string"}},{"name":"v","in":"query","required":true,"description":"Second vector, same length","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"dot":{"type":["null","number"]},"magnitudeU":{"type":["null","number"]},"magnitudeV":{"type":["null","number"]},"distanceBetweenTips":{"type":["null","number"]},"sum":{"type":["array","null"],"items":{"type":"number"}},"difference":{"type":["array","null"],"items":{"type":"number"}},"cosineOfAngle":{"type":["null","number"]},"angleDeg":{"type":["null","number"]},"angleRad":{"type":["null","number"]},"parallel":{"type":["boolean","null"]},"orthogonal":{"type":["boolean","null"]},"unitU":{"type":["array","null"],"items":{"type":"number"}},"unitV":{"type":["array","null"],"items":{"type":"number"}},"projectionOfUOntoV":{"type":["array","null"],"items":{"type":"number"}},"scalarProjectionOfUOntoV":{"type":["null","number"]},"rejectionOfUFromV":{"type":["array","null"],"items":{"type":"number"}},"cross":{"type":["array","null"],"items":{"type":"number"}},"parallelogramArea":{"type":["null","number"]},"triangleArea":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"u.v = 32; |u| = 3.7416574, |v| = 8.7749644; angle 12.933154 degrees; u x v = (-3, 6, -3).","reasons":["Dot product u.v = sum of component products = |u||v|cos(angle).","Cross product is perpendicular to both and its length is the parallelogram area."],"dot":32,"magnitudeU":3.74165738677,"magnitudeV":8.77496438739,"distanceBetweenTips":5.19615242271,"sum":[5,7],"difference":[-3,-3],"cosineOfAngle":0.974631846197,"angleDeg":12.9331544919,"angleRad":0.225726128553,"parallel":false,"orthogonal":false,"unitU":[0.267261241912,0.534522483825],"unitV":[0.455842305839,0.569802882298],"projectionOfUOntoV":[1.66233766234,2.07792207792],"scalarProjectionOfUOntoV":3.64673844671,"rejectionOfUFromV":[-0.662337662338,-0.0779220779221],"cross":[-3,6],"parallelogramArea":7.34846922835,"triangleArea":3.67423461417,"degraded":false,"notChecked":["the cross product exists only in 3 dimensions (and 2 as a scalar z-component), so it is omitted otherwise","units"],"source":"computed locally","asOf":"2026-10-11T08:51:20.682Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/vector-ops"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/vector-ops"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/vector-ops"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://math-geometry.x402tookit.com/vector-ops"}}]}}}}}