Calculators
Polygon Diagonals Calculator
Calculate the number of diagonals in a polygon from its number of sides, plus the triangulation count and sum of interior angles. For small polygons, lists every individual diagonal as a vertex pair.
POST
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Number of sides (n)
Required range:
x >= 3Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.