DELXCOMMERCE Payable now

Portable intent card · data-quality

Ensure Prefix API for agents

Ensure a string starts with a required prefix without duplication — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that already converted externally (random, hash, URL, FX families).

Ensure Prefix APIEnsure Prefix for agentspay per result APIx402 APIno API key

Intent to transaction

One command, attributed.

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/ensure-prefix -m POST -H 'x-delx-source: intent-card-ensure-prefix-api' --max-amount 0.001 -b '{"text":"api.delx.ai","prefix":"https://"}'
Example inputPOST /api/v1/x402/ensure-prefix
{
  "text": "api.delx.ai",
  "prefix": "https://"
}
Agent discoverydelx/intent-card/v1
{
  "intent": "Ensure Prefix for an agent workflow",
  "tool_name": "util_ensure_prefix",
  "price_usdc": "0.001",
  "machine_url": "https://commerce.delx.ai/intents/ensure-prefix-api.json"
}

Portable and inspectable

Share the intent, not a directory search.