Micro Synthetic Artifact Test Pack
by mahastrategies.com in Other
Generate 16–256 original synthetic sine/noise samples with seeded LCG noise and declared nonoverlapping blink-like pulses, single-sample spikes or dropouts. Returns artifact labels in arbitrary synthetic units. Toy test data only, not physiological simulation or third-party research data; no participant signals.
POST https://www.mahastrategies.com/api/v1/micro/synthetic-artifact-test-pack
Last 30 days
Status and outage history · Atom feed
- Uptime
- 100%
- Response time
- 414 ms typical, 691 ms slowest 5%
- Last check
- 1 h ago
- Next check
- any minute now
How to call it
POST https://www.mahastrategies.com/api/v1/micro/synthetic-artifact-test-pack
Each call costs $0.053 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.
POST https://www.mahastrategies.com/api/v1/micro/synthetic-artifact-test-pack
content-type: application/json
{
"amplitude": "1",
"artifacts": [
{
"kind": "spike",
"length": 1,
"magnitude": "3",
"startIndex": 4
},
{
"kind": "dropout",
"length": 3,
"magnitude": "0",
"startIndex": 20
}
],
"dataClass": "synthetic",
"frequencyHz": "8",
"noiseAmplitude": "0.05",
"sampleCount": 32,
"sampleRateHz": 128,
"seed": 42
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
amplitude | string | Yes | |
artifacts | array | Yes | |
dataClass | string | Yes | One of: synthetic. |
frequencyHz | string | Yes | |
noiseAmplitude | string | Yes | |
sampleCount | integer | Yes | |
sampleRateHz | integer | Yes | |
seed | integer | Yes |
Example response
The provider's example. We can't check it without paying. Shortened for display.
Example response, 63 lines
{
"amountBaseUnits": "53000",
"boundaries": [
"Public or synthetic inputs only. Caller labels are declarations,…"
],
"inputDigest": "sha256:418f5ca7165e1fedd39c80ddcf0710aaafd171fd1c45eebbc3d1721c5…",
"offerId": "synthetic-artifact-test-pack",
"receiptDigest": "sha256:23f044c82c762c5c8f5adc6bb25be1efa77a8a3b29f8f938d347b2806…",
"result": {
"dataClass": "synthetic",
"generatorVersion": "original-sine-lcg-v1",
"labels": [
"clean",
"clean",
"clean",
"clean",
"spike",
"clean",
"clean",
"clean",
"clean",
"clean",
"clean",
"clean",
"clean",
"clean",
"clean",
"clean",
"clean",
"clean",
"clean",
"clean"
],
"participantSignalsIncluded": false,
"sampleRateHz": 128,
"seed": 42,
"signalUnit": "arbitrary-synthetic",
"thirdPartyResearchData": false,
"waveform": [
"-0.024765482522",
"0.341495936906",
"0.71483490101",
"0.89613495911",
"3.987566019711",
"0.876445922996",
"0.701834909775",
"0.34452943274",
"0.037381370575",
"-0.333220004833",
"-0.67178650882",
"-0.923911859696",
"-0.985799905355",
"-0.887733913767",
"-0.697459803539",
"-0.423608416721",
"-0.0359790202",
"0.427692260018",
"0.749562325765",
"0.962826428139"
]
},
"version": "maha-microproducts/0.1"
}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.053.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://www.mahastrategies.com/api/v1/micro/synthetic-artifact-test-pack' \
-H 'content-type: application/json' \
--data-raw '{"amplitude":"1","artifacts":[{"kind":"spike","length":1,"magnitude":"3","startIndex":4},{"kind":"dropout","length":3,"magnitude":"0","startIndex":20}],"dataClass":"synthetic","frequencyHz":"8","noiseAmplitude":"0.05","sampleCount":32,"sampleRateHz":128,"seed":42}'
# 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 - -X POST 'https://www.mahastrategies.com/api/v1/micro/synthetic-artifact-test-pack' \
-H 'content-type: application/json' \
--data-raw '{"amplitude":"1","artifacts":[{"kind":"spike","length":1,"magnitude":"3","startIndex":4},{"kind":"dropout","length":3,"magnitude":"0","startIndex":20}],"dataClass":"synthetic","frequencyHz":"8","noiseAmplitude":"0.05","sampleCount":32,"sampleRateHz":128,"seed":42}' \
| 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.053 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.053" });
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.053 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwww.mahastrategies.com%2Fapi%2Fv1%2Fmicro%2Fsynthetic-artifact-test-pack&method=POST
const res = await pay("https://www.mahastrategies.com/api/v1/micro/synthetic-artifact-test-pack", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"amplitude": "1",
"artifacts": [
{
"kind": "spike",
"length": 1,
"magnitude": "3",
"startIndex": 4
},
{
"kind": "dropout",
"length": 3,
"magnitude": "0",
"startIndex": 20
}
],
"dataClass": "synthetic",
"frequencyHz": "8",
"noiseAmplitude": "0.05",
"sampleCount": 32,
"sampleRateHz": 128,
"seed": 42
}),
});
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.053 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.053"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://www.mahastrategies.com/api/v1/micro/synthetic-artifact-test-pack",
json={
"amplitude": "1",
"artifacts": [
{
"kind": "spike",
"length": 1,
"magnitude": "3",
"startIndex": 4,
},
{
"kind": "dropout",
"length": 3,
"magnitude": "0",
"startIndex": 20,
},
],
"dataClass": "synthetic",
"frequencyHz": "8",
"noiseAmplitude": "0.05",
"sampleCount": 32,
"sampleRateHz": 128,
"seed": 42,
},
)
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 |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 459 ms | $0.053 |
| 5 h ago | Passed | 402 | 427 ms | $0.053 |
| 9 h ago | Passed | 402 | 592 ms | $0.053 |
| 13 h ago | Passed | 402 | 315 ms | $0.053 |
| 17 h ago | Passed | 402 | 410 ms | $0.053 |
| 21 h ago | Passed | 402 | 221 ms | $0.053 |
| 25 h ago | Passed | 402 | 663 ms | $0.053 |
| 29 h ago | Passed | 402 | 276 ms | $0.053 |
| 32 h ago | Passed | 402 | 270 ms | $0.053 |
| 36 h ago | Passed | 402 | 1.0 s | $0.053 |
| 39 h ago | Passed | 402 | 330 ms | $0.053 |
| 43 h ago | Passed | 402 | 484 ms | $0.053 |
| 46 h ago | Passed | 402 | 414 ms | $0.053 |
| 2 days ago | Passed | 402 | 691 ms | $0.053 |
| 2 days ago | Passed | 402 | 620 ms | $0.053 |