market

Get Trending

List currently trending assets.

Returns an ordered list of assets that are currently trending by trading activity or price movement.

curl example:

curl -X GET "http://localhost:8000/api/trending"

Python requests example:

import requests
resp = requests.get("http://localhost:8000/api/trending")
trending = resp.json()
get/api/trending

Request

  • Base URL: https://api.halalterminal.com
  • URL: https://api.halalterminal.com/api/trending
  • Auth: API key in header X-API-Key

Response

List of currently trending assets

symbolstring required

Ticker symbol

namestring required

Company or asset name

changestring required

Price change as a formatted string

pricenumber nullable

Current price in USD

volumeinteger nullable

Trading volume for the current session

Example response

[
  {
    "change": "+1.25%",
    "name": "Apple Inc.",
    "price": 187.44,
    "symbol": "AAPL",
    "volume": 54638921
  }
]

Changes

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