{"uid":"cap_G_jHNWwkgfVveiX3QuzZq","slug":"geometry-calculator-3e49fbc4","name":"Geometry Calculator","description":"Compute area, perimeter, volume and surface area for common shapes. Pure CPU, instant.","url":"https://api.gadgethumans.com/geometry?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","required":["shape"],"properties":{"a":{"type":"number","description":"Primary dimension"},"b":{"type":"number","description":"Secondary dimension"},"shape":{"type":"string","description":"circle, square, rectangle, triangle, sphere or cylinder"}}}}},"output":{"type":"object","properties":{"example":{"ok":true}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"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_klGzMMhrE8vYPJTO_6YDF","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":"Computes area, perimeter, volume, and surface area for common 2D and 3D shapes given their dimensions.","exampleAgentPrompt":"What's the area and perimeter of a rectangle that's 10 units wide and 4 units tall?","exampleUseCases":[{"title":"Flooring area for a circular room","prompt":"I have a circular room with a radius of 6 meters — what's its area so I can figure out how much flooring to buy?"},{"title":"Paint coverage for a cylinder tank","prompt":"Can you get me the surface area of a cylinder that's 2 meters in radius and 5 meters tall? I need to know how much paint to order."},{"title":"Fencing perimeter for a square yard","prompt":"What's the perimeter of a square plot with sides of 15 feet? I want to know how much fencing I need."}],"resultDescription":"Returns a JSON object with computed geometric measurements (area, perimeter, volume, surface area) relevant to the requested shape, calculated instantly on the server.","failureModes":["Missing required 'shape' parameter returns an error","Unsupported shape name (not one of: circle, square, rectangle, triangle, sphere, cylinder) returns an error","Missing required dimensions for the given shape (e.g. no radius for a circle) returns an error","Non-numeric dimension values return a validation error"],"whenToPreferThis":"Use this endpoint when you need instant, CPU-only computation of standard geometric measurements for one of the six supported shapes (circle, square, rectangle, triangle, sphere, cylinder) and want a lightweight, low-cost API call with no external dependencies or latency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T18:46:25.177Z","isFirstParty":false,"canonicalSlug":"geometry-calculator-3e49fbc4"}