API Acre
Compare two texts and return structured line additions, removals, and a unified diff.
Offering
- Provider
- apiacre.com
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Development
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://apiacre.com/v1/document/diff- MIME type
- Not provided
- First seen
- 2026-10-16T01:50:19.913Z
- Last seen
- Tags
- documents, Data, document, diff, compare
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"payTo": "0xa0BFa4f07281c9b248DC3AED2217836BcA24869B"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"payTo": "B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan"
}
]Observed health
- Status
- Reachable
- Latest latency
- 984 ms
- Average latency
- 762 ms
- HTTP status
- 405
- Last checked
- Reachability
- 100% over 13 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"after": {
"maxLength": 500000,
"title": "After",
"type": "string"
},
"before": {
"maxLength": 500000,
"title": "Before",
"type": "string"
},
"context_lines": {
"default": 3,
"maximum": 20,
"minimum": 0,
"title": "Context Lines",
"type": "integer"
}
},
"required": [
"before",
"after"
],
"title": "DiffInput",
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}Output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"after": {
"maxLength": 500000,
"title": "After",
"type": "string"
},
"before": {
"maxLength": 500000,
"title": "Before",
"type": "string"
},
"context_lines": {
"default": 3,
"maximum": 20,
"minimum": 0,
"title": "Context Lines",
"type": "integer"
}
},
"required": [
"before",
"after"
],
"title": "DiffInput",
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {
"description": "Structured Document diff result",
"properties": {
"added": {
"type": "integer"
},
"changed": {
"type": "boolean"
},
"diff": {
"type": "string"
},
"removed": {
"type": "integer"
}
},
"type": "object"
},
"meta": {
"properties": {
"cached": {
"type": "boolean"
},
"duration_ms": {
"minimum": 0,
"type": "integer"
},
"next_actions": {
"description": "Optional separately priced follow-up calls. Each action requires a new payment challenge and explicit buyer authorization.",
"items": {
"properties": {
"authorization_required": {
"const": true,
"type": "boolean"
},
"checkout_path": {
"pattern": "^/try/",
"type": "string"
},
"executes_automatically": {
"const": false,
"type": "boolean"
},
"handoff_path": {
"description": "Free full contract and spend-capped command handoff; reading it does not execute or purchase the follow-up.",
"pattern": "^/catalog/",
"type": "string"
},
"handoff_payment_required": {
"const": false,
"type": "boolean"
},
"input_template": {
"description": "Client-side template only: $request refers to the original input, $result to this response, and $json(...) serializes its argument. The server does not execute the follow-up.",
"type": "object"
},
"maximum_atomic_usdc": {
"pattern": "^[1-9][0-9]*$",
"type": "string"
},
"method": {
"const": "POST",
"type": "string"
},
"path": {
"pattern": "^/v1/",
"type": "string"
},
"price": {
"pattern": "^\\$[0-9]+",
"type": "string"
},
"reason": {
"type": "string"
},
"sample_path": {
"pattern": "^/samples/",
"type": [
"string",
"null"
]
},
"service": {
"type": "string"
},
"title": {
"type": "string"
},
"use_output": {
"type": "string"
}
},
"required": [
"service",
"title",
"reason",
"method",
"path",
"price",
"input_template",
"use_output",
"handoff_path",
"checkout_path",
"sample_path",
"maximum_atomic_usdc",
"handoff_payment_required",
"executes_automatically",
"authorization_required"
],
"type": "object"
},
"type": "array"
},
"sources": {
"items": {
"type": "string"
},
"type": "array"
},
"warnings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"duration_ms",
"cached",
"sources",
"warnings",
"next_actions"
],
"type": "object"
},
"request_id": {
"description": "Unique request identifier",
"type": "string"
},
"service": {
"const": "document.diff",
"type": "string"
},
"version": {
"const": "1",
"type": "string"
}
},
"required": [
"request_id",
"service",
"version",
"data",
"meta"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}