{
  "format": "delx/intent-card/v1",
  "id": "in-range-api",
  "intent": "In Range for an agent workflow",
  "title": "In Range API for agents",
  "description": "Check whether a value sits in [min,max]. Call when you preflight budgets, scores, or clamp decisions. Returns boolean in_range with bounds for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.",
  "keywords": [
    "In Range API",
    "In Range for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-07",
  "canonical_url": "https://commerce.delx.ai/intents/in-range-api",
  "machine_url": "https://commerce.delx.ai/intents/in-range-api.json",
  "recommendation": {
    "tool_name": "util_in_range",
    "service_name": "Delx In Range",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/in-range",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "value": {
          "description": "Input field: value.",
          "type": "integer"
        },
        "min": {
          "description": "Input field: min.",
          "type": "integer"
        },
        "max": {
          "description": "Input field: max.",
          "type": "integer"
        }
      },
      "required": [
        "value",
        "min",
        "max"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "value": 3,
      "min": 0,
      "max": 10
    },
    "example_output": {
      "schema": "delx/util-in-range/v1",
      "in_range": true,
      "value": 3,
      "min": 0,
      "max": 10
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/in-range -m POST -H 'x-delx-source: intent-card-in-range-api' --max-amount 0.001 -b '{\"value\":3,\"min\":0,\"max\":10}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-in-range-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/in-range"
  }
}
