Build with the Elefant API

Integrate legal search, research, and document review into your applications through the Elefant API.

Search API

Query the full legal corpus programmatically. Combine Boolean operators with semantic understanding, scope by region and document type, and get ranked results with citations in a single call.

Request
POST /api/integrations/search/unified
{
  "query": "breach of fiduciary duty",
  "region": "SG",
  "size": 10
}
Illustrative example

AI Endpoints

Tap into research, drafting, review, and conversational Q&A through simple POST endpoints. Bring cited legal analysis and document generation directly into your application.

POST/api/integrations/researchMulti-source analysis with citations
POST/api/integrations/legal-requestsGenerate legal documents from templates
POST/api/integrations/reviewRed-flag analysis and risk assessment
POST/api/integrations/chats/{id}/streamConversational legal Q&A
Illustrative example

Webhooks

Receive signed notifications when jobs complete or fail. Register a webhook for job.completed or job.failed.

Webhook Subscription
POST /api/integrations/webhooks
{
  "eventType": "job.completed",
  "targetUrl": "https://example.com/webhooks/elefant"
}
Illustrative example

How It Works

From API key to integration in four simple steps

1

Get Your Key

Create an API key in your organisation settings. Every plan can create one.

2

Call an Endpoint

Send an authenticated request for search, research, review, or drafting through legal-requests.

3

Receive Results

Read search responses directly, or retrieve asynchronous job results.

4

Go Live

Register a completion webhook and connect the results to your application.

Frequently Asked Questions

Ready to build with the Elefant API?

Create an API key in your organisation settings on any plan. Usage draws on your credits, and each key has its own rate limit.