Example inputPOST /api/v1/x402/openapi-path-diff
{
"paths_a": {
"/a": {},
"/b": {}
},
"paths_b": {
"/b": {},
"/c": {}
}
}
Portable intent card · data-quality
Diff path keys between two OpenAPI path maps. Call when detecting added/removed routes between specs. Returns added, removed, common_count as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.
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/openapi-path-diff -m POST -H 'x-delx-source: intent-card-openapi-path-diff-api' --max-amount 0.001 -b '{"paths_a":{"/a":{},"/b":{}},"paths_b":{"/b":{},"/c":{}}}'
{
"paths_a": {
"/a": {},
"/b": {}
},
"paths_b": {
"/b": {},
"/c": {}
}
}
{
"intent": "OpenAPI Path Diff Lite for an agent workflow",
"tool_name": "util_openapi_path_diff",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/openapi-path-diff-api.json"
}
Portable and inspectable