curl --request POST \
--url https://mcp.echozero.app/api/v1/watchlist \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '
{
"tokenId": "507f1f77bcf86cd799439011",
"market": "SPOT"
}
'
{
"success": true,
"data": {
"success": true,
"error": "<string>",
"item": {
"tokenId": "507f1f77bcf86cd799439011",
"market": "SPOT",
"createdAt": "2023-11-07T05:31:56Z",
"token": {
"id": "<string>",
"name": "<string>",
"symbol": "<string>",
"logoUri": "<string>"
}
}
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Watchlist
Add to watchlist
Mirrors GraphQL addToWatchlist. Idempotent: an existing row is returned unchanged. data.success=false with error WATCHLIST_TOKEN_NOT_FOUND or WATCHLIST_LIMIT_REACHED. Body schema: #/components/schemas/McpWatchlistItemBodyDto.
POST
/
api
/
v1
/
watchlist
curl --request POST \
--url https://mcp.echozero.app/api/v1/watchlist \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '
{
"tokenId": "507f1f77bcf86cd799439011",
"market": "SPOT"
}
'
{
"success": true,
"data": {
"success": true,
"error": "<string>",
"item": {
"tokenId": "507f1f77bcf86cd799439011",
"market": "SPOT",
"createdAt": "2023-11-07T05:31:56Z",
"token": {
"id": "<string>",
"name": "<string>",
"symbol": "<string>",
"logoUri": "<string>"
}
}
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Headers
Body
application/json
OpenAPI: McpWatchlistItemBodyDto. GraphQL: WatchlistItemInput in apps/gql-main/src/watchlist/inputs/watchlistItem.input.ts.