Skip to content
Xtrendence edited this page May 6, 2021 · 8 revisions

API Documentation

/api/account/

login.php

Parameter Type Notes
token String Only required if platform and password are empty.
platform String Only required if token is empty. Must be "app", "desktop", or "web".
password String Only required if token is empty.

logout.php

Parameter Type Notes
token String -
platform String -

update.php

Parameter Type Notes
currentPassword String -
newPassword String -

/api/activity

create.php

Parameter Type Notes
token String -
id String CoinGecko coin ID
symbol String Coin ticker.
date String Must be parsable by PHP's strtotime().
type String Must be "buy", "sell", or "transfer".
amount Int -
fee Int -
notes String -
exchange String Only usable if type is "buy" or "sell".
pair String Only usable if type is "buy" or "sell".
price Int Only usable if type is "buy" or "sell".
from String Only usable if type is "transfer".
to String Only usable if type is "transfer".

/api/coins/

/api/holdings/

/api/settings/

Clone this wiki locally