Skip to main content
POST
Refresh Portfolio Prices

Endpoint

Description

Fetches the latest market prices from Finnhub API for all holdings in the user’s portfolio.

Authentication

Requires OAuth 2.0 authentication via session cookies.

Rate Limiting

The free Finnhub API tier allows 60 requests per minute. The application intelligently manages API requests to stay within these limits.

Response

boolean
required
Indicates if the refresh was successful
number
Number of holdings successfully updated
array
List of any errors encountered during refresh

Example

Response Example

Success
Partial Success
Error

Notes

  • Prices are automatically refreshed when viewing the portfolio page if last update was >15 minutes ago
  • Use this endpoint to manually force a refresh at any time
  • Mutual fund prices may be delayed 15-30 minutes