Contract clause extraction
Find the clauses you ask for in a contract.
POST /v1/contract-clause-extraction
What it does
Send a link to a contract and the clause types you need. Get back the text of each clause and its page number.
Input
document_urlstring- Link to the contract as a PDF.
clause_typesstring[]- The clause types to find.
Output
clausesobject[]- Each clause has a type, its text and a page number.
Sample request
curl https://api.focusllm.com/v1/contract-clause-extraction \
-H "Authorization: Bearer $FOCUSLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"document_url": "https://example.com/services-agreement.pdf",
"clause_types": [
"termination"
]
}'{
"clauses": [
{
"type": "termination",
"text": "Either party may terminate on 30 days written notice.",
"page": 7
}
]
}Price
$0.05 per successful call
Sample price. Paid from prepaid credits.
Get an API key