Api Endpoint

Saylor Innovations Retail Markd

Calculate sequential retail markdowns, stacked discounts, sales tax, final price and total savings from an original price and comma-separated discount percentages, with explicit coupon and retailer-policy caveats.

Open interactive test console

Offering

Provider
saylorinnovations.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Business And Commerce
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://saylorinnovations.com/api/retail/markdown
MIME type
application/json
First seen
2026-10-16T01:51:51.176Z
Last seen
Tags
retail, markdown, discount, savings

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
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.01 USDC
Atomic price: 10000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 5
10000 atomic units
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB · Scheme: exact
Payment option 6
102884 atomic units
Atomic price: 102884 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: So11111111111111111111111111111111111111112 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "10000",
    "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "10000",
    "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
    "amount": "10000",
    "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "So11111111111111111111111111111111111111112",
    "amount": "102884",
    "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7"
  }
]

Observed health

Status
Healthy
Latest latency
244 ms
Average latency
1230 ms
HTTP status
402
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

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "original_price": {
          "type": "string",
          "description": "required positive original price (query)"
        },
        "discounts": {
          "type": "string",
          "description": "optional comma-separated percentage discounts applied in order, e.g. 30,20 (query)"
        },
        "tax_percent": {
          "type": "string",
          "description": "optional non-negative sales-tax percentage, default 0 (query)"
        }
      },
      "required": [
        "original_price"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "json"
    },
    "example": {
      "type": "object",
      "properties": {
        "original_price": {
          "type": "number",
          "description": "Original price"
        },
        "discounts_percent": {
          "type": "array",
          "description": "Discounts, as a percentage"
        },
        "discount_steps": {
          "type": "array",
          "description": "Discount steps"
        },
        "subtotal_after_discounts": {
          "type": "number",
          "description": "Subtotal after discounts"
        },
        "tax_percent": {
          "type": "number",
          "description": "Tax, as a percentage"
        },
        "tax_amount": {
          "type": "number",
          "description": "Tax amount"
        },
        "final_price": {
          "type": "number",
          "description": "Final price"
        },
        "total_savings": {
          "type": "number",
          "description": "Total savings"
        },
        "discount_savings_percent": {
          "type": "number",
          "description": "Discount savings, as a percentage"
        },
        "formula": {
          "type": "string",
          "description": "Formula used for the calculation"
        },
        "scope_note": {
          "type": "string",
          "description": "What this data covers and what it leaves out"
        }
      },
      "required": [
        "original_price",
        "discounts_percent",
        "subtotal_after_discounts",
        "tax_percent",
        "tax_amount",
        "final_price",
        "total_savings",
        "scope_note"
      ]
    }
  },
  "required": [
    "type"
  ]
}