Akinda API Reference

API Documentation

Integrate Akinda's proprietary Shariah compliance data into your application. All endpoints are REST over HTTPS, return JSON, and are authenticated with a single API key.

Authentication

Universal Endpoint URL

https://b2b-api.akinda.io/api/v1/{api_endpoint}/{ticker}?apikey={api_key}

Substitute {api_endpoint} with one of compliance, basic-report, or full-report; {ticker} with an uppercase stock symbol (e.g. AAPL); and {api_key} with your Akinda API key from the API Keys dashboard.

Query param: ?apikey=YOUR_KEY  |   Header: X-API-Key: YOUR_KEY

Rate Limits & Bandwidth

TierRateBandwidthEndpoints
Basic Free250 / day1 GB / mo/compliance
Personal Standard 300 / min30 GB / mo/compliance/basic-report
Personal Ultimate 2,000 / min150 GB / mo/compliance/basic-report/full-report
Business Standard 1,000 / min300 GB / mo/compliance/basic-report
Business Ultimate 3,000 / min200 GB / mo/compliance/basic-report/full-report
Business Enterprise UnlimitedUnlimitedAll endpoints

License and Usage

Personal Use License

For individual developers, students, and personal research projects. Bundled with every Personal-tier plan (Basic, Standard, Ultimate).

  • Use in non-commercial apps, dashboards, and scripts.
  • No attribution required.
  • You may not redistribute the raw response data as a competing dataset.

Commercial Use License

For companies embedding Akinda data inside a product, paid SaaS, or B2B integration. Bundled with every Business-tier plan (Standard, Ultimate, Enterprise).

  • Required for any monetised app, paid feature, or partner integration.
  • Enterprise customers can negotiate custom SLA, dedicated support, and multi-country market access.
  • Contact sales@akinda.com for redistribution rights.

Use Cases

Shariah-compliant stock screener

Filter the broad market by halal_status so only compliant tickers surface in your screener or watchlist.

Halal / haram badges in a finance app

Hit /compliance on every quote render to attach a real-time status badge next to each ticker.

Purification calculations

Use non_compliant_revenue_perc and the dollar counterparts to compute the exact purification amount for portfolio holdings.

Institutional compliance audits

Pull full reports across a portfolio nightly; flag any ticker whose ratios cross the AAOIFI thresholds.

1. Shariah Compliance Status — /COMPLIANCE

Available to all tiers. The fastest halal / non-halal verdict — send a ticker, get a single AAOIFI-aligned status string back. Use it in search bars, watchlists, and live-feed filters where you just need a yes-or-no answer.

Endpoint

https://b2b-api.akinda.io/api/v1/compliance/AAPL?apikey=YOUR_API_KEY
ParameterTypeDescription
ticker *stringUppercase ticker symbol (path param). Example: AAPL.
apikey *stringYour Akinda API key (query param or X-API-Key header).
FieldTypeDescription
tickerstringUppercase ticker symbol echoed back from the request
company_namestringFull legal company name
halal_statusstringOne of HALAL, DOUBTFUL, or HARAM
Response — /compliance
1
2
3
4
5
{
  "ticker": "AAPL",
  "company_name": "Apple Inc.",
  "halal_status": "HALAL"
}

2. Basic Shariah Compliance Report — /BASIC-REPORT

Requires Personal Standard tier or above. Returns the three core AAOIFI ratios on top of the compliance status — everything you need to display a transparent screening breakdown.

Endpoint

