Skip to main content
GET
cURL
3 credits per request
Get the syncing status of any of your portfolios (from GET /portfolio/list). Status is syncing, synced, or error. error means the last sync failed because the exchange API credentials are invalid or revoked, with the reason in message; reconnect or update the credentials to recover.
  • portfolioId: Must reference an existing portfolio owned by the authenticated user.

Authorizations

X-API-KEY
string
header
required

API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.

Query Parameters

portfolioId
string
required
Example:

"66c19c585400000000000000"

Response

Get portfolio sync status

status
enum<string>
required

The current synchronization status of the portfolio: syncing while a sync is running, synced when it is up to date, error when the last sync failed and the portfolio can no longer sync

Available options:
syncing,
synced,
error
Example:

"synced"

message
string

Present only when status is error. Explains why the portfolio can no longer sync, e.g. invalid or revoked exchange API credentials

Example:

"API Key is invalid or outdated. Please check and try again"