Skip to main content
The halal.sh API provides programmatic access to Shariah compliance screening for public equities and ETFs, based on AAOIFI Shari’ah Standard No. 21. Unlike providers that return a single black-box verdict, halal.sh exposes every screen, ratio, threshold, and source filing behind each determination. Every number traces back to an SEC filing and an XBRL tag.

What you can do

Screen stocks

Get the compliance status, financial-ratio screens, and business-activity screen for any analysed company.

Evidence Packets

Pull an audit-ready bundle with full provenance — accession numbers, XBRL tags, and extraction strategies for every metric.

Analyse ETFs

Get an ETF’s Shariah purity and a per-holding compliance breakdown.

Track history

Follow a company’s compliance determination across filing periods, with a stability signal.

Why halal.sh

Base URL

All requests use a single base URL, with the version in the path:

Authentication

Every request is authenticated with an API key passed in the X-API-Key header. Create a key — sandbox keys are free and instant. See Authentication for details.

Quick example

Ratios are decimals (0.020616 = 2.06%); thresholds are decimals too (0.30 = 30%). The full response also includes revenue, stability, and filing. See Get compliance screening.

Client libraries

Official SDKs are on the way. Until then, the API is plain REST and works with any HTTP client:

Get started

Create a key and make your first request in under two minutes.

Support

Questions, or a result that looks off? Get in touch.