77trust / 100
Micro Material Cut List Consolidation
by Material cut list consolidation in Documents & files
x402 APIPassing, checked 2 h ago
Consolidate up to 128 cut rows by material and exact converted length in metres, summing integer quantities and total lengths without floating-point arithmetic. Supports mm/cm/m and four material classes. No kerf, stock nesting, waste optimization or fabrication certification.
POST https://www.mahastrategies.com/api/v1/micro/material-cut-list-consolidation
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 343 ms typical, 762 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://www.mahastrategies.com/api/v1/micro/material-cut-list-consolidation' \
-H 'content-type: application/json' \
--data-raw '{"cuts":[{"length":"1000","material":"steel","quantity":2,"unit":"mm"},{"length":"100","material":"steel","quantity":3,"unit":"cm"}],"dataClass":"public"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwww.mahastrategies.com%2Fapi%2Fv1%2Fmicro%2Fmaterial-cut-list-consolidation
const res = await pay("https://www.mahastrategies.com/api/v1/micro/material-cut-list-consolidation", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"cuts\":[{\"length\":\"1000\",\"material\":\"steel\",\"quantity\":2,\"unit\":\"mm\"},{\"length\":\"100\",\"material\":\"steel\",\"quantity\":3,\"unit\":\"cm\"}],\"dataClass\":\"public\"}",
});
console.log(await res.json());Example input
{
"cuts": [
{
"length": "1000",
"material": "steel",
"quantity": 2,
"unit": "mm"
},
{
"length": "100",
"material": "steel",
"quantity": 3,
"unit": "cm"
}
],
"dataClass": "public"
}Example output
{
"amountBaseUnits": "22500",
"boundaries": [
"Public or synthetic inputs only. Caller labels are declarations,…"
],
"inputDigest": "sha256:2855c326e0c11713ed82a73527751c32861cf2cababdc66e8bdea8766…",
"offerId": "material-cut-list-consolidation",
"receiptDigest": "sha256:79c824dd4cf7562286d771ccad3b5894ea6b5fb605acc0b1d4119ef37…",
"result": {
"dataClass": "public",
"exactDecimalArithmetic": true,
"groups": [
{
"lengthM": "1",
"material": "steel",
"quantity": 5,
"totalLengthM": "5"
}
],
"kerfOrNestingIncluded": false,
"totalLengthM": "5",
"totalQuantity": 5
},
"version": "maha-microproducts/0.1"
}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 |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 546 ms | $0.022 |
| 6 h ago | Passed | 402 | 373 ms | $0.022 |
| 10 h ago | Passed | 402 | 380 ms | $0.022 |
| 13 h ago | Passed | 402 | 282 ms | $0.022 |
| 18 h ago | Passed | 402 | 274 ms | $0.022 |
| 21 h ago | Passed | 402 | 269 ms | $0.022 |
| 25 h ago | Passed | 402 | 254 ms | $0.022 |
| 28 h ago | Passed | 402 | 895 ms | $0.022 |
| 32 h ago | Passed | 402 | 365 ms | $0.022 |
| 36 h ago | Passed | 402 | 365 ms | $0.022 |
| 39 h ago | Passed | 402 | 343 ms | $0.022 |
| 43 h ago | Passed | 402 | 688 ms | $0.022 |
| 47 h ago | Passed | 402 | 762 ms | $0.022 |
| 2 days ago | Passed | 402 | 534 ms | $0.022 |
| 2 days ago | Passed | 402 | 260 ms | $0.022 |