Justinian® API: the legal reasoning engine, inside your product.
Connect your product to Justinian®, the engine behind HAQQ Legal AI. Your app sends a legal question. Justinian® works out which law applies, researches it and returns an answer your users can check, source by source.
You send a question. The engine does the legal homework.
Your user asks. Your app makes one call. Justinian® works through the question the way a lawyer would, then returns the answer with its sources.
In: your user's question
Can my employer in Dubai end my contract during probation without notice?
In any of seven languages, with documents if they matter.
Justinian® API
- 1Intent. Reads what is actually being asked and restates it as a legal task.
- 2Jurisdiction. Identifies the country, free zone and rules that govern the question.
- 3Language. Answers in the language your user wrote in. Arabic is handled as Arabic.
- 4Research. Searches the law, and any documents you attached, for what applies.
- 5Answer. Writes the answer and ties each legal claim to its source.
Out: the answer, with sources
No. Under UAE labour law, the employer must give at least 14 days' written notice to end the contract during probation.1 If the employer is in the DIFC, the DIFC Employment Law applies instead.2
- 1 UAE Federal Decree-Law No. 33 of 2021, Art. 9
- 2 DIFC Employment Law, DIFC Law No. 2 of 2019
Streamed back into your product, ready to display.
What teams ask before they connect
Hosting, languages, pricing and security. Anything else, ask us on the demo.
What is the Justinian® API?
It lets your own product use Justinian®, the legal reasoning engine behind HAQQ Legal AI. Your app sends a legal question, with documents if they matter, and gets back an answer in which every legal claim points to its source.
Who is it for?
Companies that want legal reasoning inside a product of their own: legal tech and practice management software, banks and insurers, government portals, and in-house teams building internal tools. If your lawyers simply need help with their own work, HAQQ Legal AI is ready to use with no integration.
Is it new?
No. Enterprise customers have used it in production since mid-2026. This page is the first time we describe it in public.
What can my product do with it?
Ask legal questions and stream back cited answers, keep a conversation going over several turns, attach the contracts, judgments or policies a question is about, and follow usage in credits.
Which languages and jurisdictions does it cover?
More than 200 jurisdictions, with the deepest coverage in the GCC and the wider Arab world. It answers in Arabic, English, French, Spanish, Portuguese, Italian and German, in the language the user wrote in. Arabic is handled as Arabic, not translated.
How does it decide which law applies?
Justinian® reads the question as a legal task, identifies the country, free zone and rules that govern it, and researches that law before it answers. The sources in the answer show which law it applied.
Does it make up citations?
Every legal claim in an answer is tied to a source your user can open. It can still be wrong, which is exactly why the sources are there: a professional should check them before anything reaches a client.
Where is it hosted?
By default in HAQQ's cloud. Where your data is processed is agreed with you in writing before you go live, so your legal and security teams can review it first.
Can we host it ourselves?
For institutions that cannot send data out, HAQQ Sovereign runs the engine in a sovereign cloud, in a hybrid setup or fully on premise. We scope the setup with you on the demo.
How do you handle security?
HAQQ's security programme is aligned with ISO 27001 and SOC 2 (not certified), and each integration gets its own API keys. We walk your security team through the details under NDA during evaluation.
Does it work inside our own interface?
Yes. You call the API from your own product, so your users stay in your app and your design. Answers arrive as text with their sources, for your interface to display.
Can we test before going live?
Yes. Every integration starts in a sandbox that takes test inputs only, so no client documents go in before you are ready.
How do we integrate?
It is a REST API with streamed answers, authenticated with an API key. Your engineers get the full reference when you are onboarded.
How is it priced?
Usage is charged in credits under an enterprise agreement. Book a demo and we will quote a rate for your volume.
What support do we get?
Your team works with HAQQ engineers from the first call to go-live, and keeps a named contact once you are in production.
How do we get started?
Book a demo. We look at what you want to build, set up your sandbox and stay with you until your first answer streams back.
Book a personalized HAQQ product demo
Book a tailored live walkthrough of HAQQ Legal product(s).