https://b2b-api.akinda.io/api/v1/basic-report/AAPL?apikey=YOUR_API_KEY
ParameterTypeDescription
ticker *stringUppercase ticker symbol (path param). Example: AAPL.
apikey *stringYour Akinda API key (query param or X-API-Key header).
FieldTypeDescription
tickerstringUppercase ticker symbol
company_namestringFull legal company name
halal_statusstringHALAL, DOUBTFUL, or HARAM
debt_ratio_percfloatInterest-bearing debt as % of total assets
liquidity_ratio_percfloatCash & equivalents as % of total assets
non_compliant_revenue_percfloatNon-compliant (impermissible) revenue as % of total revenue
Response — /basic-report
1
2
3
4
5
6
7
8
{
  "ticker": "AAPL",
  "company_name": "Apple Inc.",
  "halal_status": "HALAL",
  "debt_ratio_perc": 3.07,
  "liquidity_ratio_perc": 1.70,
  "non_compliant_revenue_perc": 0
}

3. Full Shariah Compliance Report — /FULL-REPORT

Requires Personal Ultimate tier or above. Adds AI-extracted SEC filing analysis, USD dollar amounts for every ratio, doubtful / compliant revenue pairs, and per-source revenue breakdowns. This is the full payload behind every stock detail page on the Akinda dashboard.

Endpoint

https://b2b-api.akinda.io/api/v1/full-report/AAPL?apikey=YOUR_API_KEY
ParameterTypeDescription
ticker *stringUppercase ticker symbol (path param). Example: AAPL.
apikey *stringYour Akinda API key (query param or X-API-Key header).
FieldTypeDescription
tickerstringUppercase ticker symbol
company_namestringFull legal company name
halal_statusstringHALAL, DOUBTFUL, or HARAM
halal_ratingintShariah compliance score 1–10 (AI-derived)
debt_ratio_percfloatInterest-bearing debt as % of total assets
liquidity_ratio_percfloatCash & equivalents as % of total assets
non_compliant_revenue_percfloatNon-compliant revenue as % of total revenue
interest_debtint64AI-extracted interest-bearing debt from SEC filings (USD)
prohibited_revenueint64AI-extracted prohibited revenue amount (USD)
operating_leaseint64AI-extracted operating lease obligations (USD)
last_scannedstringISO-8601 timestamp of the last AI scan (e.g. 2026-03-14T04:49:00Z)
debt_ratio_dollarfloat | nullTotal interest-bearing debt in USD. null until the daily-updater microservice has computed it for this ticker.
liquidity_ratio_dollarfloat | nullTotal liquid-asset position in USD. null until computed.
non_compliant_revenue_dollarfloat | nullNon-compliant revenue in USD. null until computed.
doubtful_revenue_percfloat | nullDoubtful-source revenue as % of market cap. null until computed.
doubtful_revenue_dollarfloat | nullDoubtful-source revenue in USD. null until computed.
compliant_revenue_percfloat | nullHalal (compliant) income as % of market cap. null until computed.
compliant_revenue_dollarfloat | nullHalal income in USD. null until computed.
halal_revenue_sourceSource[] | nullPer-source breakdown of halal revenue. null = breakdown not extracted yet; [] = breakdown ran and found none. Element shape below.
non_compliant_revenue_sourceSource[] | nullPer-source breakdown of non-compliant revenue. Same null / [] semantics as above.
doubtful_revenue_sourceSource[] | nullPer-source breakdown of doubtful revenue. Same null / [] semantics as above.

Field notes — interest_debt, prohibited_revenue, operating_lease

These three USD totals are extracted by an AI pipeline that reads SEC filings. In rare cases, a 0 value may indicate that the extraction missed the underlying number rather than the company genuinely having zero of that quantity.

When 0 is likely the real number

  • Small or pure-play companies with clear absence of these categories
  • Halal-classified consumer goods, technology services, or software firms
  • Tickers where halal_status = HALAL and other dollar fields are consistent (e.g., very low debt_ratio_dollar)

When 0 may be an extraction miss

  • Large-cap companies known to carry significant debt or operating leases
  • debt_ratio_dollar or liquidity_ratio_dollar are populated with large values but these three return 0
  • The ticker's halal_status is DOUBTFUL or NOT HALAL but all three legacy fields are 0

Reliable cross-references

