{"uid":"cap_qcSyNCB87BPEHXYAMuoLl","slug":"forgemesh-shape-math-calculator-f149d4bc","name":"ForgeMesh Shape Math Calculator","description":"Shape math calculator for area, perimeter, and diagonal length of circles, rectangles, and triangles from plain numeric dimensions — includes Heron's formula for triangles given three sides. Useful for flooring estimates, land-plot sizing, classroom geometry problems, and CAD pre-checks where an exact figure is needed, not an approximation.","url":"https://x402.forgemesh.io/area-perimeter-calculator","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"string"},"b":{"type":"string"},"c":{"type":"string"},"base":{"type":"string"},"side":{"type":"string"},"shape":{"type":"string","description":"circle|rectangle|triangle|sphere|cylinder|cone|cube|rectangular_prism"},"width":{"type":"string"},"height":{"type":"string"},"length":{"type":"string"},"radius":{"type":"string"}}},"responseSchema":{"type":"json","example":{"shape":"sphere","volume":523.598776,"surface_area":314.159265}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CBF7-ukP-lMo-mkeyk3-r","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates area, perimeter, and diagonal length for circles, rectangles, triangles, and 3D shapes from plain numeric dimensions, including Heron's formula for triangles given three sides.","exampleAgentPrompt":"Calculate the area, perimeter, and diagonal length of a rectangle that's 12.5 meters wide and 8.3 meters tall.","exampleUseCases":null,"resultDescription":"Returns computed geometric properties (area, perimeter, diagonal) for the requested shape based on the provided dimensions. For triangles with three sides, Heron's formula is applied to derive area.","failureModes":["Missing required dimensions for the specified shape — returns error indicating which parameters are needed","Invalid shape type string not matching the enum — returns unrecognized shape error","Non-numeric values passed for dimension fields — returns parse/validation error","Degenerate shape inputs (e.g. triangle sides violating triangle inequality) — may return NaN or error"],"whenToPreferThis":"Use this endpoint when you need precise geometric calculations — area, perimeter, or diagonal — for standard shapes including circles, rectangles, triangles, and 3D variants (sphere, cylinder, cone, cube, rectangular prism). Ideal for flooring and construction estimates, land-plot sizing, classroom geometry, or CAD pre-checks where an exact numeric result is required rather than an approximation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:06:11.719Z","isFirstParty":false}