Mini Survey
by daten.halowerk.com in Onchain & crypto
Create a private fixed-choice mini survey with separate single-response participant links and a read-only results token for aggregate counts. Creates 1 to 50 private fragment links for an immutable questionnaire of 1 to 10 required single-choice questions, each with 2 to 10 fixed text options. The agent distributes one link per recipient itself. A transaction accepts one response per link, with a request nonce for safe retry after a lost response.
https://daten.halowerk.com/v1/mini-survey- Price
- $0.003
- per call in USDC
- Uptime
- 96.3%
- last 30 days
- Response time
- 73 ms
- 177 ms slowest 5%
- Last check
- Passed
- 4 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://daten.halowerk.com/v1/mini-survey
Each call costs $0.003 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/mini-survey
content-type: application/json
{
"instructions": "Please choose one option for every question. Do not enter names or contact details.",
"participants": 5,
"questions": [
{
"options": [
"Command line",
"JavaScript",
"Python"
],
"question": "Which example would help most?"
},
{
"options": [
"Short guide",
"Worked example"
],
"question": "Preferred format?"
}
],
"title": "Choose the next documentation improvement"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
expires_in_seconds | integer | No | Submission and results-access deadline; retrieve results before expiry. Default: 86400. |
instructions | string | Yes | Plain-text instructions; do not request secrets, personal details or contact information. |
participants | integer | No | Number of independent single-response links. No identities are collected or verified. Default: 5. |
questions | array of object | Yes | |
title | string | Yes | Plain-text questionnaire title. |
Example response
The provider's example. We can't check it without paying.
Example response, 28 lines
{
"limitations": [
"A link represents a capability, not a verified person. Anyone holding that link can use its one response. Multiple links can be held by the same person; identity_verified is always false. No verified voting, legal consent or quorum is provided.",
"Results contain aggregate option counts and total responses, without per-link answer exports. This is not a guarantee of anonymity: small groups, rare answers and the agent holding all issued links can reveal information. Do not ask for sensitive or personal information.",
"All questions are mandatory single choice. Labels are displayed as plain text, never HTML or clickable links. No uploads, free-text responses, branching, ratings or custom scripts.",
"Each survey lasts 60 seconds to seven days, default one day. Results stop being available at the same deadline; save them in your own system before expiry. Cleanup is lazy. Logical deletion does not certify erasure of filesystem pages or backups.",
"At most 200 retained surveys per hub, 50 participant links each, 10 questions with 10 options each, and 16384 combined UTF-8 input bytes. Every link can submit once, and responses cannot be changed. No automatic renewal or additional storage charge."
],
"result": {
"delete_token": "8dEuoeOtUClzTsXaK7yYHJweJ1asPYRvS5b89rMvD2E",
"delete_url": "https://daten.halowerk.com/survey/delete",
"expires_at": "2026-11-20T13:30:20.375Z",
"identity_verified": false,
"participant_urls": [
"https://daten.halowerk.com/survey#id=035af74e92ae7606242b38b21836f907&token=L_Ggc0WAoumSWhygnSGIG0brT41NfitpT8LNUdEKPAI",
"https://daten.halowerk.com/survey#id=035af74e92ae7606242b38b21836f907&token=YlbkgT3GEssdCNr7Wo0puj6Hmae5LKoYU3pP4NhLPwg",
"https://daten.halowerk.com/survey#id=035af74e92ae7606242b38b21836f907&token=OWYwQnWGKUYv93LioPwujWgyj87TqkLrFBGXNHiH7w4",
"https://daten.halowerk.com/survey#id=035af74e92ae7606242b38b21836f907&token=JjUqzgmpPVoCKCJoeJ78AEkzaRj4AMahI-u4soBVNis",
"https://daten.halowerk.com/survey#id=035af74e92ae7606242b38b21836f907&token=aaePQo167W6dz-Pxnffpsl_v-pEA04YSv6Hs1xNpa_c"
],
"questionnaire_sha256": "460b44740fffb1c5e098305a13f098022b6b31b21e9d8e68c9aa61264da300da",
"results_token": "se9mQW6yHGrtRJ-736aEpi9XvVOuf8-aMRwh-rCI9Ec",
"results_url": "https://daten.halowerk.com/survey/results",
"survey_id": "035af74e92ae7606242b38b21836f907"
},
"service": "mini-survey",
"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.003.
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/mini-survey' \
-H 'content-type: application/json' \
--data-raw '{"instructions":"Please choose one option for every question. Do not enter names or contact details.","participants":5,"questions":[{"options":["Command line","JavaScript","Python"],"question":"Which example would help most?"},{"options":["Short guide","Worked example"],"question":"Preferred format?"}],"title":"Choose the next documentation improvement"}'
# 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/mini-survey' \
-H 'content-type: application/json' \
--data-raw '{"instructions":"Please choose one option for every question. Do not enter names or contact details.","participants":5,"questions":[{"options":["Command line","JavaScript","Python"],"question":"Which example would help most?"},{"options":["Short guide","Worked example"],"question":"Preferred format?"}],"title":"Choose the next documentation improvement"}' \
| 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.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
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.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdaten.halowerk.com%2Fv1%2Fmini-survey&method=POST
const res = await pay("https://daten.halowerk.com/v1/mini-survey", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"instructions": "Please choose one option for every question. Do not enter names or contact details.",
"participants": 5,
"questions": [
{
"options": [
"Command line",
"JavaScript",
"Python"
],
"question": "Which example would help most?"
},
{
"options": [
"Short guide",
"Worked example"
],
"question": "Preferred format?"
}
],
"title": "Choose the next documentation improvement"
}),
});
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.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
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/mini-survey",
json={
"instructions": "Please choose one option for every question. Do not enter names or contact details.",
"participants": 5,
"questions": [
{
"options": [
"Command line",
"JavaScript",
"Python",
],
"question": "Which example would help most?",
},
{
"options": [
"Short guide",
"Worked example",
],
"question": "Preferred format?",
},
],
"title": "Choose the next documentation improvement",
},
)
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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 51 ms | $0.003 |
| 14 h ago | Passed | 402 | 45 ms | $0.003 |
| 25 h ago | Passed | 402 | 40 ms | $0.003 |
| 38 h ago | Passed | 402 | 146 ms | $0.003 |
| 3 days ago | Timed out | - | - | - |
Show 10 older checks
| 5 days ago | Passed | 402 | 65 ms | $0.003 |
| 5 days ago | Passed | 402 | 123 ms | $0.003 |
| 6 days ago | Passed | 402 | 44 ms | $0.003 |
| 6 days ago | Passed | 402 | 41 ms | $0.003 |
| 7 days ago | Passed | 402 | 42 ms | $0.003 |
| 7 days ago | Passed | 402 | 121 ms | $0.003 |
| 7 days ago | Passed | 402 | 122 ms | $0.003 |
| 8 days ago | Passed | 402 | 134 ms | $0.003 |
| 8 days ago | Passed | 402 | 121 ms | $0.003 |
| 8 days ago | Passed | 402 | 50 ms | $0.003 |