{
  "x402Version": 2,
  "id": 15129,
  "slug": "15129",
  "resource": "https://fittings.sh/v1/calc/evaluate",
  "description": "Evaluates an arithmetic expression in exact rational arithmetic and returns the fraction plus a decimal to the requested precision.",
  "type": "http",
  "accepts": [
    {
      "scheme": "upto",
      "network": "eip155:8453",
      "payTo": "0xe025442C0d6dC17aD2b9eB888B3565bdFCd98638",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "4199",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "expression": "(0.1 + 0.2) * 3",
            "precision": 20
          },
          "type": "http"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "expression": {
                    "description": "Arithmetic over + - * / ^ and parentheses, 512 characters or fewer",
                    "type": "string"
                  },
                  "precision": {
                    "description": "Decimal places, 0-200, default 20",
                    "type": "number"
                  }
                },
                "required": [
                  "expression"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "fittings.sh",
  "lastUpdated": "2026-08-15T21:01:33.482Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-11T19:14:01.715Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "fittings.sh",
    "manifest_name": "fittings.sh",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}