Example inputPOST /api/v1/x402/bool-parse
{
"value": "true"
}
Portable intent card · utility
Parse truthy/falsey strings. Call when agents ingest messy flags like yes/no/1/0/true from tools or forms. Returns a boolean plus the normalized interpretation. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/bool-parse -m POST -H 'x-delx-source: intent-card-bool-parse-api' --max-amount 0.001 -b '{"value":"true"}'
{
"value": "true"
}
{
"intent": "Parse Boolean Flags for an agent workflow",
"tool_name": "util_bool_parse",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/bool-parse-api.json"
}
Portable and inspectable