Erlang Staffing
by Systems Capacity Calculators in Other
Erlang B and C: trunks for a blocking target, or agents for a service level such as 80 percent answered in 20 seconds.
https://data-calc.x402tookit.com/erlang-staffing- Price
- $0.02
- per call in USDC
- Uptime
- 64.7%
- last 30 days
- Response time
- 519 ms
- 650 ms slowest 5%
- Last check
- Passed
- 10 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://data-calc.x402tookit.com/erlang-staffing
Each call costs $0.02 in USDC on Polygon, 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://data-calc.x402tookit.com/erlang-staffing?mode=b&targetBlocking=0.01&trafficErlangs=10Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
answerSeconds | number | No | Mode c: the answer-time threshold in seconds (default 20) |
handlingSeconds | number | No | Mode c: average handling time in seconds (default 180) |
mode | string | No | c (default): agents for a service level, queueing allowed. b: trunks for a blocking target, no queue |
serviceLevel | number | No | Mode c: fraction answered within answerSeconds, e.g. 0.8 (default 0.8) |
targetBlocking | number | No | Mode b: acceptable blocking probability, e.g. 0.01 (default 0.01) |
trafficErlangs | number | Yes | Offered load A in erlangs = arrival rate x average handling time (e.g. 120 calls/hour x 3 min = 6 E) |
Example response
The provider's example. We can't check it without paying.
Example response, 36 lines
{
"asOf": "2026-10-11T20:19:39.187Z",
"blockingAtSolution": 0.007142438157899779,
"degraded": false,
"disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
"mode": "b",
"neighbours": [
{
"blocking": 0.0364969454723708,
"carriedErlangs": 9.635030545276292,
"occupancy": 0.6423353696850861,
"trunks": 15
},
{
"blocking": 0.022301872040363657,
"carriedErlangs": 9.776981279596363,
"occupancy": 0.6110613299747727,
"trunks": 16
}
],
"notChecked": [
"shrinkage: breaks, absences and training (divide by the share of time agents are actually on the phones)",
"abandonment and retrials, which change real offered load",
"…2 more"
],
"reasons": [
"Erlang B assumes blocked calls are cleared (lost), with no queue: B(0) = 1, B(k) = A B(k-1) / (k + A B(k-1)).",
"Trunks needed grow more slowly than traffic: bigger groups run more efficiently."
],
"source": "computed locally (Erlang B and C)",
"summary": "10 erlangs needs 18 trunks for at most 1.00% blocking (actual 0.714%).",
"targetBlocking": 0.01,
"trafficErlangs": 10,
"trunksNeeded": 18,
"verdict": "SIZED"
}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.02.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://data-calc.x402tookit.com/erlang-staffing?mode=b&targetBlocking=0.01&trafficErlangs=10'
# 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://data-calc.x402tookit.com/erlang-staffing?mode=b&targetBlocking=0.01&trafficErlangs=10' \
| 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.02 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.02" });
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.02 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdata-calc.x402tookit.com%2Ferlang-staffing
const res = await pay("https://data-calc.x402tookit.com/erlang-staffing?mode=b&targetBlocking=0.01&trafficErlangs=10");
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.02 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.02"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://data-calc.x402tookit.com/erlang-staffing?mode=b&targetBlocking=0.01&trafficErlangs=10")
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 |
|---|---|---|---|---|
| 10 h ago | Passed | 402 | 558 ms | $0.02 |
| 23 h ago | Expected HTTP 402, got 530 | 530 | 125 ms | - |
| 35 h ago | Passed | 402 | 517 ms | $0.02 |
| 2 days ago | Expected HTTP 402, got 530 | 530 | 93 ms | - |
| 3 days ago | Passed | 402 | 559 ms | $0.02 |
Show 10 older checks
| 3 days ago | Expected HTTP 402, got 530 | 530 | 142 ms | - |
| 3 days ago | Passed | 402 | 650 ms | $0.02 |
| 5 days ago | Expected HTTP 402, got 530 | 530 | 102 ms | - |
| 5 days ago | Expected HTTP 402, got 530 | 530 | 136 ms | - |
| 5 days ago | Expected HTTP 402, got 530 | 530 | 201 ms | - |
| 5 days ago | Passed | 402 | 519 ms | $0.02 |
| 5 days ago | Passed | 402 | 538 ms | $0.02 |
| 6 days ago | Passed | 402 | 565 ms | $0.02 |
| 6 days ago | Passed | 402 | 513 ms | $0.02 |
| 6 days ago | Passed | 402 | 509 ms | $0.02 |