market

Get Asset Full

Get a comprehensive view of an asset combining multiple data sources.

Returns a unified response containing the live quote, Shariah screening result, and static database record for the given symbol.

curl example:

curl -X GET "http://localhost:8000/api/asset/AAPL/full"

Python requests example:

import requests
resp = requests.get("http://localhost:8000/api/asset/AAPL/full")
asset = resp.json()
get/api/asset/{symbol}/full

Request

  • Base URL: https://api.halalterminal.com
  • URL: https://api.halalterminal.com/api/asset/{symbol}/full
  • Auth: API key in header X-API-Key

Path parameters

symbolstring required

Ticker symbol, e.g. AAPL.

Response

Aggregated asset view with quote, screening, and database data

symbolstring required

Ticker symbol

Example response

{
  "database": {
    "country": "United States",
    "exchange": "NMS",
    "name": "Apple Inc.",
    "sector": "Technology",
    "symbol": "AAPL",
    "type": "equities"
  },
  "quote": {
    "beta": 1.28,
    "change": 1.32,
    "changePercent": 0.71,
    "dividendYield": 0.0055,
    "high": 188.5,
    "low": 185.73,
    "marketCap": 2890000000000,
    "name": "Apple Inc.",
    "open": 186.12,
    "peRatio": 29.5,
    "previousClose": 186.12,
    "price": 187.44,
    "symbol": "AAPL",
    "volume": 54638921
  },
  "symbol": "AAPL"
}

Changes

No recorded changes to this operation across all 1 revision of this API.