Design Type Scale
by Saylor Innovations Data Desk in Other
Modular typographic scale from a base size and ratio - px and rem for each step, line heights, CSS variables and fluid clamp() values between viewports
https://saylorinnovations.com/api/design/type-scale- Price
- $0.01
- per call in USDC
- Uptime
- 75.0%
- last 30 days
- Response time
- 353 ms
- 1.1 s slowest 5%
- Last check
- Failed
- 12 h ago, next in 13 h
Reliability
Latest check failed 12 h ago: Expected HTTP 402, got 404
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://saylorinnovations.com/api/design/type-scale
Each call costs $0.01 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://saylorinnovations.com/api/design/type-scale?base=16&ratio=major-third&steps_up=6Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
base | string | No | optional base size px, default 16 |
ratio | string | No | optional name (major-third, perfect-fourth, golden-ratio...) or number 1.05-2.5 |
steps_up | string | No | optional 1-10, default 6 |
Example response
The provider's example. We can't check it without paying.
Example response, 83 lines
{
"base_px": 16,
"css_variables": "--text-xs: 0.64rem; --text-sm: 0.8rem; --text-base: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.9531rem; --text-3xl: 2.4414rem; --text-4xl: 3.0518rem; --text-5xl: 3.8147rem;",
"note": "Modular scale: each step multiplies the base size by the ratio. fluid_clamp interpolates between a gentler scale at the minimum viewport and the full scale at the maximum viewport; round rem values to taste.",
"ratio": 1.25,
"ratio_name": "major-third",
"recommended_body_line_height": 1.5,
"source": "modular scale math",
"steps": [
{
"fluid_clamp": "clamp(0.74rem, 0.779rem + -0.174vw, 0.64rem)",
"line_height": 1.5,
"name": "xs",
"px": 10.24,
"rem": 0.64,
"step": -2
},
{
"fluid_clamp": "clamp(0.86rem, 0.884rem + -0.105vw, 0.8rem)",
"line_height": 1.5,
"name": "sm",
"px": 12.8,
"rem": 0.8,
"step": -1
},
{
"fluid_clamp": "clamp(1rem, 1rem + 0vw, 1rem)",
"line_height": 1.5,
"name": "base",
"px": 16,
"rem": 1,
"step": 0
},
{
"fluid_clamp": "clamp(1.163rem, 1.128rem + 0.152vw, 1.25rem)",
"line_height": 1.5,
"name": "lg",
"px": 20,
"rem": 1.25,
"step": 1
},
{
"fluid_clamp": "clamp(1.351rem, 1.269rem + 0.367vw, 1.563rem)",
"line_height": 1.5,
"name": "xl",
"px": 25,
"rem": 1.5625,
"step": 2
},
{
"fluid_clamp": "clamp(1.571rem, 1.421rem + 0.665vw, 1.953rem)",
"line_height": 1.4,
"name": "2xl",
"px": 31.25,
"rem": 1.9531,
"step": 3
},
{
"fluid_clamp": "clamp(1.826rem, 1.586rem + 1.07vw, 2.441rem)",
"line_height": 1.3,
"name": "3xl",
"px": 39.06,
"rem": 2.4414,
"step": 4
},
{
"fluid_clamp": "clamp(2.123rem, 1.76rem + 1.615vw, 3.052rem)",
"line_height": 1.2,
"name": "4xl",
"px": 48.83,
"rem": 3.0518,
"step": 5
},
{
"fluid_clamp": "clamp(2.468rem, 1.941rem + 2.342vw, 3.815rem)",
"line_height": 1.1,
"name": "5xl",
"px": 61.04,
"rem": 3.8147,
"step": 6
}
]
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/design/type-scale?base=16&ratio=major-third&steps_up=6'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://saylorinnovations.com/api/design/type-scale?base=16&ratio=major-third&steps_up=6' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Fdesign%2Ftype-scale
const res = await pay("https://saylorinnovations.com/api/design/type-scale?base=16&ratio=major-third&steps_up=6");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://saylorinnovations.com/api/design/type-scale?base=16&ratio=major-third&steps_up=6")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 12 h ago | Expected HTTP 402, got 404 | 404 | 151 ms | - |
| 30 h ago | Expected HTTP 402, got 404 | 404 | 251 ms | - |
| 4 days ago | Timed out | - | - | - |
| 5 days ago | Passed | 402 | 324 ms | $0.01 |
| 5 days ago | Passed | 402 | 392 ms | $0.01 |
Show 10 older checks
| 6 days ago | Passed | 402 | 1.4 s | $0.01 |
| 7 days ago | Passed | 402 | 365 ms | $0.01 |
| 7 days ago | Passed | 402 | 433 ms | $0.01 |
| 8 days ago | Passed | 402 | 376 ms | $0.01 |
| 8 days ago | Passed | 402 | 353 ms | $0.01 |
| 9 days ago | Passed | 402 | 423 ms | $0.01 |
| 9 days ago | Passed | 402 | 344 ms | $0.01 |
| 10 days ago | Passed | 402 | 432 ms | $0.01 |
| 10 days ago | Passed | 402 | 412 ms | $0.01 |
| 11 days ago | Passed | 402 | 316 ms | $0.01 |
History
| 2 Nov 2026 | Price on Solana changed from 102115 units of So11111111111111111111111111111111111111112 to 102917 units of So11111111111111111111111111111111111111112 |
| 2 Nov 2026 | Price on Solana changed from 103909 units of So11111111111111111111111111111111111111112 to 102115 units of So11111111111111111111111111111111111111112 |
| 1 Nov 2026 | Price on Solana changed from 102677 units of So11111111111111111111111111111111111111112 to 103909 units of So11111111111111111111111111111111111111112 |
| 1 Nov 2026 | Price on Solana changed from 102212 units of So11111111111111111111111111111111111111112 to 102677 units of So11111111111111111111111111111111111111112 |
| 1 Nov 2026 | Price on Solana changed from 101506 units of So11111111111111111111111111111111111111112 to 102212 units of So11111111111111111111111111111111111111112 |
| 29 Oct 2026 | Price on Solana changed from 94606 units of So11111111111111111111111111111111111111112 to 96941 units of So11111111111111111111111111111111111111112 |
| 28 Oct 2026 | Price on Solana changed from 95915 units of So11111111111111111111111111111111111111112 to 94606 units of So11111111111111111111111111111111111111112 |
| 28 Oct 2026 | Price on Solana changed from 95331 units of So11111111111111111111111111111111111111112 to 95915 units of So11111111111111111111111111111111111111112 |
| 28 Oct 2026 | Price on Solana changed from 95792 units of So11111111111111111111111111111111111111112 to 95331 units of So11111111111111111111111111111111111111112 |
| 27 Oct 2026 | Price on Solana changed from 95887 units of So11111111111111111111111111111111111111112 to 95792 units of So11111111111111111111111111111111111111112 |
| 26 Oct 2026 | Price on Solana changed from 95350 units of So11111111111111111111111111111111111111112 to 95887 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 96125 units of So11111111111111111111111111111111111111112 to 95350 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 95802 units of So11111111111111111111111111111111111111112 to 96125 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 94901 units of So11111111111111111111111111111111111111112 to 95802 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 95943 units of So11111111111111111111111111111111111111112 to 94901 units of So11111111111111111111111111111111111111112 |