FieldWhy
debt_ratio_dollar, liquidity_ratio_dollar, non_compliant_revenue_dollarEmit JSON null (not 0) when uncomputed — stricter null semantics
last_scannedConfirms when the ticker was last processed
halal_status + halal_ratingDraw on a broader input set than these three fields alone

For automated compliance workflows, treat the three legacy USD totals as advisory and prefer the newer *_dollar columns and halal_status for primary decisions. If your use case requires explicit “extraction confidence” signals on these fields, contact support@akinda.io and we'll prioritize accordingly.

Source element shape

Each item inside halal_revenue_source, non_compliant_revenue_source, and doubtful_revenue_source follows the shape below. A field set to null means the daily updater hasn't computed the breakdown yet; an empty array [] means it ran and found none — semantically different.

FieldTypeDescription
namestringRevenue-source label extracted from SEC filings (e.g. "Services", "iPhone", "Apple Card interest")
percentfloatSource amount as % of market cap, rounded to 2 decimals
amount_usdfloatOriginal dollar amount in USD (as reported by stock-analyzer)

Ranking Score Business Enterprise only

These eight fields are included only for clients on the Business Enterprise tier. Other tiers receive the response without them. A null on any pillar means the upstream calculation failed for that ticker — it does not mean a score of 0. A value of 0.00 is a real "Poor" rating.

FieldTypeDescription
ranking_scorefloat | nullOverall Akinda ranking — average of non-null pillars (0.00–10.00)
profitability_scorefloat | nullProfitability pillar (0.00–10.00). null = calculation failed
liquidity_scorefloat | nullLiquidity pillar (0.00–10.00). null = calculation failed
financial_strength_scorefloat | nullFinancial strength pillar (0.00–10.00). null = calculation failed
value_scorefloat | nullValue pillar (0.00–10.00). null = calculation failed
growth_scorefloat | nullGrowth pillar (0.00–10.00). null = calculation failed
momentum_scorefloat | nullMomentum pillar (0.00–10.00). null = calculation failed
dividend_scorefloat | nullDividend pillar (0.00–10.00). Contributes to overall only when > 0
Response — /full-report
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  "ticker": "AAPL",
  "company_name": "Apple Inc.",
  "halal_status": "HALAL",
  "halal_rating": 7,
  "debt_ratio_perc": 12.34,
  "liquidity_ratio_perc": 7.89,
  "non_compliant_revenue_perc": 1.74,
  "interest_debt": 110000000000,
  "prohibited_revenue": 5000000000,
  "operating_lease": 14000000000,
  "last_scanned": "2026-03-14T04:49:00Z",
  "debt_ratio_dollar": 110000000000,
  "liquidity_ratio_dollar": 65000000000,
  "non_compliant_revenue_dollar": 4920000000,
  "doubtful_revenue_perc": 1.15,
  "doubtful_revenue_dollar": 2600000000,
  "compliant_revenue_perc": 97.84,
  "compliant_revenue_dollar": 218000000000,
  "halal_revenue_source": [
    { "name": "Services", "percent": 85.25, "amount_usd": 189000000000 },
    { "name": "iPhone", "percent": 12.51, "amount_usd": 27000000000 }
  ],
  "non_compliant_revenue_source": [
    { "name": "Apple Card interest", "percent": 1.01, "amount_usd": 4920000000 }
  ],
  "doubtful_revenue_source": [
    { "name": "Apple Music streaming", "percent": 1.15, "amount_usd": 2600000000 }
  ],
  "ranking_score": 7.80,
  "profitability_score": 8.20,
  "liquidity_score": 7.40,
  "financial_strength_score": 8.50,
  "value_score": 5.90,
  "growth_score": 7.60,
  "momentum_score": 8.10,
  "dividend_score": 5.20
}

Error Codes

401 UnauthorizedInvalid or missing API key
403 ForbiddenSubscription tier too low for this endpoint
429 Too Many RequestsRate limit or bandwidth quota exceeded