Processing a legal agreement should be fast, easy, and reliable.

Our APIs reduce the full process to under a second.

herein-api — curl 200 OK · 640ms
$ curl https://api.herein.io/v1/credit-agreements \
  -H "Authorization: Bearer $HEREIN_TOKEN" \
  -F "file=@senior-facilities-agreement.pdf"

{
  "document": {
    "title": "Senior Facilities Agreement",
    "governing_law": "England and Wales"
  },
  "parties": [
    {
      "name": "Borrower Holdings Ltd",
      "roles": ["borrower"]
    },
    {
      "name": "Alpine Guarantee Corp",
      "roles": ["guarantor"]
    }
  ],
  "facilities": [
    {
      "id": "f1",
      "type": "term",
      "total_commitment": {
        "amount": "250000000.00",
        "currency": "EUR"
      },
      "interest": {
        "base_rate": "euribor",
        "spread_bps": 325
      }
    }
  ]
}
  1. 01

    Select the API relevant to your contract type.

  2. 02

    Upload a list of contracts.

  3. 03

    Receive the results, ready to integrate with your workflows.

Whether you are a bank, lawyer, loan administration provider, our AI powered solutions work for any entity who deals with handling complex legal agreements.

We use a specialised AI model to parse raw bytes into valid, structured information.

Example: Credit Agreements

Input

  • PDF senior-facilities-agreement.pdf digital
  • PDF revolving-credit-facility.pdf digital
  • PDF amendment-and-restatement.pdf scanned
AI model

Output

Structured JSON — parties, facilities, dates, all typed and ready to use. See it live ↑

Sign in and view our Developer Docs for the full schema.

We can't see your contracts

Your contracts aren't saved in a database, we can't even access the processes which are running on the machine so your data is hidden from us.

The system is split into three planes. Your documents only ever exist in one of them, and it is the one nobody can reach — including us.

Control plane

Accounts, tokens and billing.

  • Holds the only database
  • Records page counts and timings
  • Never receives a document

Data plane

Where your contracts are read.

  • No database
  • No disk — memory only
  • No route to the internet
  • No shell to log in to

We have no way in.

Enrichment plane

Market rates.

  • Sees a currency, a rate and a date
  • Never sees a document
  • Never sees who you are lending to

Need something bespoke?

Every business is different.

  • You may not have a team of developers who are comfortable integrating REST APIs in your system.
  • You may want a solution which integrates with your CRM and other existing systems.
  • You may work with a different form of legal contract.

Thankfully we specialise in the integration and building of automated solutions for processing complex legal agreements.

Enquire with a time and we can book in a call to discuss what would work best for you.