Monitoring
Regulatory Monitoring and Horizon Scanning
Get alerted when new legislation, case law, or enforcement actions are published that affect your domain.
Built by: Compliance SaaS products, legal publishers, consulting firms, in-house regulatory affairs
The problem
Regulatory landscapes change constantly. New court rulings reinterpret existing law. Directives get transposed into national legislation. Data protection authorities issue enforcement decisions. Competition regulators publish new guidance.
For compliance teams, legal publishers, and regulatory affairs departments, missing a relevant development is not just an inconvenience; it is a business risk.
Manually checking court databases and official gazettes across multiple jurisdictions every day is unsustainable, yet that is exactly what most organizations still rely on.
How the API powers it
The keyword search endpoint with sort_type set to 1 (newest first) and date range filters gives you a clean feed of new documents published since your last check.
Run a query scoped to your target jurisdictions with from_date set to yesterday, and you get back every new document matching your criteria, sorted by publication date.
Add the facets parameter to get aggregate counts by jurisdiction, document type, and source, so your users see at a glance: "3 new CJEU rulings, 2 new Dutch legislative changes, and 1 German Bundeskartellamt decision this week." Schedule this query to run daily via a cron job or serverless function and you have a complete monitoring system.
The integration pattern
The filter endpoints are essential for building a configurable monitoring product.
Use the jurisdictions and portals endpoint to let users select which countries to monitor. Use the document types endpoint to let them choose between case law, legislation, or regulatory decisions. Use the fields of law endpoint to scope monitoring to specific legal domains.
Each filter returns hierarchical data with document counts, so you can build dynamic filter UIs that show users exactly how many documents exist in each category. Combine this with the document retrieval endpoint to automatically generate digests with AI summaries of each new document, and you have a production-grade horizon scanning tool.
Key endpoints
Example request
curl -X POST "https://api.moonlit.ai/v1.1/search/keyword_search" \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "\"artificial intelligence\"",
"jurisdictions": ["European Union", "Netherlands"],
"from_date": "2026-04-10",
"until_date": "2026-04-17",
"sort_type": 1,
"num_results": 20,
"facets": true
}'