Api Endpoint

AIPayGen

Exact math agents shouldn't guess: evaluate an expression (+ - * / % ^, sqrt, log, sin, pi...), summary statistics for a list of numbers (mean, median, std dev, percentiles, mode), or convert units (length, mass, volume, area, speed, data, time, energy, temperature).

Open interactive test console

Offering

Provider
aipaygen.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://aipaygen.com/v1/math_calc
MIME type
application/json
First seen
2026-11-16T17:39:40.763Z
Last seen
Tags
Utility, Data, developer

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xebA22e8CD05Cb72A2F913099D6cCA666DD6D35B0"
  }
]

Observed health

Status
Healthy
Latest latency
59 ms
Average latency
273 ms
HTTP status
402
Last checked
Reachability
100% over 4 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "op": {
          "type": "string",
          "enum": [
            "eval",
            "stats",
            "convert"
          ],
          "description": "\"eval\", \"stats\" or \"convert\"."
        },
        "expression": {
          "description": "For eval, e.g. \"(1200 * 1.08^5) / 12\".",
          "type": "string",
          "maxLength": 1000
        },
        "numbers": {
          "description": "For stats.",
          "minItems": 1,
          "maxItems": 100000,
          "type": "array",
          "items": {
            "type": "number"
          }
        },
        "value": {
          "description": "For convert: the amount.",
          "type": "number"
        },
        "from": {
          "description": "For convert: unit, e.g. \"mi\", \"lb\", \"f\", \"gib\".",
          "type": "string",
          "maxLength": 10
        },
        "to": {
          "description": "For convert: unit, e.g. \"km\", \"kg\", \"c\", \"gb\".",
          "type": "string",
          "maxLength": 10
        }
      },
      "required": [
        "op"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  },
  "required": [
    "type"
  ]
}