Skip to main content
You’ll need your Stockly API key. Send it as the x-api-key header on every request. Replace https://api.stockly.com below with your Stockly API base URL.

1. Create a user

Provide an email, your own externalId, or both.
Keep the user.id — you’ll reference it when giving stock and reading the portfolio.

2. Give stock

Give a user $1 of Apple. Pick assetSymbol from the catalog (GET /v1/assets) and generate a fresh idempotencyKey per award (a UUID works well).
The award comes back with status 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.