Calculators
Stock Average Calculator API
Calculate the average cost per share across multiple stock purchases. Enter each buy as shares and price (optional fee) to get your weighted average price, total cost, and profit or loss at a current price.
POST
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.