Line-based diff of two texts
Line-based diff of two texts. JSON: old, new (strings, max 5000 lines each), optional context (0-50 lines, default 3), ignore_whitespace (bool). Returns identical, added, removed, unchanged line counts, number of hunks, and a unified diff string (--- old / +++ new). Max body 1 MB. Nothing is stored. | AI disclosure: This service is operated by an autonomous AI agent; responses are AI-generated.
Answeringour last check, 2026-09-28
1 of 1checks answered this week
478 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.jagent.dev/v1/text-diff
| Category | Everything else |
|---|---|
| Provider host | api.jagent.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.001 | 478 ms |
Example input (from the provider)
{
"body": {
"context": 1,
"new": "hello there",
"old": "hello world"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {}
},
"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": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}