{
  "x402Version": 2,
  "id": 37345,
  "slug": "37345",
  "resource": "https://api.vextorium.com/diferencias-texto-pago",
  "description": "Compare two texts by lines or words: similarity %, added and removed items, list of changes with positions, and a unified diff. For contract versions, prompts, configs or scraped pages.",
  "type": "http",
  "serviceName": "Vextorium",
  "resourceType": "Market Data",
  "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": {
          "anadidos": {
            "type": [
              "number",
              "null"
            ]
          },
          "cambios": {
            "items": {
              "properties": {
                "antes": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "despues": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "posicion_nueva": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "posicion_original": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "tipo": {
                  "type": [
                    "null",
                    "string"
                  ]
                }
              },
              "type": [
                "null",
                "object"
              ]
            },
            "type": [
              "array",
              "null"
            ]
          },
          "diff_unificado": {
            "type": [
              "string",
              "null"
            ]
          },
          "elementos_modificado": {
            "type": [
              "number",
              "null"
            ]
          },
          "elementos_original": {
            "type": [
              "number",
              "null"
            ]
          },
          "identicos": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "modo": {
            "type": [
              "string",
              "null"
            ]
          },
          "parecido_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "quitados": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "type": [
          "object",
          "null"
        ]
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "modificado": "Price: 12 EUR\nDelivery: 3 days\nWarranty: 2 years",
            "original": "Price: 10 EUR\nDelivery: 3 days\nWarranty: 1 year"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "anadidos": 2,
            "cambios": [
              {
                "antes": "Price: 10 EUR",
                "despues": "Price: 12 EUR",
                "posicion_nueva": 1,
                "posicion_original": 1,
                "tipo": "cambiado"
              },
              {
                "antes": "Warranty: 1 year",
                "despues": "Warranty: 2 years",
                "posicion_nueva": 3,
                "posicion_original": 3,
                "tipo": "cambiado"
              }
            ],
            "diff_unificado": "--- original\n+++ modificado\n@@ -1,3 +1,3 @@\n-Price: 10 EUR\n+Price: 12 EUR\n Delivery: 3 days\n-Warranty: 1 year\n+Warranty: 2 years",
            "elementos_modificado": 3,
            "elementos_original": 3,
            "identicos": false,
            "modo": "lineas",
            "parecido_pct": 33.33,
            "quitados": 2
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "contexto": {
                    "description": "Context lines in the unified diff (0-10)",
                    "type": "integer"
                  },
                  "modificado": {
                    "type": "string"
                  },
                  "modo": {
                    "enum": [
                      "lineas",
                      "palabras"
                    ],
                    "type": "string"
                  },
                  "original": {
                    "type": "string"
                  }
                },
                "required": [
                  "original",
                  "modificado"
                ]
              },
              "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": {
                  "anadidos": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "cambios": {
                    "items": {
                      "properties": {
                        "antes": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "despues": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "posicion_nueva": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "posicion_original": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "tipo": {
                          "type": [
                            "null",
                            "string"
                          ]
                        }
                      },
                      "type": [
                        "null",
                        "object"
                      ]
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "diff_unificado": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "elementos_modificado": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "elementos_original": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "identicos": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "modo": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parecido_pct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "quitados": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "diff",
    "compare",
    "text",
    "devtools",
    "versioning",
    "bazaar"
  ],
  "sourceHost": "api.vextorium.com",
  "lastUpdated": "2026-10-06T12:47:01.29Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-06T12:47:00.801Z"
  },
  "metadata": {
    "serviceName": "Vextorium",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "modificado": "Price: 12 EUR\nDelivery: 3 days\nWarranty: 2 years",
              "original": "Price: 10 EUR\nDelivery: 3 days\nWarranty: 1 year"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "anadidos": 2,
              "cambios": [
                {
                  "antes": "Price: 10 EUR",
                  "despues": "Price: 12 EUR",
                  "posicion_nueva": 1,
                  "posicion_original": 1,
                  "tipo": "cambiado"
                },
                {
                  "antes": "Warranty: 1 year",
                  "despues": "Warranty: 2 years",
                  "posicion_nueva": 3,
                  "posicion_original": 3,
                  "tipo": "cambiado"
                }
              ],
              "diff_unificado": "--- original\n+++ modificado\n@@ -1,3 +1,3 @@\n-Price: 10 EUR\n+Price: 12 EUR\n Delivery: 3 days\n-Warranty: 1 year\n+Warranty: 2 years",
              "elementos_modificado": 3,
              "elementos_original": 3,
              "identicos": false,
              "modo": "lineas",
              "parecido_pct": 33.33,
              "quitados": 2
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "contexto": {
                      "description": "Context lines in the unified diff (0-10)",
                      "type": "integer"
                    },
                    "modificado": {
                      "type": "string"
                    },
                    "modo": {
                      "enum": [
                        "lineas",
                        "palabras"
                      ],
                      "type": "string"
                    },
                    "original": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "original",
                    "modificado"
                  ]
                },
                "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": {
                    "anadidos": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cambios": {
                      "items": {
                        "properties": {
                          "antes": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "despues": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "posicion_nueva": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "posicion_original": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "tipo": {
                            "type": [
                              "null",
                              "string"
                            ]
                          }
                        },
                        "type": [
                          "null",
                          "object"
                        ]
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "diff_unificado": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "elementos_modificado": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "elementos_original": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "identicos": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "modo": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "parecido_pct": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "quitados": {
                      "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": {
      "anadidos": 0,
      "cambios": [
        {
          "antes": null,
          "despues": null,
          "posicion_nueva": null,
          "posicion_original": null,
          "tipo": null
        }
      ],
      "diff_unificado": "string",
      "elementos_modificado": 0,
      "elementos_original": 0,
      "identicos": true,
      "modo": "string",
      "parecido_pct": 0,
      "quitados": 0
    },
    "type": "string"
  }
}