Api Endpoint

AgentsToolsHub

Calculate the final sale price and the amount saved for any price and percent-off discount, with the working shown. Use this when an agent needs to sale price and savings from a percent off.

Open interactive test console

Offering

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

Endpoint context

URL
https://agentstoolshub.com/api/v1/calculators/discount-calculator
MIME type
Not provided
First seen
2026-10-16T01:50:32.458Z
Last seen
Tags
calculators, general

Payment pricing

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

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

Observed health

Status
Degraded
Latest latency
78 ms
Average latency
49 ms
HTTP status
503
Last checked
Reachability
100% over 13 checks

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

Input schema

{
  "method": "GET",
  "queryParams": {
    "discount": 20,
    "price": 79.99
  },
  "type": "http"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "discount": {
              "description": "Discount %",
              "type": "number"
            },
            "price": {
              "description": "Original price",
              "type": "number"
            }
          },
          "required": [
            "price",
            "discount"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}