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.

What the API Does

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:

  • OpenAI-compatible interface (
    1/v1/chat/completions
    )
  • Streaming and non-streaming responses
  • Per-request usage tracking and billing
  • Rate limiting with configurable quotas

If your application already uses OpenAI's API, switching to LexAmp requires minimal code changes—just update the base URL and API key.

Use Cases

The API is designed for applications where users need legal information but aren't necessarily seeking a lawyer. Examples include:

  • HR platforms answering employment law questions
  • Real estate tools explaining lease terms
  • Fintech apps clarifying regulatory requirements
  • Customer support systems handling legal FAQs

Getting Started

  1. Create an account at lexamp.net
  2. Enable Developer Mode in Settings > Developer
  3. Generate an API key from your Developer Dashboard
  4. Make requests to
    1https://lexamp.net/v1/chat/completions

Full documentation: lexamp.net/docs/api

Pricing

ItemPrice
Input tokens$8 / million tokens
Output tokens$25 / million tokens
Legal database search$0.005 / request

Rate limits vary by tier:

TierRequests/minUsage
Free10100 requests/month
Starter60Pay as you go
Pro300Pay as you go
EnterpriseCustomPay as you go

Example

python
1import 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:

bash
1curl 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  }'

Limitations

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.

Support

Technical questions: [email protected]


Amplimit Inc. | Toronto, Canada