watchlists
Create Watchlist
Create a new watchlist.
Creates a named watchlist with an optional initial set of symbols. Returns the full watchlist object including its generated ID.
curl example:
curl -X POST https://api.halalterminal.com/api/watchlists \
-H "Content-Type: application/json" \
-H "X-API-Key: sk_live_abc123def456" \
-d '{"name": "Halal Tech", "symbols": ["AAPL", "MSFT", "GOOGL"]}'
Python example:
import requests
resp = requests.post(
"https://api.halalterminal.com/api/watchlists",
headers={"X-API-Key": "sk_live_abc123def456"},
json={"name": "Halal Tech", "symbols": ["AAPL", "MSFT", "GOOGL"]},
)
watchlist = resp.json()
post/api/watchlists
Request
- Base URL: https://api.halalterminal.com
- URL: https://api.halalterminal.com/api/watchlists
- Auth: API key in header X-API-Key
Request body
Example request
{
"name": "Halal Tech",
"symbols": [
"AAPL",
"MSFT",
"GOOGL"
]
}Response
The newly created watchlist
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.