watchlists

Remove Symbol From Watchlist

Remove a symbol from a watchlist.

Removes the specified ticker symbol from the watchlist. Returns the updated watchlist. Raises 404 if the watchlist does not exist.

curl example:

curl -X DELETE https://api.halalterminal.com/api/watchlists/wl_abc123/symbols/AMZN \
  -H "X-API-Key: sk_live_abc123def456"

Python example:

import requests

resp = requests.delete(
    "https://api.halalterminal.com/api/watchlists/wl_abc123/symbols/AMZN",
    headers={"X-API-Key": "sk_live_abc123def456"},
)
updated = resp.json()
delete/api/watchlists/{watchlist_id}/symbols/{symbol}

Request

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

Path parameters

watchlist_idstring required

Watchlist ID.

symbolstring required

Ticker symbol to remove from the watchlist.

Response

The updated watchlist with the symbol removed

idstring required

Unique watchlist identifier

namestring required

Display name of the watchlist

symbolsstring[] required

Ticker symbols in the watchlist

countinteger required

Number of symbols currently in the watchlist

created_atstring required

ISO-8601 timestamp when the watchlist was created

updated_atstring required

ISO-8601 timestamp of the last modification

Example response

{
  "count": 3,
  "created_at": "2025-06-01T12:00:00Z",
  "id": "wl_abc123",
  "name": "Halal Tech",
  "symbols": [
    "AAPL",
    "MSFT",
    "GOOGL"
  ],
  "updated_at": "2025-06-01T12:00:00Z"
}

Changes

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