
Today we open the LexAmp API to developers. If you're building applications that need legal information capabilities, you can now integrate our AI Legal ChatBox directly.
The API exposes the same Legal RAG system that powers our consumer chatbot. It searches Canadian and U.S. legal databases, compares laws across jurisdictions, and retrieves specific legal documents—all through a single endpoint.
Key features:
1/v1/chat/completionsIf your application already uses OpenAI's API, switching to LexAmp requires minimal code changes—just update the base URL and API key.
The API is designed for applications where users need legal information but aren't necessarily seeking a lawyer. Examples include:
1https://lexamp.net/v1/chat/completionsFull documentation: lexamp.net/docs/api
| Item | Price |
|---|---|
| Input tokens | $8 / million tokens |
| Output tokens | $25 / million tokens |
| Legal database search | $0.005 / request |
Rate limits vary by tier:
| Tier | Requests/min | Usage |
|---|---|---|
| Free | 10 | 100 requests/month |
| Starter | 60 | Pay as you go |
| Pro | 300 | Pay as you go |
| Enterprise | Custom | Pay as you go |
python1import openai 2 3client = openai.OpenAI( 4 base_url="https://lexamp.net/v1", 5 api_key="your-api-key" 6) 7 8response = client.chat.completions.create( 9 model="legal-rag", 10 messages=[ 11 {"role": "user", "content": "What are the notice requirements for ending a month-to-month tenancy in Ontario?"} 12 ] 13) 14 15print(response.choices[0].message.content)
Or with cURL:
bash1curl https://lexamp.net/v1/chat/completions \ 2 -H "Authorization: Bearer your-api-key" \ 3 -H "Content-Type: application/json" \ 4 -d '{ 5 "model": "legal-rag", 6 "messages": [{"role": "user", "content": "What are the notice requirements for ending a month-to-month tenancy in Ontario?"}] 7 }'
The same constraints that apply to our consumer product apply to the API. The system provides legal information, not legal advice. It covers Canadian and U.S. law only. For complex matters or other jurisdictions, users should consult licensed attorneys.
If you're building a product that might be mistaken for legal advice, you're responsible for appropriate disclaimers and user expectations.
Technical questions: [email protected]
Amplimit Inc. | Toronto, Canada