x-api-key header on every request.
Replace https://api.stockly.com below with your Stockly API base URL.
1. Create a user
Provide anemail, your own externalId, or both.
user.id — you’ll reference it when giving stock and reading the portfolio.
2. Give stock
Give a user $1 of Apple. PickassetSymbol from the catalog (GET /v1/assets) and generate
a fresh idempotencyKey per award (a UUID works well).
recorded. Stockly then fulfills it and the stock appears
in the user’s portfolio (status executed).
3. Read the portfolio
Read the user’s holdings, live value, and return any time:cURL
Response
That’s it — you created a user, gave them stock, and read their portfolio. Open the
API Reference tab for every endpoint, field, and an interactive playground.