80trust / 100
Edge Compute Bid
by iot.halowerk.com in Company & people data
x402 APIPassing, checked 1 h ago
Filters caller-supplied bids by CPU, memory and latency constraints, computes workload cost from quoted unit prices, and ranks feasible candidates by total cost then latency. It does not contact providers, attest hardware or place a bid.
POST https://iot.halowerk.com/v1/edge-compute-bid
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 129 ms typical, 150 ms slowest 5%
- Last check
- 1 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://iot.halowerk.com/v1/edge-compute-bid" \
-H "content-type: application/json" \
-d '{"candidates":[{"available_cpu_seconds":300,"available_memory_gb_seconds":1000,"latency_ms":24,"price_per_cpu_second":0.00002,"price_per_memory_gb_second":0.000004,"provider":"edge-a"},{"available_cpu_seconds":1000,"available_memory_gb_seconds":1000,"latency_ms":41,"price_per_cpu_second":0.000015,"price_per_memory_gb_second":0.000006,"provider":"edge-b"}],"cpu_seconds":120,"max_latency_ms":50,"memory_gb_seconds":480}'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%2Fiot.halowerk.com%2Fv1%2Fedge-compute-bid
const res = await pay("https://iot.halowerk.com/v1/edge-compute-bid", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"candidates":[{"available_cpu_seconds":300,"available_memory_gb_seconds":1000,"latency_ms":24,"price_per_cpu_second":0.00002,"price_per_memory_gb_second":0.000004,"provider":"edge-a"},{"available_cpu_seconds":1000,"available_memory_gb_seconds":1000,"latency_ms":41,"price_per_cpu_second":0.000015,"price_per_memory_gb_second":0.000006,"provider":"edge-b"}],"cpu_seconds":120,"max_latency_ms":50,"memory_gb_seconds":480}),
});
console.log(await res.json());Example input
{
"candidates": [
{
"available_cpu_seconds": 300,
"available_memory_gb_seconds": 1000,
"latency_ms": 24,
"price_per_cpu_second": 0.00002,
"price_per_memory_gb_second": 0.000004,
"provider": "edge-a"
},
{
"available_cpu_seconds": 1000,
"available_memory_gb_seconds": 1000,
"latency_ms": 41,
"price_per_cpu_second": 0.000015,
"price_per_memory_gb_second": 0.000006,
"provider": "edge-b"
}
],
"cpu_seconds": 120,
"max_latency_ms": 50,
"memory_gb_seconds": 480
}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 | 142 ms | $0.004 |
| 5 h ago | Passed | 402 | 167 ms | $0.004 |
| 8 h ago | Passed | 402 | 129 ms | $0.004 |
| 12 h ago | Passed | 402 | 128 ms | $0.004 |
| 15 h ago | Passed | 402 | 132 ms | $0.004 |
| 19 h ago | Passed | 402 | 132 ms | $0.004 |
| 23 h ago | Passed | 402 | 135 ms | $0.004 |
| 26 h ago | Passed | 402 | 108 ms | $0.004 |
| 30 h ago | Passed | 402 | 103 ms | $0.004 |
| 34 h ago | Passed | 402 | 150 ms | $0.004 |
| 37 h ago | Passed | 402 | 107 ms | $0.004 |
| 42 h ago | Passed | 402 | 39 ms | $0.004 |