{
  "format": "delx/intent-card/v1",
  "id": "price-floor-api",
  "intent": "Price Floor for an agent workflow",
  "title": "Price Floor API for agents",
  "description": "Calculate the minimum price required for a target gross margin. Use it as a bounded preflight or analysis step inside an enterprise agent workflow before data, policy, integration, security, or commercial decisions reach production. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, memory-only, and has no paid upstream or input retention. Results are advisory; the caller remains responsible for authorization and production controls.",
  "keywords": [
    "Price Floor API",
    "Price Floor for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/price-floor-api",
  "machine_url": "https://commerce.delx.ai/intents/price-floor-api.json",
  "recommendation": {
    "tool_name": "util_price_floor",
    "service_name": "Delx Price Floor",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/price-floor",
    "price_usdc": "0.003",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "cost": {
          "description": "Input field: cost.",
          "type": "number"
        },
        "target_margin_percent": {
          "description": "Input field: target_margin_percent.",
          "type": "number"
        }
      },
      "required": [
        "cost",
        "target_margin_percent"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "cost": 0.002,
      "target_margin_percent": 40
    },
    "example_output": {
      "schema": "delx/util-price-floor/v1",
      "cost": 0.002,
      "target_margin_percent": 40,
      "minimum_price": 0.003333,
      "formula": "cost / (1 - target_margin)"
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/price-floor -m POST -H 'x-delx-source: intent-card-price-floor-api' --max-amount 0.003 -b '{\"cost\":0.002,\"target_margin_percent\":40}'",
      "max_amount_usdc": "0.003"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-price-floor-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/price-floor"
  }
}
