{
  "format": "delx/intent-card/v1",
  "id": "take-profit-pct-api",
  "intent": "Take-Profit from % for an agent workflow",
  "title": "Take-Profit from % API for agents",
  "description": "Take-profit price from entry and target percent move. Call when placing TP levels from percent playbooks. Returns take-profit price 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.",
  "keywords": [
    "Take-Profit from % API",
    "Take-Profit from % for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/take-profit-pct-api",
  "machine_url": "https://commerce.delx.ai/intents/take-profit-pct-api.json",
  "recommendation": {
    "tool_name": "util_take_profit_pct",
    "service_name": "Take-Profit from %",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/take-profit-pct",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "entry": {
          "description": "Input field: entry.",
          "type": "integer"
        },
        "pct": {
          "description": "Input field: pct.",
          "type": "number"
        },
        "side": {
          "description": "Input field: side.",
          "type": "string"
        }
      },
      "required": [
        "entry",
        "pct",
        "side"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "entry": 100,
      "pct": 0.05,
      "side": "long"
    },
    "example_output": {
      "schema": "delx/util-take-profit-pct/v1",
      "entry": 100,
      "pct": 0.05,
      "side": "long",
      "take_profit": 105
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/take-profit-pct -m POST -H 'x-delx-source: intent-card-take-profit-pct-api' --max-amount 0.001 -b '{\"entry\":100,\"pct\":0.05,\"side\":\"long\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-take-profit-pct-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/take-profit-pct"
  }
}
