InputPOST /api/v1/x402/slug-from-url
{
"url": "https://example.com/docs/getting-started"
}
Web and API intelligence · utility
Slug from a URL path. Call when turning docs or product URLs into clean route slugs or cache keys. Returns a slug derived from the path—URL is parsed locally, 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.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/slug-from-url -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"url":"https://example.com/docs/getting-started"}'
{
"url": "https://example.com/docs/getting-started"
}
{
"schema": "delx/slug-from-url/v1",
"slug": "getting-started",
"path": "/docs/getting-started"
}
Machine-readable evidence