78trust / 100
Data Pivot
by Relaystation Pivot in Productivity & SaaS
x402 APIPassing, checked 14 min ago
$0.0002/MB. Reshape tables long↔wide — pivot and unpivot without a spreadsheet. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny
POST https://api.relaystation.ai/v1/data/pivot
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 131 ms typical, 144 ms slowest 5%
- Last check
- 14 min ago
- Next check
- in 16 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.relaystation.ai/v1/data/pivot" \
-H "content-type: application/json" \
-d '{"agg":"count","columns":"string","file":{},"id":["string"],"index":["string"],"mode":"pivot","value":["string"],"values":"string"}'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%2Fapi.relaystation.ai%2Fv1%2Fdata%2Fpivot
const res = await pay("https://api.relaystation.ai/v1/data/pivot", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"agg":"count","columns":"string","file":{},"id":["string"],"index":["string"],"mode":"pivot","value":["string"],"values":"string"}),
});
console.log(await res.json());Example input
{
"agg": "count",
"columns": "string",
"file": {},
"id": [
"string"
],
"index": [
"string"
],
"mode": "pivot",
"value": [
"string"
],
"values": "string"
}Example output
{
"ok": true
}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 |
|---|---|---|---|---|
| 14 min ago | Passed | 402 | 131 ms | $0.01 |
| 4 h ago | Passed | 402 | 139 ms | $0.01 |
| 8 h ago | Passed | 402 | 131 ms | $0.01 |
| 11 h ago | Passed | 402 | 122 ms | $0.01 |
| 16 h ago | Passed | 402 | 144 ms | $0.01 |
| 18 h ago | Passed | 402 | 122 ms | $0.01 |
| 24 h ago | Passed | 402 | 742 ms | $0.01 |