Recommendation
GET /api/v1/recommend
Note: The recommendation engine recommends potential friends to users based on whom they follow on twitter, users' on-chain transactions on the Ethereum blockchain, the NFTs they hold, and whom they are following at this moment.
Header
Authorization
String
Bearer ${unifiedAuthToken} , in which the unifiedAuthToken is the result returned by /api/v1/auth
Request Parameters
limit
int
Query limit (up to 100)
cursor
string
Cursor data returned by last page. If it is empty, it means the caller is querying the first page.
Request Example
Response Parameters
code
String
the Return Code
desc
String
the Return Message
data
RecommendResponse
the Data
The RecommendResponse field consists of the following subfields:
cursor
String
the cursor
list
List[RecommendUser]
list of followers
The RecommendUser field consists of the following subfields:
relationId
String
User's relationId
name
String
User name
avatar
String
User's avatar
recommendReason
String
Reason for recommendation:Following on twitterCounterparty on ethereumHolder of ${nft name}Followed by ${followingUser's name}
following
boolean
Following or not: true for following; false for not
Response Body
Return Code
0
success
the flag for a successful request
Last updated