{"uid":"cap_YcO1SYapN6aauOO1m5pXS","slug":"triangle-solver-sss-sas-asa-aas-ssa-78f9b965","name":"Triangle Solver (SSS/SAS/ASA/AAS/SSA)","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.","url":"https://math-geometry.x402tookit.com/triangle-solve?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"A":{"type":"number","description":"Angle A in degrees"},"B":{"type":"number","description":"Angle B in degrees"},"C":{"type":"number","description":"Angle C in degrees"},"a":{"type":"number","description":"Side a (opposite angle A)"},"b":{"type":"number","description":"Side b"},"c":{"type":"number","description":"Side c"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"method":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"solutions":{"type":["array","null"],"items":{"type":"object","properties":{"area":{"type":["null","number"]},"sides":{"type":["null","object"],"properties":{"a":{"type":["null","number"]},"b":{"type":["null","number"]},"c":{"type":["null","number"]}}},"bySides":{"type":["null","string"]},"heights":{"type":["null","object"],"properties":{"onA":{"type":["null","number"]},"onB":{"type":["null","number"]},"onC":{"type":["null","number"]}}},"byAngles":{"type":["null","string"]},"inradius":{"type":["null","number"]},"anglesDeg":{"type":["null","object"],"properties":{"A":{"type":["null","number"]},"B":{"type":["null","number"]},"C":{"type":["null","number"]}}},"perimeter":{"type":["null","number"]},"circumradius":{"type":["null","number"]},"semiperimeter":{"type":["null","number"]}}}},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"solutionCount":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RaYRmtxyxoroYeAwiAvsz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Solves a triangle from any three known sides/angles (including ambiguous SSA), returning all sides, angles, area, perimeter, inradius, and circumradius.","exampleAgentPrompt":"Solve the triangle where side a is 7, side b is 10, and angle A is 40 degrees — I need all the sides, angles, area, inradius, and circumradius, and flag it if there are two possible solutions.","exampleUseCases":[{"title":"Surveying unknown plot dimensions","prompt":"I know two sides of a triangular land plot are 120 m and 95 m, and the angle between them is 62 degrees — can you work out the third side, all the angles, and the area?"},{"title":"Ambiguous SSA triangle check","prompt":"I have a triangle where side a is 5, side b is 8, and angle A is 30 degrees. Solve it for me and let me know if there are one or two possible triangles."},{"title":"Finding inradius for inscribed circle","prompt":"Given a triangle with sides 13, 14, and 15, what are the inradius and circumradius, plus the area and all three angles?"}],"resultDescription":"Returns an array of solutions (one or two for ambiguous SSA), each containing all three sides, all three angles in degrees, area, perimeter, semiperimeter, heights to each side, inradius, and circumradius. Also includes a summary, solution count, and any disclaimer about the ambiguous case.","failureModes":["Fewer than three parameters provided — no unique solution can be determined","All three angles provided without any side — shape is determined but size is not (infinite solutions)","Provided values violate triangle inequality or sum-of-angles constraint — returns invalid/no-solution verdict","Floating-point edge cases near degenerate triangles may return degraded flag"],"whenToPreferThis":"Use this endpoint when you need a full, rigorous triangle solution including area, heights, inradius, and circumradius — especially when handling the ambiguous SSA case that generic calculators often miss. Prefer it over manual law-of-sines/cosines computation or generic geometry APIs that don't enumerate multiple solutions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-03T18:38:16.958Z","isFirstParty":false,"canonicalSlug":"triangle-solver-sss-sas-asa-aas-ssa-78f9b965"}