DELXCOMMERCE Payable now

Portable intent card · web-api-intelligence

Basename API for agents

Extract basename from a URL or path-like string. Call when you need this bounded result before handing data to a downstream tool. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Honest limit: execution uses only caller-supplied data in memory; it does not call a paid upstream, retain input, search the web, read a live RPC, or invoke a media generator. Results are advisory; the caller owns authorization, budgets, and production controls.

Basename APIBasename 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/basename -m POST -H 'x-delx-source: intent-card-basename-api' --max-amount 0.001 -b '{"path":"/api/v1/x402/hash"}'
Example inputPOST /api/v1/x402/basename
{
  "path": "/api/v1/x402/hash"
}
Agent discoverydelx/intent-card/v1
{
  "intent": "Basename for an agent workflow",
  "tool_name": "util_basename",
  "price_usdc": "0.001",
  "machine_url": "https://commerce.delx.ai/intents/basename-api.json"
}

Portable and inspectable

Share the intent, not a directory search.