api.invoket.com
Compares legal documents in batch and returns their differences.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.
{
"error": "PAYMENT-SIGNATURE header is required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x4465825B0ac713aA2Fa07Ea29023020804A128ee",
"amount": "10000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 60
}
],
"resource": {
"url": "https://api.invoket.com/legal/diff/batch",
"tags": [
"compliance",
"verification",
"fraud-prevention",
"regulatory-data",
"weather"
],
"iconUrl": "https://invoket.com/apple-touch-icon.png",
"mimeType": "application/json",
"description": "Before your agent re-runs a contract review or due diligence after time has passed: a structured diff of the consolidated text — word-level segments plus a git-style unified patch — for up to 50 French or EU article references, each between its own two dates, in one call, from the official LEGI and EUR-Lex datasets. Covers 12 major French codes and statutes and key EU acts (GDPR, DSA, AI Act, MiCA and more).",
"serviceName": "Invoket"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"refs": [
{
"to": "2026-06-20",
"code": "code-civil",
"from": "2000-01-01",
"article": "1240"
},
{
"to": "2026-06-20",
"from": "2018-05-25",
"celex": "32016R0679",
"article": "17"
}
]
},
"type": "http",
"method": "POST",
"schema": {
"type": "object",
"required": [
"refs"
],
"properties": {
"refs": {
"type": "array",
"items": {
"type": "object",
"required": [
"from"
],
"properties": {
"to": {
"type": "string"
},
"code": {
"type": "string"
},
"from": {
"type": "string"
},
"article": {
"type": "string"
}
}
},
"description": "Array of article references, French ({ code, article, from, to? }) and EU ({ celex or eli, article?, from, to? }, e.g. eli=reg/2016/679/oj or the full URI http://data.europa.eu/eli/reg/2016/679/oj) mixed freely, each diffed between its own two dates. Dates use the strict ISO calendar format YYYY-MM-DD (zero-padded), and an item whose 'from' is after its 'to' is rejected with 400 INVALID_RANGE quoting its index rather than billed. Covered corpus — French law (Légifrance LEGI): Code civil, Code du travail, Code de commerce, Code pénal, Code de la consommation, Code général des impôts (CGI), Code de la sécurité sociale, Code monétaire et financier, Code de l'environnement, Code de la propriété intellectuelle, Code des assurances, plus the Data Protection Act (loi 78-17); EU law (EUR-Lex): GDPR, eIDAS, the e-Commerce Directive, the DSM copyright Directive, DSA, DMA, AI Act, MiCA and NIS2"
}
}
},
"headers": {
"accept": "application/json",
"content-type": "application/json"
},
"bodyType": "json"
},
"output": {
"type": "json",
"schema": {
"type": "object",
"required": [
"data",
"provenance"
],
"properties": {
"data": {
"type": "object",
"required": [
"count",
"results"
],
"properties": {
"count": {
"type": "integer"
},
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"coverage",
"from",
"to"
],
"properties": {
"to": {
"type": "string"
},
"eli": {
"type": "string"
},
"code": {
"type": "string"
},
"diff": {
"type": "object",
"required": [
"added",
"changed",
"removed",
"segments",
"unified"
],
"properties": {
"added": {
"type": "integer"
},
"changed": {
"type": "boolean"
},
"removed": {
"type": "integer"
},
"unified": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"op",
"text"
],
"properties": {
"op": {
"type": "string",
"description": "Word-level diff operation for this segment: 'equal', 'insert' (present only at 'to') or 'delete' (present only at 'from')"
},
"text": {
"type": "string"
}
}
}
}
}
},
"from": {
"type": "string"
},
"celex": {
"type": "string"
},
"label": {
"type": "string"
},
"article": {
"type": "string"
},
"changed": {
"type": "boolean",
"description": "Whether the consolidated text differs between this reference's two dates (false when the same version is in force at both). When false the item's diff is returned empty — no segments, empty unified patch, zero counters: the article's text itself is sold by /legal/article?date="
},
"differs": {
"type": "boolean",
"description": "changed OR status_changed OR in_force_changed — the single field to filter on to monitor a portfolio of citations: it catches a rewritten text, a repeal that left the wording untouched, and a repeal that left the status untouched too"
},
"coverage": {
"type": "object",
"required": [
"complete"
],
"properties": {
"reason": {
"type": "string",
"description": "Why this reference could not be diffed, when 'complete' is false (unknown reference, no version at either date): the item stays a successful 200 carrying only its echo and its two dates — no diff is invented"
},
"complete": {
"type": "boolean"
}
}
},
"to_version": {
"type": [
"object",
"null"
],
"required": [
"date_debut",
"etat",
"version_id"
],
"properties": {
"etat": {
"type": "string"
},
"date_fin": {
"type": "string"
},
"continuity": {
"type": "string"
},
"date_debut": {
"type": "string"
},
"version_id": {
"type": "string"
}
},
"description": "Version retained at this reference's 'to' date, or null if none — the diff then shows a full deletion. 'date_fin' closes the version (absent while it is still open) and 'continuity' tells whether the article number kept designating the same text across the change ('same_article') or was renumbered ('renumbered') - French law only"
},
"to_in_force": {
"type": "boolean"
},
"from_version": {
"type": [
"object",
"null"
],
"required": [
"date_debut",
"etat",
"version_id"
],
"properties": {
"etat": {
"type": "string"
},
"date_fin": {
"type": "string"
},
"continuity": {
"type": "string"
},
"date_debut": {
"type": "string"
},
"version_id": {
"type": "string"
}
},
"description": "Version in force at this reference's 'from' date, or null if none — the diff then shows a full insertion. 'date_fin' closes the version (absent while it is still open) and 'continuity' tells whether the article number kept designating the same text across the change ('same_article') or was renumbered ('renumbered') - French law only"
},
"from_in_force": {
"type": "boolean"
},
"status_changed": {
"type": "boolean",
"description": "Whether the legal status (etat) differs between this reference's two dates — true on a repeal that keeps the last known wording, where 'changed' stays false, and whenever only one of the two dates has a version at all"
},
"coverage_window": {
"type": "object",
"description": "Period over which this text or act is actually queryable: from (inclusive) and to (exclusive, null when open)"
},
"in_force_changed": {
"type": "boolean",
"description": "Whether the text stopped (or started) being the applicable law between this reference's two dates — the only flag that fires on a French-style repeal, where both dates resolve to the same version and both 'changed' and 'status_changed' stay false"
},
"renumbering_suspected": {
"type": "boolean",
"description": "Whether a renumbering break falls between this reference's two dates: the article number stopped designating one text and started designating another, so the diff describes a change that never happened. The diff itself is unchanged and this flag stays out of 'differs' — it is a warning about how to read the diff. Always false for EU law"
}
}
}
}
}
},
"provenance": {
"type": "object",
"required": [
"fetched_at",
"freshness",
"source"
],
"properties": {
"source": {
"type": "string"
},
"freshness": {
"type": "object",
"required": [
"as_of",
"kind"
],
"properties": {
"kind": {
"type": "string"
},
"as_of": {
"type": "string"
}
}
},
"fetched_at": {
"type": "string"
}
}
}
}
},
"example": {
"data": {
"count": 2,
"results": [
{
"to": "2026-06-20",
"code": "code-civil",
"diff": {
"added": 0,
"changed": true,
"removed": 3,
"unified": "@@ -1 +1 @@\n-Tout fait quelconque de l'homme, qui cause à autrui un dommage, oblige celui par la faute duquel il est arrivé à le réparer. (ancien article 1382)\n\\ No newline at end of file\n+Tout fait quelconque de l'homme, qui cause à autrui un dommage, oblige celui par la faute duquel il est arrivé à le réparer.\n\\ No newline at end of file\n",
"segments": [
{
"op": "equal",
"text": "Tout fait quelconque de l'homme, qui cause à autrui un dommage, oblige celui par la faute duquel il est arrivé à le réparer."
},
{
"op": "delete",
"text": " (ancien article 1382)"
}
]
},
"from": "2000-01-01",
"label": "Code civil, art. 1240",
"article": "1240",
"changed": true,
"differs": true,
"coverage": {
"complete": true
},
"to_version": {
"etat": "vigueur",
"date_debut": "2016-10-01",
"version_id": "LEGIARTI000032041571"
},
"to_in_force": true,
"from_version": {
"etat": "modifie",
"date_fin": "2016-10-01",
"date_debut": "1804-03-21",
"version_id": "LEGIARTI000006419278"
},
"from_in_force": true,
"status_changed": true,
"in_force_changed": false
},
{
"to": "2026-06-20",
"diff": {
"added": 0,
"changed": false,
"removed": 0,
"unified": "",
"segments": []
},
"from": "2018-05-25",
"celex": "32016R0679",
"label": "Règlement (UE) 2016/679 (RGPD), art. 17 — Droit à l'effacement",
"article": "17",
"changed": false,
"differs": false,
"coverage": {
"complete": true
},
"to_version": {
"etat": "vigueur",
"date_debut": "2018-05-25",
"version_id": "32016R0679-art-17-v1"
},
"to_in_force": true,
"from_version": {
"etat": "vigueur",
"date_debut": "2018-05-25",
"version_id": "32016R0679-art-17-v1"
},
"from_in_force": true,
"status_changed": false,
"in_force_changed": false
}
]
},
"provenance": {
"source": "DILA — base LEGI ; EUR-Lex / Cellar — droit consolidé",
"freshness": {
"kind": "snapshot",
"as_of": "2026-06-01T00:00:00Z"
},
"fetched_at": "2026-06-16T09:30:00Z"
}
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"required": [
"refs"
],
"properties": {
"refs": {
"type": "array",
"items": {
"type": "object",
"required": [
"from"
],
"properties": {
"to": {
"type": "string"
},
"code": {
"type": "string"
},
"from": {
"type": "string"
},
"article": {
"type": "string"
}
}
},
"description": "Array of article references, French ({ code, article, from, to? }) and EU ({ celex or eli, article?, from, to? }, e.g. eli=reg/2016/679/oj or the full URI http://data.europa.eu/eli/reg/2016/679/oj) mixed freely, each diffed between its own two dates. Dates use the strict ISO calendar format YYYY-MM-DD (zero-padded), and an item whose 'from' is after its 'to' is rejected with 400 INVALID_RANGE quoting its index rather than billed. Covered corpus — French law (Légifrance LEGI): Code civil, Code du travail, Code de commerce, Code pénal, Code de la consommation, Code général des impôts (CGI), Code de la sécurité sociale, Code monétaire et financier, Code de l'environnement, Code de la propriété intellectuelle, Code des assurances, plus the Data Protection Act (loi 78-17); EU law (EUR-Lex): GDPR, eIDAS, the e-Commerce Directive, the DSM copyright Directive, DSA, DMA, AI Act, MiCA and NIS2"
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"schema": {
"type": "object"
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"queryParams": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.015 USDC on Base to 0x4465…128ee. The signed payment is good for 1 minute.
- Paid to
- 0x4465…128ee
- USD Coin contract
- 0x8335…02913
- Payment window
- 1 minute
- As published
- 15000 smallest units
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x4465825B0ac713aA2Fa07Ea29023020804A128ee",
"amount": "15000",
"scheme": "exact",
"network": "eip155:8453",
"resource": "https://api.invoket.com/legal/diff/batch",
"maxTimeoutSeconds": 60
}
]Provenance
- Seen in the source catalog
- 2026-09-23 20:14Z
- Last indexed by Roundhouse
- 2026-09-24 07:15Z
- Last enriched (probe, favicon, geo)
- 2026-09-10 03:45Z
- x402 version
- 2
- Max timeout
- 60s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 32 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service api.invoket.com and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=api.invoket.com' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://api.invoket.com/legal/diff/batch, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402, or use an organization key from https://roundhouseai.io/dashboard/team. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.