{
  "x402Version": 2,
  "id": 37533,
  "slug": "37533",
  "resource": "https://api.vextorium.com/calculadora-perpetuo-pago",
  "description": "Perpetual futures calculator (isolated margin): liquidation price and distance, notional and size, PnL at stop-loss and take-profit, reward/risk ratio, and position sizing to risk a fixed USD amount.",
  "type": "http",
  "serviceName": "Vextorium",
  "resourceType": "Sustainability",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "4000",
      "amountUsd": 0.004,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "4000",
      "amountUsd": 0.004,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "4000",
      "amountUsd": 0.004,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "4000",
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "4000",
      "maxTimeoutSeconds": 604900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "apalancamiento": {
            "type": [
              "number",
              "null"
            ]
          },
          "cantidad": {
            "type": [
              "number",
              "null"
            ]
          },
          "distancia_liquidacion_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "en_stop_loss": {
            "properties": {
              "pnl": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "pnl_pct_margen": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "precio": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "en_take_profit": {
            "properties": {
              "pnl": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "pnl_pct_margen": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "precio": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "entrada": {
            "type": [
              "number",
              "null"
            ]
          },
          "lado": {
            "type": [
              "string",
              "null"
            ]
          },
          "margen": {
            "type": [
              "number",
              "null"
            ]
          },
          "nocional": {
            "type": [
              "number",
              "null"
            ]
          },
          "nota": {
            "type": [
              "string",
              "null"
            ]
          },
          "precio_liquidacion": {
            "type": [
              "number",
              "null"
            ]
          },
          "ratio_beneficio_riesgo": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": [
          "object",
          "null"
        ]
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "apalancamiento": 10,
            "entrada": 60000,
            "lado": "long",
            "margen": 100,
            "stop_loss": 57000,
            "take_profit": 66000
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "apalancamiento": 10,
            "cantidad": 0.01666667,
            "distancia_liquidacion_pct": 9.5477,
            "en_stop_loss": {
              "pnl": -50,
              "pnl_pct_margen": -50,
              "precio": 57000
            },
            "en_take_profit": {
              "pnl": 100,
              "pnl_pct_margen": 100,
              "precio": 66000
            },
            "entrada": 60000,
            "lado": "long",
            "margen": 100,
            "nocional": 1000,
            "nota": "Margen aislado, sin comisiones ni funding. Cada exchange redondea distinto: úsalo como estimación.",
            "precio_liquidacion": 54271.35678392,
            "ratio_beneficio_riesgo": 2
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "apalancamiento": {
                    "description": "Leverage (1-200)",
                    "type": "number"
                  },
                  "entrada": {
                    "description": "Entry price",
                    "type": "number"
                  },
                  "lado": {
                    "enum": [
                      "long",
                      "short"
                    ],
                    "type": "string"
                  },
                  "margen": {
                    "description": "Margin posted in USD (optional)",
                    "type": "number"
                  },
                  "margen_mantenimiento_pct": {
                    "description": "Maintenance margin % (default 0.5)",
                    "type": "number"
                  },
                  "riesgo_usd": {
                    "description": "USD to risk; with stop_loss, sizes the position",
                    "type": "number"
                  },
                  "stop_loss": {
                    "description": "Stop-loss price (optional)",
                    "type": "number"
                  },
                  "take_profit": {
                    "description": "Take-profit price (optional)",
                    "type": "number"
                  }
                },
                "required": [
                  "entrada",
                  "apalancamiento"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "apalancamiento": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "cantidad": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "distancia_liquidacion_pct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "en_stop_loss": {
                    "properties": {
                      "pnl": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "pnl_pct_margen": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "precio": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "en_take_profit": {
                    "properties": {
                      "pnl": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "pnl_pct_margen": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "precio": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "entrada": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "lado": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "margen": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "nocional": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "nota": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "precio_liquidacion": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "ratio_beneficio_riesgo": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "perps",
    "liquidation",
    "position-size",
    "trading",
    "risk",
    "bazaar"
  ],
  "sourceHost": "api.vextorium.com",
  "lastUpdated": "2026-10-06T01:38:52.399Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-06T01:38:51.835Z"
  },
  "metadata": {
    "serviceName": "Vextorium",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "apalancamiento": 10,
              "entrada": 60000,
              "lado": "long",
              "margen": 100,
              "stop_loss": 57000,
              "take_profit": 66000
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "apalancamiento": 10,
              "cantidad": 0.01666667,
              "distancia_liquidacion_pct": 9.5477,
              "en_stop_loss": {
                "pnl": -50,
                "pnl_pct_margen": -50,
                "precio": 57000
              },
              "en_take_profit": {
                "pnl": 100,
                "pnl_pct_margen": 100,
                "precio": 66000
              },
              "entrada": 60000,
              "lado": "long",
              "margen": 100,
              "nocional": 1000,
              "nota": "Margen aislado, sin comisiones ni funding. Cada exchange redondea distinto: úsalo como estimación.",
              "precio_liquidacion": 54271.35678392,
              "ratio_beneficio_riesgo": 2
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "apalancamiento": {
                      "description": "Leverage (1-200)",
                      "type": "number"
                    },
                    "entrada": {
                      "description": "Entry price",
                      "type": "number"
                    },
                    "lado": {
                      "enum": [
                        "long",
                        "short"
                      ],
                      "type": "string"
                    },
                    "margen": {
                      "description": "Margin posted in USD (optional)",
                      "type": "number"
                    },
                    "margen_mantenimiento_pct": {
                      "description": "Maintenance margin % (default 0.5)",
                      "type": "number"
                    },
                    "riesgo_usd": {
                      "description": "USD to risk; with stop_loss, sizes the position",
                      "type": "number"
                    },
                    "stop_loss": {
                      "description": "Stop-loss price (optional)",
                      "type": "number"
                    },
                    "take_profit": {
                      "description": "Take-profit price (optional)",
                      "type": "number"
                    }
                  },
                  "required": [
                    "entrada",
                    "apalancamiento"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "apalancamiento": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cantidad": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "distancia_liquidacion_pct": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "en_stop_loss": {
                      "properties": {
                        "pnl": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "pnl_pct_margen": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "precio": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "en_take_profit": {
                      "properties": {
                        "pnl": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "pnl_pct_margen": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "precio": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "entrada": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lado": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "margen": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "nocional": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "nota": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "precio_liquidacion": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "ratio_beneficio_riesgo": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.vextorium.com",
    "manifest_name": "api.vextorium.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "apalancamiento": 0,
      "cantidad": 0,
      "distancia_liquidacion_pct": 0,
      "en_stop_loss": {
        "pnl": 0,
        "pnl_pct_margen": 0,
        "precio": 0
      },
      "en_take_profit": {
        "pnl": 0,
        "pnl_pct_margen": 0,
        "precio": 0
      },
      "entrada": 0,
      "lado": "string",
      "margen": 0,
      "nocional": 0,
      "nota": "string",
      "precio_liquidacion": 0,
      "ratio_beneficio_riesgo": 0
    },
    "type": "string"
  }
}