Yup Docs
Search…
Yup API
Base URL: http://api.yup.io

GET Post

Requests
Response
Method
Endpoint
Usage
GET
/posts/post/{postid}
Fetch post information for a given vote/post.
GET
/comments/post/{postid}
Fetch comments on a given vote/post.
GET
/posts/interactions/{postid}
Fetch user interactions on a given vote/post.
GET
/votes/post/{postid}/voter/{username}
Fetch a user's vote on a given vote/post (if it exists).
1
{
2
"avatar": "",
3
"quantiles": {
4
"overall": "none",
5
"popularity": "none",
6
"intelligence": "none",
7
"funny": "none",
8
"chill": "none",
9
"useful": "none",
10
"knowledgeable": "none",
11
"engaging": "none",
12
"easy": "none",
13
"interesting": "none",
14
"affordable": "none",
15
"beautiful": "none",
16
"expensive": "none",
17
"wouldelect": "none",
18
"agreewith": "none",
19
"trustworthy": "none"
20
},
21
"weights": {
22
"overall": 0,
23
"popularity": 0,
24
"intelligence": 0,
25
"funny": 0,
26
"chill": 0,
27
"useful": 0,
28
"knowledgeable": 0,
29
"engaging": 0,
30
"easy": 0,
31
"interesting": 0,
32
"affordable": 0,
33
"beautiful": 0,
34
"expensive": 0,
35
"wouldelect": 0,
36
"agreewith": 0,
37
"trustworthy": 0
38
},
39
"sextiles": {
40
"overall": "none",
41
"popularity": "none",
42
"intelligence": "none",
43
"funny": "none",
44
"chill": "none",
45
"useful": "none",
46
"knowledgeable": "none",
47
"engaging": "none",
48
"easy": "none",
49
"interesting": "none",
50
"affordable": "none",
51
"beautiful": "none",
52
"expensive": "none",
53
"wouldelect": "none",
54
"agreewith": "none",
55
"trustworthy": "none"
56
},
57
"_id": {
58
"postid": "12294"
59
},
60
"previewData": {
61
"img": "https://i.ytimg.com/vi/hEMm7gxBYSc/maxresdefault.jpg",
62
"url": "https://www.youtube.com/watch?v=hEMm7gxBYSc",
63
"title": "Nirvana - Where Did You Sleep Last Night (Live On MTV Unplugged Unedited)",
64
"description": "REMASTERED IN HD! Taken from the 25th Anniversary Editions of Nirvana – MTV Unplugged in New York Order Now: https://Nirvana.lnk.to/Unplugged25 #Nirvana #Whe..."
65
},
66
"tag": "youtube.com",
67
"catVotes": {
68
"overall": {
69
"up": 2,
70
"down": 0
71
},
72
"popularity": {
73
"up": 2,
74
"down": 0
75
},
76
"intelligence": {
77
"up": 0,
78
"down": 0
79
},
80
"funny": {
81
"up": 0,
82
"down": 0
83
}
84
},
85
"rating": {
86
"popularity": {
87
"ratingAvg": 1,
88
"ratingSum": 2,
89
"ratingCount": 2
90
},
91
"overall": {
92
"ratingAvg": 1,
93
"ratingSum": 2,
94
"ratingCount": 2
95
}
96
},
97
"postConfirmed": false,
98
"author": "yupcreators1",
99
"timestamp": "1578275254500",
100
"caption": "https://www.youtube.com/watch?v=hEMm7gxBYSc",
101
"imgHash": "",
102
"videoHash": "",
103
"__v": 0,
104
"lastUpdated": "1578275254500",
105
"assocPostId": "10074"
106
}
Copied!

GET User

Requests
Response
Method
Endpoint
Usage
GET
/levels
Fetch all Yup users (extremely large json).
GET
/levels/users/{username}
GET
/accounts/{username}.
Fetch data on a particular Yup user.
GET
/followers/{username}
Fetch followers for a particular Yup user.
GET
/following/{username}
Fetch accounts followed by a Yup user.
GET
/accounts/actionusage/{eosname}
Fetch action usage by user's EOS name.
https://api.yup.io/posts/post/12294
api.yup.io
Example
1
{
2
"balance": {
3
"EOS": 0,
4
"YUPX": 98.8791,
5
"YUP": 80.172,
6
"YUPETH": 0
7
},
8
"total_stake": {
9
"YUPETH": 0
10
},
11
"twitterInfo": {
12
"_id": "5f6c3961769e4200111cee18",
13
"avatar": "https://pbs.twimg.com/profile_images/1277686232764440576/3trk6EFd.jpg",
14
"bio": "",
15
"email": "[email protected]",
16
"fullname": "Darren Wang",
17
"userId": "1277685255256674304",
18
"username": "darren_yupio",
19
"isTracked": true,
20
"isMirror": false,
21
"favorites": 284,
22
"followers": 0,
23
"friends": 57,
24
"language": null,
25
"location": "pale blue dot",
26
"oauthType": "loginWithOAuth",
27
"verified": false
28
},
29
"bio": "off to the races",
30
"avatar": "https://ipfs.yup.io/ipfs/Qmf2FgbNFrEst6kAZWDty9jztjdhZHAtMwqExvwWAiWVn1",
31
"fullname": "Darren",
32
"weight": 99,
33
"_id": "darrenyupxxx",
34
"__v": 0,
35
"eosname": "darrenyupxxx",
36
"skey": "3461924983",
37
"username": "darren_yup",
38
"cum_deposit_time": 1335366,
39
"claimed_creator_rewards": 0,
40
"total_claimed_rewards": 0,
41
"total_creator_rewards": 0,
42
"total_vote_value": 3.0535885700480683,
43
"quantile": "first",
44
"sextile": "first"
45
}
Copied!
Last modified 9mo ago
Copy link