75trust / 100
Text Sha256 Digest Execute
by tradepilotusa.com in Other
x402 APIPassing, checked 8 min ago
Calculate a SHA-256 digest and UTF-8 byte length of supplied text without normalization. Useful for comparing exact text artifacts. Does not prove authorship, authenticity or safe content; do not submit passwords or secrets.
POST https://www.tradepilotusa.com/api/agent-commerce/v1/services/text_sha256_digest/execute
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 731 ms typical, 1.3 s slowest 5%
- Last check
- 8 min ago
- Next check
- in 20 min
How to call it
# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://www.tradepilotusa.com/api/agent-commerce/v1/services/text_sha256_digest/execute' \
-H 'content-type: application/json' \
--data-raw '{"text":"abc"}'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.tradepilotusa.com%2Fapi%2Fagent-commerce%2Fv1%2Fservices%2Ftext_sha256_digest%2Fexecute
const res = await pay("https://www.tradepilotusa.com/api/agent-commerce/v1/services/text_sha256_digest/execute", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"text\":\"abc\"}",
});
console.log(await res.json());Example input
{
"text": "abc"
}Example output
{
"provenance": {
"execution": "deterministic_local",
"model_used": false,
"network_request_performed": false
},
"request_id": "example_text_sha256_digest",
"result": {
"algorithm": "SHA-256",
"byte_length": 3,
"digest": "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad",
"encoding": "UTF-8",
"normalization": "none; line endings and Unicode code points remain significant"
},
"utility": "text_sha256_digest"
}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 |
|---|---|---|---|---|
| 8 min ago | Passed | 402 | 693 ms | $0.01 |
| 4 h ago | Passed | 402 | 1.3 s | $0.01 |
| 8 h ago | Passed | 402 | 739 ms | $0.01 |
| 12 h ago | Passed | 402 | 960 ms | $0.01 |
| 16 h ago | Passed | 402 | 731 ms | $0.01 |
| 19 h ago | Passed | 402 | 706 ms | $0.01 |
| 23 h ago | Passed | 402 | 685 ms | $0.01 |
| 26 h ago | Passed | 402 | 993 ms | $0.01 |
| 30 h ago | Passed | 402 | 686 ms | $0.01 |
| 33 h ago | Passed | 402 | 960 ms | $0.01 |
| 37 h ago | Passed | 402 | 1.3 s | $0.01 |
| 40 h ago | Passed | 402 | 644 ms | $0.01 |
| 44 h ago | Passed | 402 | 632 ms | $0.01 |
| 2 days ago | Passed | 402 | 939 ms | $0.01 |
| 2 days ago | Passed | 402 | 684 ms | $0.01 |