Skip to content
Fourohtwo

verdict.kechlab.com/v1/extract

An agent has a text (email, invoice, listing, web page, contract) and the list of fields it wants out of it: it gets JSON in the requested shape, one value and one quote per field, or null when the text does not say. Code then checks that every quote is really in the text and flags those that are no

BaseAnswering
POSThttps://verdict.kechlab.com/v1/extract

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://verdict.kechlab.com/v1/extract", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"fields":{"due_in_days":"the payment delay in days","iban":"the IBAN to pay to","invoice_number":"the invoice reference","total":"the total amount due with its currency"},"text":"Invoice 2024-117 from Acme SARL, issued 12 March 2024. Total due: 1,250.00 EUR, payable within 30 days."}),
});
console.log(await res.json());

Example input

{
  "fields": {
    "due_in_days": "the payment delay in days",
    "iban": "the IBAN to pay to",
    "invoice_number": "the invoice reference",
    "total": "the total amount due with its currency"
  },
  "text": "Invoice 2024-117 from Acme SARL, issued 12 March 2024. Total due: 1,250.00 EUR, payable within 30 days."
}

More from Verdict 402Provider status