74trust / 100

Share Link

by daten.halowerk.com in Documents & files

x402 APIPassing, checked 1 h ago

Create a private password-protected expiring file share, with encrypted storage, a fixed download page and a separate revocation token. Accepts a file as canonical base64, a plain-text title, a file name and a caller-chosen password. A random 256-bit fragment link and the exact password are both required to retrieve the file.

POST
https://daten.halowerk.com/v1/share-link
Price
$0.004
per call in USDC
Uptime
85.7%
last 30 days
Response time
118 ms
255 ms slowest 5%
Last check
Passed
1 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://daten.halowerk.com/v1/share-link

Each call costs $0.004 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://daten.halowerk.com/v1/share-link
content-type: application/json

{
  "content_base64": "YWJj",
  "expires_in_seconds": 3600,
  "file_name": "example.txt",
  "password": "example-only-change-me-123",
  "title": "Technical example file"
}

Parameters

ParameterTypeRequiredDescription
content_base64stringYes
expires_in_secondsintegerNo Default: 3600.
file_namestringYes
passwordstringYes
titlestringYes

Example response

The provider's example. We can't check it without paying.

{
  "limitations": [
    "At most 524288 bytes (512 KiB), including empty files; 200 retained shares and 20 MiB of raw file bytes per hub, excluding encryption and SQLite overhead. One-time price includes retrieval and deletion until expiry.",
    "Lifetime 60 seconds to 24 hours, default one hour, with no renewal or further storage charge. Expiry and logical deletion revoke all access. Cleanup is lazy; deletion does not certify erasure of filesystem pages or backups. Keep your own copy. Revocation prevents future server retrieval; already retrieved or saved copies cannot be withdrawn.",
    "Choose a unique, strong 12 to 120 character password; never reuse an account password. Unicode is used exactly as supplied, without normalization. A party holding both link and password can copy and redistribute the file; no download-count or anonymity guarantee is provided.",
    "Any private-link holder can see the caller-supplied title, byte size and expiry before entering a password; the file name and bytes require it. Identity and ownership are not verified. A known link can be temporarily locked by wrong password attempts.",
    "Use non-personal technical files only, not secrets, personal data, contact lists or unlawful content. HALOWERK does not scan malware or certify content. The fixed page shows metadata and creates a download, never renders arbitrary file content, HTML or external links.",
    "Passwords are sent only in JSON request bodies over HTTPS and are excluded from the paid archive. Decryption occurs on the server, so this is password-based encryption at rest, not end-to-end encryption. No public raw-file URL, S3, email, external fetch or executable content hosting."
  ],
  "result": {
    "content_sha256": "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad",
    "delete_token": "zgGApjYxP-hzXuPWW8dfs-KjbzSFDvqx9ne6BxU7fjk",
    "delete_url": "https://daten.halowerk.com/share/delete",
    "expires_at": "2026-11-19T14:30:18.829Z",
    "identity_verified": false,
    "password_required": true,
    "share_id": "5d6f49e5764d9dfded848fa0429a93f7",
    "share_url": "https://daten.halowerk.com/share#id=5d6f49e5764d9dfded848fa0429a93f7&token=oZWEseXXUwgcD8tm0OgyIjdSfxkp4lJ8rEJHWfrCpx0",
    "size_bytes": 3
  },
  "service": "share-link",
  "status": "success"
}

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.004.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://daten.halowerk.com/v1/share-link' \
  -H 'content-type: application/json' \
  --data-raw '{"content_base64":"YWJj","expires_in_seconds":3600,"file_name":"example.txt","password":"example-only-change-me-123","title":"Technical example file"}'

# 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://daten.halowerk.com/v1/share-link' \
  -H 'content-type: application/json' \
  --data-raw '{"content_base64":"YWJj","expires_in_seconds":3600,"file_name":"example.txt","password":"example-only-change-me-123","title":"Technical example file"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: 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.004 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.004" });
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.004 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdaten.halowerk.com%2Fv1%2Fshare-link&method=POST
const res = await pay("https://daten.halowerk.com/v1/share-link", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "content_base64": "YWJj",
    "expires_in_seconds": 3600,
    "file_name": "example.txt",
    "password": "example-only-change-me-123",
    "title": "Technical example file"
  }),
});
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.004 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.004"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://daten.halowerk.com/v1/share-link",
        json={
            "content_base64": "YWJj",
            "expires_in_seconds": 3600,
            "file_name": "example.txt",
            "password": "example-only-change-me-123",
            "title": "Technical example file",
        },
    )
    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

WhenResultHTTPTimePrice
1 h agoPassed402246 ms$0.004
12 h agoPassed40239 ms$0.004
21 h agoPassed402128 ms$0.004
32 h agoPassed402123 ms$0.004
2 days agoTimed out---
Show 9 older checks
4 days agoTimed out---
5 days agoPassed40239 ms$0.004
6 days agoPassed402129 ms$0.004
6 days agoPassed40238 ms$0.004
6 days agoPassed402118 ms$0.004
7 days agoPassed40239 ms$0.004
7 days agoPassed402178 ms$0.004
7 days agoPassed40246 ms$0.004
8 days agoPassed402255 ms$0.004