Quick Start
Get from signup to your first API response in about five minutes.
1. Create a free account
Sign in with Google at the dashboard. A free plan is created for you automatically - no credit card required, with 5 free requests per day.
2. Copy your API key
Your dashboard provisions a key named Default Key when you sign in. Copy it (or create a new one with a name you recognize). The key is sent as a Bearer token on every request - never expose it in client-side code or public repositories.
3. Make your first request
curl -X 'GET' \
'https://api.indexalpha.id/stocks/broker-summary?ticker=BBCA&from=2026-03-26&to=2026-03-26&investor=all' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <your_api_key>'4. Understand the response
{
"success": true,
"data": [
{
"code": "SQ",
"buy_freq": 4044,
"buy_volume": 26837300,
"buy_value": 185357180000,
"sell_freq": 586,
"sell_volume": 1499300,
"sell_value": 10374017500,
"buy_avg": 6906.70,
"sell_avg": 6919.24
}
],
"error": null
}successistrueon successful responses;errorisnull.datais an array - one row per broker.buy_value/sell_valueare in IDR, volume is in shares, andbuy_avg/sell_avgare weighted average prices.- Aggregation: because
fromandtoare the same day, this returns one day of data. A wider range returns one aggregated row per broker for the whole range, not per-day rows. See the Field Reference for every field.
5. Try a batch request
curl -X 'POST' \
'https://api.indexalpha.id/stocks/broker-summary/batch' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <your_api_key>' \
-d '{
"tickers": ["BBCA", "BBRI", "TLKM"],
"from": "2026-03-26",
"to": "2026-03-26",
"investor": "all",
"market": "RG"
}'Each ticker in a batch request consumes one unit of quota - a batch of 50 tickers costs 50 units. The response maps ticker → array of broker rows.
You're up and running. Next: Client Examples, the Endpoints reference, and Limits & Quotas.