Skip to main content
PATCH
Sync Portfolio
30 credits per request
In Query field “portfolioId”: credits are multiplied by the number of values.
If the value of “portfolioId” in Query is “all”, multiplier is 300 credits.
Trigger a sync for one of your wallet or exchange portfolios. Manual portfolios cannot be synced. If portfolioId is omitted, all your non-manual portfolios will be synced (costs 10x credits).
  • portfolioId: When provided, syncs only that portfolio. When omitted, syncs all portfolios owned by the 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

When provided, syncs only that portfolio. When omitted, syncs all portfolios owned by the user (costs 10x credits).

Response

Portfolio sync triggered

success
boolean
required

True when the portfolio sync was successfully triggered.

Example:

true