{
  "x402Version": 2,
  "id": 37365,
  "slug": "37365",
  "resource": "https://api.vextorium.com/calcular-fechas-pago",
  "description": "Date facts (weekday, ISO week, quarter, day of year, leap year), exact difference between two dates in years, months, days, weeks and Mon-Fri working days, and adding or subtracting days, months or years (end-of-month safe).",
  "type": "http",
  "serviceName": "Vextorium",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "3000",
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "3000",
      "maxTimeoutSeconds": 604900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "diferencia": {
            "properties": {
              "anios": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "dias": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "dias_totales": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "hasta": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "laborables_lun_vie": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "meses": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "semanas": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "fecha": {
            "properties": {
              "anio_iso": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "bisiesto": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "dia_del_anio": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "dia_semana": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dias_del_mes": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "fecha": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "fin_de_semana": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "semana_iso": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "trimestre": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "resultado": {
            "properties": {
              "anio_iso": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "bisiesto": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "dia_del_anio": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "dia_semana": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "dias_del_mes": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "fecha": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "fin_de_semana": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "semana_iso": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "trimestre": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "type": [
              "object",
              "null"
            ]
          }
        },
        "type": [
          "object",
          "null"
        ]
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "fecha": "2024-02-29",
            "hasta": "2026-10-02",
            "sumar_meses": 12
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "diferencia": {
              "anios": 2,
              "dias": 4,
              "dias_totales": 946,
              "hasta": "2026-10-02",
              "laborables_lun_vie": 676,
              "meses": 7,
              "semanas": 135.14
            },
            "fecha": {
              "anio_iso": 2024,
              "bisiesto": true,
              "dia_del_anio": 60,
              "dia_semana": "Thursday",
              "dias_del_mes": 29,
              "fecha": "2024-02-29",
              "fin_de_semana": false,
              "semana_iso": 9,
              "trimestre": 1
            },
            "resultado": {
              "anio_iso": 2025,
              "bisiesto": false,
              "dia_del_anio": 59,
              "dia_semana": "Friday",
              "dias_del_mes": 28,
              "fecha": "2025-02-28",
              "fin_de_semana": false,
              "semana_iso": 9,
              "trimestre": 1
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "fecha": {
                    "description": "Date YYYY-MM-DD",
                    "type": "string"
                  },
                  "hasta": {
                    "description": "Second date for the difference (optional)",
                    "type": "string"
                  },
                  "sumar_anios": {
                    "type": "integer"
                  },
                  "sumar_dias": {
                    "type": "integer"
                  },
                  "sumar_meses": {
                    "type": "integer"
                  }
                },
                "required": [
                  "fecha"
                ]
              },
              "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": {
                  "diferencia": {
                    "properties": {
                      "anios": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "dias": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "dias_totales": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "hasta": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "laborables_lun_vie": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "meses": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "semanas": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "fecha": {
                    "properties": {
                      "anio_iso": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "bisiesto": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "dia_del_anio": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "dia_semana": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dias_del_mes": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "fecha": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "fin_de_semana": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "semana_iso": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "trimestre": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "resultado": {
                    "properties": {
                      "anio_iso": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "bisiesto": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "dia_del_anio": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "dia_semana": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dias_del_mes": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "fecha": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "fin_de_semana": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "semana_iso": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "trimestre": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "date",
    "calendar",
    "iso-week",
    "duration",
    "scheduling",
    "bazaar"
  ],
  "sourceHost": "api.vextorium.com",
  "lastUpdated": "2026-10-06T11:51:53.789Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-06T11:51:53.32Z"
  },
  "metadata": {
    "serviceName": "Vextorium",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "fecha": "2024-02-29",
              "hasta": "2026-10-02",
              "sumar_meses": 12
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "diferencia": {
                "anios": 2,
                "dias": 4,
                "dias_totales": 946,
                "hasta": "2026-10-02",
                "laborables_lun_vie": 676,
                "meses": 7,
                "semanas": 135.14
              },
              "fecha": {
                "anio_iso": 2024,
                "bisiesto": true,
                "dia_del_anio": 60,
                "dia_semana": "Thursday",
                "dias_del_mes": 29,
                "fecha": "2024-02-29",
                "fin_de_semana": false,
                "semana_iso": 9,
                "trimestre": 1
              },
              "resultado": {
                "anio_iso": 2025,
                "bisiesto": false,
                "dia_del_anio": 59,
                "dia_semana": "Friday",
                "dias_del_mes": 28,
                "fecha": "2025-02-28",
                "fin_de_semana": false,
                "semana_iso": 9,
                "trimestre": 1
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "fecha": {
                      "description": "Date YYYY-MM-DD",
                      "type": "string"
                    },
                    "hasta": {
                      "description": "Second date for the difference (optional)",
                      "type": "string"
                    },
                    "sumar_anios": {
                      "type": "integer"
                    },
                    "sumar_dias": {
                      "type": "integer"
                    },
                    "sumar_meses": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "fecha"
                  ]
                },
                "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": {
                    "diferencia": {
                      "properties": {
                        "anios": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "dias": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "dias_totales": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "hasta": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "laborables_lun_vie": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "meses": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "semanas": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "fecha": {
                      "properties": {
                        "anio_iso": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "bisiesto": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "dia_del_anio": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "dia_semana": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "dias_del_mes": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "fecha": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "fin_de_semana": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "semana_iso": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "trimestre": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "resultado": {
                      "properties": {
                        "anio_iso": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "bisiesto": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "dia_del_anio": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "dia_semana": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "dias_del_mes": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "fecha": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "fin_de_semana": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "semana_iso": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "trimestre": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "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": {
      "diferencia": {
        "anios": 0,
        "dias": 0,
        "dias_totales": 0,
        "hasta": "string",
        "laborables_lun_vie": 0,
        "meses": 0,
        "semanas": 0
      },
      "fecha": {
        "anio_iso": 0,
        "bisiesto": true,
        "dia_del_anio": 0,
        "dia_semana": "string",
        "dias_del_mes": 0,
        "fecha": "string",
        "fin_de_semana": true,
        "semana_iso": 0,
        "trimestre": 0
      },
      "resultado": {
        "anio_iso": 0,
        "bisiesto": true,
        "dia_del_anio": 0,
        "dia_semana": "string",
        "dias_del_mes": 0,
        "fecha": "string",
        "fin_de_semana": true,
        "semana_iso": 0,
        "trimestre": 0
      }
    },
    "type": "string"
  }
}