Example inputPOST /api/v1/x402/domain-from-url
{
"url": "https://example.com/docs/getting-started"
}
Portable intent card · utility
Host from a URL. Use to extract the host for allowlists, branding, or outbound policy checks. Returns the host/domain component; the URL is never fetched. $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/domain-from-url -m POST -H 'x-delx-source: intent-card-domain-from-url-api' --max-amount 0.001 -b '{"url":"https://example.com/docs/getting-started"}'
{
"url": "https://example.com/docs/getting-started"
}
{
"intent": "URL → Host/Domain for an agent workflow",
"tool_name": "util_domain_from_url",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/domain-from-url-api.json"
}
Portable and inspectable