Quick Start
First glance
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
Get your API keys
You can generate an API key with paid subscription in Watcher app.
Make your first request
To make your first request, send an authenticated request to the pets endpoint. The following code requests token overview for ETH:
Get strategies for a token.
GET
https://api.web3watcher.fi/v1/strategies/bytoken/{token_symbol}
The method returns the list of strategies for your token.
Request Body
token_symbol*
string
The symbol (name) of the token
offset
int
the number of strategies displayed per page
pagination
int
num of page
token_amount
int
the amount of token to invest
period
int
period of investment in days
stop_criteria
[string]
Criteria to not include some strategy categories
Take a look at how you might call this method using our official libraries, or via curl
:
Last updated