# Trigonometric Values Calculator

> Trigonometric Values Calculator is a paid API for AI agents from math-geometry.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-30).

Computes sine, cosine, tangent, and reciprocal trig functions for an angle (in degrees or radians), including exact symbolic values at special angles and inverse trig functions.

## Facts

- Endpoint: GET https://math-geometry.x402tookit.com/trig-values?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trigonometric-values-calculator-1df267dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a-Zxl1DxFKcUU9Tpc8dmb

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability trigonometric-values-calculator-1df267dc
```

Example prompt: What are the exact values of sin, cos, and tan for 45 degrees — can you also give me the symbolic exact forms like √2/2?

## When to prefer this

Use this endpoint when you need precise numeric or exact symbolic trigonometric values for a specific angle, or when computing an angle from a known trig value (inverse functions). Prefer this over general-purpose math APIs when you need all six trig functions at once, exact symbolic values (e.g. √3/2), or seamless degree/radian switching. Well-suited for geometry solvers, physics agents, or educational tools that need reliable trig lookups.

## Known failure modes

- Missing required angle or inverse+value pair — returns error or empty results
- Invalid unit string (not 'deg' or 'rad') — may default or return error
- Inverse function value out of domain (e.g. asin of 2.0) — returns null or error for undefined result
- Tan undefined at 90/270 degrees — returns null for tan, cot, sec
- Payment failure (x402) — request rejected before computation

## How this service works

Sine, cosine, tangent of an angle in degrees or radians, exact values at special angles, and inverse trig functions.

## Output

Returns a JSON object with numeric values for sin, cos, tan, csc, sec, cot, the angle in both degrees and radians, the reduced angle in degrees, exact symbolic string representations for sin/cos/tan at special angles (exactSin, exactCos, exactTan), and a summary string. Also includes a source field, asOf timestamp, and optional disclaimer or degraded flag.

## Request schema (JSON Schema)

```json
{
 "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": {
      "unit": {
       "type": "string",
       "description": "deg (default) or rad"
      },
      "angle": {
       "type": "number",
       "description": "Angle (give this, or inverse and value)"
      },
      "value": {
       "type": "number",
       "description": "Value for the inverse function"
      },
      "inverse": {
       "type": "string",
       "description": "asin, acos or atan to compute an angle from value"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "cos": {
       "type": [
        "null",
        "number"
       ]
      },
      "cot": {
       "type": [
        "null",
        "number"
       ]
      },
      "csc": {
       "type": [
        "null",
        "number"
       ]
      },
      "sec": {
       "type": [
        "null",
        "number"
       ]
      },
      "sin": {
       "type": [
        "null",
        "number"
       ]
      },
      "tan": {
       "type": [
        "null",
        "number"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "degrees": {
       "type": [
        "null",
        "number"
       ]
      },
      "radians": {
       "type": [
        "null",
        "number"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "exactCos": {
       "type": [
        "null",
        "string"
       ]
      },
      "exactSin": 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trigonometric-values-calculator-1df267dc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from math-geometry.x402tookit.com](https://www.zero.xyz/host/math-geometry.x402tookit.com/llms.txt)
