Screen Symbol
Screen a single symbol for Shariah compliance.
Performs a full Shariah compliance analysis on the given ticker, including business activity screening and financial ratio checks against AAOIFI, DJIM, FTSE, MSCI, and S&P methodologies.
Both GET and POST are accepted; POST is canonical and appears in all examples, while GET is provided as a forgiveness alias so clients that intuitively reach for GET (a common mistake) succeed instead of receiving 405. There is no request body on either method; the only input is the path parameter.
Costs 5 tokens per call. Results are cached for 7 days: a call within that window returns the cached verdict (still 5 tokens — use GET /api/result/{symbol} at 1 token if the cache is all you need). Pass ?force_refresh=true to bypass the cache and re-run the full screen — useful after a methodology code change or upstream financial-data correction. Defaults to false so normal traffic remains served from cache. force_refresh is honored on Enterprise plans only; on other plans it is accepted and has no effect, and a verdict older than 7 days is recomputed automatically. A recomputed verdict carries a new last_checked_at. A first-ever screen of an uncached symbol performs live data collection and can take several seconds; subsequent calls are fast.
curl example:
curl -X POST "https://api.halalterminal.com/api/screen/AAPL" \
-H "X-API-Key: <API_KEY>"
Python requests example:
import requests
resp = requests.post(
"https://api.halalterminal.com/api/screen/AAPL",
headers={"X-API-Key": "<API_KEY>"},
)
print(resp.json())
Request
- Base URL: https://api.halalterminal.com
- URL: https://api.halalterminal.com/api/screen/{symbol}
- Auth: API key in header X-API-Key
Path parameters
Ticker symbol, e.g. AAPL.
Query parameters
Bypass the 7-day result cache and recompute a fresh verdict. Enterprise plans only: on other plans the parameter is accepted and has no effect.
Response
Freshly computed Shariah compliance screening result
Example response
{
"aaoifi_compliant": true,
"accounts_receivable": 60932000000,
"accounts_receivable_to_assets_ratio": 0.173,
"business_screen_pass": true,
"business_screen_reason": "Technology hardware and equipment — permissible primary activity",
"cash_and_equivalents": 29965000000,
"cash_to_assets_ratio": 0.085,
"cash_to_market_cap_ratio": 0.009,
"country": "US",
"debt_to_assets_ratio": 0.315,
"debt_to_market_cap_ratio": 0.032,
"djim_compliant": true,
"financial_screen_pass": true,
"ftse_compliant": true,
"industry": "Consumer Electronics",
"interest_income": 3999000000,
"interest_income_to_revenue_ratio": 0.01,
"is_compliant": true,
"last_checked_at": "2025-01-15T12:30:00Z",
"methodology_summary": {
"aaoifi": true,
"djim": true,
"ftse": true,
"msci": true,
"sp": true
},
"msci_compliant": true,
"purification_rate": 0.012,
"sector": "Technology",
"sp_compliant": true,
"symbol": "AAPL",
"total_assets": 352583000000,
"total_debt": 111088000000,
"total_revenue": 394328000000
}Changes
No recorded changes to this operation across all 1 revision of this API.