{
  "format": "delx/intent-card/v1",
  "id": "levenshtein-api",
  "intent": "edit distance between two strings",
  "title": "Levenshtein distance API for agents",
  "description": "Measure how different two strings are for $0.001 — fuzzy match, typo tolerance, and dedupe without a model call.",
  "keywords": [
    "levenshtein",
    "edit distance",
    "fuzzy match",
    "string distance API",
    "x402 distance"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/levenshtein-api",
  "machine_url": "https://commerce.delx.ai/intents/levenshtein-api.json",
  "recommendation": {
    "tool_name": "util_levenshtein",
    "service_name": "Delx Levenshtein",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/levenshtein",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {},
      "required": [
        "a",
        "b"
      ],
      "additionalProperties": false
    },
    "example_input": {},
    "example_output": {},
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/levenshtein -m POST -H 'x-delx-source: intent-card-levenshtein-api' --max-amount 0.001 -b '{}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-levenshtein-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/levenshtein"
  }
}
