Bilibili User Profile API (V2)
Retrieve a Bilibili user profile identified by UID. Supply an uid. Sample fields include hashes and rankings. Use it for account discovery and creator research.
- Selected price
- $0.015385 / callPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
justoneapiCurrent Bilibili User Profile API (V2) · GET | $0.015385 / call | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
codeintegerdataobjectchannelobjectchannelConfigunknown[]channelDataobjectserverFetchednull
commonobjectabtestobjecth5_resolutionstring
autoFallbackobjectconfigobjectdefstringdlunknown[]frbooleanhasSuffixesConfigbooleansuffixesobject
connectivitiesobjectdefDomainstringdefFallbackThresholdintegerdefUpdatedbooleanhasSuffixesConfigbooleanonbooleansuffixConfigsobjectwlunknown[]xinteger
browserobjectCMDCbooleanMicroMessengerbooleanQQLivebooleanSafaribooleanYoukubooleanandroidbooleanbaidubooleanbaiduspiderbooleanchromebooleanharmonyOSNextbooleaniPadbooleaniPhonebooleaniosbooleaniqiyibooleanmbaidubooleanmobilebooleanmqqbooleanoppoBrowserbooleanqqbooleanquarkbooleanucbooleanwebAppbooleanwechatbooleanweibobooleanwindowsphonebooleanwxworkbooleanxiaomiqjsbooleanzhihuboolean
defDomainstringipRegionstringisOverseabooleanisWxTagLaunchbooleanlegalRegionstringnoCallAppbooleanserverConfigobjectconstantsobjectnewClipboardboolean
customChannelobjectbsourcestring[]
limitChannelobjectbsourcestring[]referrerstring[]uastring[]
openappDialogConfigobjectautoOpenappLimitintegercommonOpenappFailedLimitintegernaturalSearchPlayerPauseOpenappLimitintegernaturalSearchPlayerPlayOpenappLimitintegersharePlayerPauseOpenappLimitintegersharePlayerPlayOpenappLimitinteger
switchobjectsearch_h5_stylestring
switchobjectsearch_h5_stylestring
uastringuserInfoobjectcompletedbooleanfacestringisLoginbooleanvipStatusintegervipTypeinteger
homeobjecthotListobjecterrorbooleanextraobjectnoMorebooleanresultunknown[]
opusobjectdetailnullfallbackobjectidstringtypeinteger
idstringisClientbooleanisTab3booleanpreviewnulluniqueKstringverifyDatanull
playlistobjectforbidPreviewbooleanhasMorebooleanisClientbooleanmediaDataobjectmediaListunknown[]noMorebooleanpnintegerpsinteger
mediaIdstringmediaListunknown[]pintegerplayEndbooleanplayModestringplaySumintegerplayUrlunknown[]playlistTypeintegerpsintegerrandomListunknown[]tidintegervideoIndexintegervideoInfoobject
routeobjectfromobjectfullPathstringhashstringmetaobjectnamenullparamsobjectpathstringqueryobject
fullPathstringhashstringmetaobjectnamestringparamsobjectidstring
pathstringqueryobject
searchobjectblacklistArchiveunknown[]bsourcestringisCustombooleankeywordstringopenAppDialogbooleansearchAllResultobjectclickobjectnoMorebooleanpageintegerresultunknown[]totalinteger
dmobjectnoMorebooleanpageintegerresultunknown[]totalinteger
extraobjectcountobjectbili_userintegermedia_bangumiintegermedia_ftintegervideointeger
filmListunknown[]pgcListunknown[]
pubdateobjectnoMorebooleanpageintegerresultunknown[]totalinteger
totalrankobjectnoMorebooleanpageintegerresultunknown[]totalinteger
searchBangumiResultobjectnoMorebooleanpageintegerresultunknown[]totalinteger
searchFilmResultobjectnoMorebooleanpageintegerresultunknown[]totalinteger
searchUserResultobjectnoMorebooleanpageintegerresultunknown[]totalinteger
spaceobjectfeedListobjecterrorbooleanextraobjectnoMorebooleanresultunknown[]
infoobjectattestationobjectcommon_infoobjectprefixstringprefix_titlestringtitlestring
descstringiconstringsplice_infoobjecttitlestring
typeinteger
birthdaystringcertificate_showbooleancoinsintegercontractnullcontrolintegerelecobjectshow_infoobjecticonstringjump_urlstringjump_url_webstringlistobject[]avatarstringpay_midintegerrankintegerunamestring
long_titlestringshowbooleanstateintegertitlestringtotalintegerupower_count_showboolean
facestringface_nftintegerface_nft_typeintegerfans_badgebooleanfans_medalobjectdetailnullmedalnullshowbooleanwearboolean
gaia_datanullgaia_res_typeintegeris_followedbooleanis_riskbooleanis_senior_memberintegerjointimeintegerlevelintegerlive_roomnullmcn_infonullmidintegermoralintegernamestringname_rendernullnameplateobjectconditionstringimagestringimage_smallstringlevelstringnamestringnidinteger
officialobjectdescstringroleintegertitlestringtypeinteger
pendantobjectexpireintegerimagestringimage_enhancestringimage_enhance_framestringn_pidintegernamestringpidinteger
professionobjectdepartmentstringis_showintegernamestringtitlestring
rankintegerschoolnullseriesobjectshow_upgrade_windowbooleanuser_upgrade_statusinteger
sexstringsignstringsilenceintegersys_noticeobjecttagsstring[]themenulltop_photostringtop_photo_v2objectl_200h_imgstringl_imgstringsidinteger
user_honour_infoobjectcolournullis_latest_100honourintegermidintegertagsunknown[]
vipobjectavatar_iconobjecticon_resourceobjecticon_typeinteger
avatar_subscriptintegeravatar_subscript_urlstringdue_dateintegerlabelobjectbg_colorstringbg_styleintegerborder_colorstringimg_label_uri_hansstringimg_label_uri_hans_staticstringimg_label_uri_hantstringimg_label_uri_hant_staticstringimg_label_uri_i18nstringimg_label_uri_i18n_staticstringlabel_gotoobjectmobilestringpc_webstring
label_idintegerlabel_themestringlabel_typeintegerpathstringtextstringtext_colorstringuse_img_labelboolean
nickname_colorstringott_infoobjectoverdue_timeintegerpay_channel_idstringpay_typeintegerstatusintegervip_typeinteger
roleintegerstatusintegersuper_vipobjectis_super_vipboolean
theme_typeintegertv_due_dateintegertv_vip_pay_typeintegertv_vip_statusintegertypeintegervip_pay_typeinteger
midinteger
tagobjecttagInfoobjecttagRelatedobjecterrorbooleanextraobjectresultunknown[]totalinteger
tagSimilarunknown[]
topicobjectactivitiesobjectadsobjectheaderTextColorintegerisExpandedbooleanrelevantTopicsunknown[]topicDetailobjecttopicIdintegertopicListResultobjecterrorbooleanextraobjectno_morebooleanresultunknown[]totalinteger
tribeeobjecttribeeBaseInfoobjecttribeeInviteDefernulltribeeInviteInfonulltribeeListunknown[]tribeeListTotalintegertribeeSteamHomeInfoobject
videoobjectarchiveConfigIdstringarchiveTypeintegeravidintegerbreadcrumbobjectbsourcestringbvidstringelecobjecterrorintegereventConfigobjectbottomBannerImagestringbottomBannerUrlobjectsearchKeywordstringtypestringurlH5string
mainCallButtonTextstringrelatedTabListunknown[]relatedTabTextobjecttextstringvideoListIDstring
topBannerImagestringtopButtonUrlobjectsearchKeywordstringtypestringurlH5string
topSearchUrlobjectsearchKeywordstringtypestringurlH5string
gameModebooleanhotSearchVideoListunknown[]hotWordstringisClientbooleanisCustombooleanisFromNaturalSearchbooleanisRelatedUpbooleanisSembooleanisTab3booleankeywordstringpintegerpageTypestringplayStatestringplayUrlInfoobjectplayerSettingsobjectqnExpnullqualityintegerrelatedobjecterrorbooleanextraobjectnoMorebooleanresultunknown[]
reportMsgobjectstreamQualityintegersupportFormatsunknown[]tagsunknown[]togglePlaybooleantrackIdstringupInfoobjectvideoPageSettingsobjectviewInfoobject
messagenullrecordTimenull
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
code?: number;
data?: {
channel?: {
channelConfig?: Array<unknown>;
channelData?: Record<string, unknown>;
serverFetched?: null;
};
common?: {
abtest?: {
h5_resolution?: string;
};
autoFallback?: {
config?: {
def?: string;
dl?: Array<unknown>;
fr?: boolean;
hasSuffixesConfig?: boolean;
suffixes?: Record<string, unknown>;
};
connectivities?: Record<string, unknown>;
defDomain?: string;
defFallbackThreshold?: number;
defUpdated?: boolean;
hasSuffixesConfig?: boolean;
on?: boolean;
suffixConfigs?: Record<string, unknown>;
wl?: Array<unknown>;
x?: number;
};
browser?: {
CMDC?: boolean;
MicroMessenger?: boolean;
QQLive?: boolean;
Safari?: boolean;
Youku?: boolean;
android?: boolean;
baidu?: boolean;
baiduspider?: boolean;
chrome?: boolean;
harmonyOSNext?: boolean;
iPad?: boolean;
iPhone?: boolean;
ios?: boolean;
iqiyi?: boolean;
mbaidu?: boolean;
mobile?: boolean;
mqq?: boolean;
oppoBrowser?: boolean;
qq?: boolean;
quark?: boolean;
uc?: boolean;
webApp?: boolean;
wechat?: boolean;
weibo?: boolean;
windowsphone?: boolean;
wxwork?: boolean;
xiaomiqjs?: boolean;
zhihu?: boolean;
};
defDomain?: string;
ipRegion?: string;
isOversea?: boolean;
isWxTagLaunch?: boolean;
legalRegion?: string;
noCallApp?: boolean;
serverConfig?: {
constants?: {
newClipboard?: boolean;
};
customChannel?: {
bsource?: Array<string>;
};
limitChannel?: {
bsource?: Array<string>;
referrer?: Array<string>;
ua?: Array<string>;
};
openappDialogConfig?: {
autoOpenappLimit?: number;
commonOpenappFailedLimit?: number;
naturalSearchPlayerPauseOpenappLimit?: number;
naturalSearchPlayerPlayOpenappLimit?: number;
sharePlayerPauseOpenappLimit?: number;
sharePlayerPlayOpenappLimit?: number;
};
switch?: {
search_h5_style?: string;
};
};
switch?: {
search_h5_style?: string;
};
ua?: string;
userInfo?: {
completed?: boolean;
face?: string;
isLogin?: boolean;
vipStatus?: number;
vipType?: number;
};
};
home?: {
hotList?: {
error?: boolean;
extra?: Record<string, unknown>;
noMore?: boolean;
result?: Array<unknown>;
};
};
opus?: {
detail?: null;
fallback?: {
id?: string;
type?: number;
};
id?: string;
isClient?: boolean;
isTab3?: boolean;
preview?: null;
uniqueK?: string;
verifyData?: null;
};
playlist?: {
forbidPreview?: boolean;
hasMore?: boolean;
isClient?: boolean;
mediaData?: {
mediaList?: Array<unknown>;
noMore?: boolean;
pn?: number;
ps?: number;
};
mediaId?: string;
mediaList?: Array<unknown>;
p?: number;
playEnd?: boolean;
playMode?: string;
playSum?: number;
playUrl?: Array<unknown>;
playlistType?: number;
ps?: number;
randomList?: Array<unknown>;
tid?: number;
videoIndex?: number;
videoInfo?: Record<string, unknown>;
};
route?: {
from?: {
fullPath?: string;
hash?: string;
meta?: Record<string, unknown>;
name?: null;
params?: Record<string, unknown>;
path?: string;
query?: Record<string, unknown>;
};
fullPath?: string;
hash?: string;
meta?: Record<string, unknown>;
name?: string;
params?: {
id?: string;
};
path?: string;
query?: Record<string, unknown>;
};
search?: {
blacklistArchive?: Array<unknown>;
bsource?: string;
isCustom?: boolean;
keyword?: string;
openAppDialog?: boolean;
searchAllResult?: {
click?: {
noMore?: boolean;
page?: number;
result?: Array<unknown>;
total?: number;
};
dm?: {
noMore?: boolean;
page?: number;
result?: Array<unknown>;
total?: number;
};
extra?: {
count?: {
bili_user?: number;
media_bangumi?: number;
media_ft?: number;
video?: number;
};
filmList?: Array<unknown>;
pgcList?: Array<unknown>;
};
pubdate?: {
noMore?: boolean;
page?: number;
result?: Array<unknown>;
total?: number;
};
totalrank?: {
noMore?: boolean;
page?: number;
result?: Array<unknown>;
total?: number;
};
};
searchBangumiResult?: {
noMore?: boolean;
page?: number;
result?: Array<unknown>;
total?: number;
};
searchFilmResult?: {
noMore?: boolean;
page?: number;
result?: Array<unknown>;
total?: number;
};
searchUserResult?: {
noMore?: boolean;
page?: number;
result?: Array<unknown>;
total?: number;
};
};
space?: {
feedList?: {
error?: boolean;
extra?: Record<string, unknown>;
noMore?: boolean;
result?: Array<unknown>;
};
info?: {
attestation?: {
common_info?: {
prefix?: string;
prefix_title?: string;
title?: string;
};
desc?: string;
icon?: string;
splice_info?: {
title?: string;
};
type?: number;
};
birthday?: string;
certificate_show?: boolean;
coins?: number;
contract?: null;
control?: number;
elec?: {
show_info?: {
icon?: string;
jump_url?: string;
jump_url_web?: string;
list?: Array<{
avatar?: string;
pay_mid?: number;
rank?: number;
uname?: string;
}>;
long_title?: string;
show?: boolean;
state?: number;
title?: string;
total?: number;
upower_count_show?: boolean;
};
};
face?: string;
face_nft?: number;
face_nft_type?: number;
fans_badge?: boolean;
fans_medal?: {
detail?: null;
medal?: null;
show?: boolean;
wear?: boolean;
};
gaia_data?: null;
gaia_res_type?: number;
is_followed?: boolean;
is_risk?: boolean;
is_senior_member?: number;
jointime?: number;
level?: number;
live_room?: null;
mcn_info?: null;
mid?: number;
moral?: number;
name?: string;
name_render?: null;
nameplate?: {
condition?: string;
image?: string;
image_small?: string;
level?: string;
name?: string;
nid?: number;
};
official?: {
desc?: string;
role?: number;
title?: string;
type?: number;
};
pendant?: {
expire?: number;
image?: string;
image_enhance?: string;
image_enhance_frame?: string;
n_pid?: number;
name?: string;
pid?: number;
};
profession?: {
department?: string;
is_show?: number;
name?: string;
title?: string;
};
rank?: number;
school?: null;
series?: {
show_upgrade_window?: boolean;
user_upgrade_status?: number;
};
sex?: string;
sign?: string;
silence?: number;
sys_notice?: Record<string, unknown>;
tags?: Array<string>;
theme?: null;
top_photo?: string;
top_photo_v2?: {
l_200h_img?: string;
l_img?: string;
sid?: number;
};
user_honour_info?: {
colour?: null;
is_latest_100honour?: number;
mid?: number;
tags?: Array<unknown>;
};
vip?: {
avatar_icon?: {
icon_resource?: Record<string, unknown>;
icon_type?: number;
};
avatar_subscript?: number;
avatar_subscript_url?: string;
due_date?: number;
label?: {
bg_color?: string;
bg_style?: number;
border_color?: string;
img_label_uri_hans?: string;
img_label_uri_hans_static?: string;
img_label_uri_hant?: string;
img_label_uri_hant_static?: string;
img_label_uri_i18n?: string;
img_label_uri_i18n_static?: string;
label_goto?: {
mobile?: string;
pc_web?: string;
};
label_id?: number;
label_theme?: string;
label_type?: number;
path?: string;
text?: string;
text_color?: string;
use_img_label?: boolean;
};
nickname_color?: string;
ott_info?: {
overdue_time?: number;
pay_channel_id?: string;
pay_type?: number;
status?: number;
vip_type?: number;
};
role?: number;
status?: number;
super_vip?: {
is_super_vip?: boolean;
};
theme_type?: number;
tv_due_date?: number;
tv_vip_pay_type?: number;
tv_vip_status?: number;
type?: number;
vip_pay_type?: number;
};
};
mid?: number;
};
tag?: {
tagInfo?: Record<string, unknown>;
tagRelated?: {
error?: boolean;
extra?: Record<string, unknown>;
result?: Array<unknown>;
total?: number;
};
tagSimilar?: Array<unknown>;
};
topic?: {
activities?: Record<string, unknown>;
ads?: Record<string, unknown>;
headerTextColor?: number;
isExpanded?: boolean;
relevantTopics?: Array<unknown>;
topicDetail?: Record<string, unknown>;
topicId?: number;
topicListResult?: {
error?: boolean;
extra?: Record<string, unknown>;
no_more?: boolean;
result?: Array<unknown>;
total?: number;
};
};
tribee?: {
tribeeBaseInfo?: Record<string, unknown>;
tribeeInviteDefer?: null;
tribeeInviteInfo?: null;
tribeeList?: Array<unknown>;
tribeeListTotal?: number;
tribeeSteamHomeInfo?: Record<string, unknown>;
};
video?: {
archiveConfigId?: string;
archiveType?: number;
avid?: number;
breadcrumb?: Record<string, unknown>;
bsource?: string;
bvid?: string;
elec?: Record<string, unknown>;
error?: number;
eventConfig?: {
bottomBannerImage?: string;
bottomBannerUrl?: {
searchKeyword?: string;
type?: string;
urlH5?: string;
};
mainCallButtonText?: string;
relatedTabList?: Array<unknown>;
relatedTabText?: {
text?: string;
videoListID?: string;
};
topBannerImage?: string;
topButtonUrl?: {
searchKeyword?: string;
type?: string;
urlH5?: string;
};
topSearchUrl?: {
searchKeyword?: string;
type?: string;
urlH5?: string;
};
};
gameMode?: boolean;
hotSearchVideoList?: Array<unknown>;
hotWord?: string;
isClient?: boolean;
isCustom?: boolean;
isFromNaturalSearch?: boolean;
isRelatedUp?: boolean;
isSem?: boolean;
isTab3?: boolean;
keyword?: string;
p?: number;
pageType?: string;
playState?: string;
playUrlInfo?: Record<string, unknown>;
playerSettings?: Record<string, unknown>;
qnExp?: null;
quality?: number;
related?: {
error?: boolean;
extra?: Record<string, unknown>;
noMore?: boolean;
result?: Array<unknown>;
};
reportMsg?: Record<string, unknown>;
streamQuality?: number;
supportFormats?: Array<unknown>;
tags?: Array<unknown>;
togglePlay?: boolean;
trackId?: string;
upInfo?: Record<string, unknown>;
videoPageSettings?: Record<string, unknown>;
viewInfo?: Record<string, unknown>;
};
};
message?: null;
recordTime?: null;
};- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/justoneapi/api/bilibili/get-user-detail/v2- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/justoneapi/api/bilibili/get-user-detail/v2?uid=%3CREPLACE_UID%3E' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
uid | URL query parametersquery | string | Yes | Bilibili User ID (UID). |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"code": 0,
"data": {
"channel": {
"channelConfig": [],
"channelData": {},
"serverFetched": null
},
"common": {
"abtest": {
"h5_resolution": "1"
},
"autoFallback": {
"config": {
"def": "",
"dl": [],
"fr": false,
"hasSuffixesConfig": false,
"suffixes": {}
},
"connectivities": {},
"defDomain": "",
"defFallbackThreshold": 5,
"defUpdated": false,
"hasSuffixesConfig": false,
"on": false,
"suffixConfigs": {},
"wl": [],
"x": 48
},
"browser": {
"CMDC": false,
"MicroMessenger": false,
"QQLive": false,
"Safari": false,
"Youku": false,
"android": true,
"baidu": true,
"baiduspider": false,
"chrome": false,
"harmonyOSNext": false,
"iPad": false,
"iPhone": false,
"ios": false,
"iqiyi": false,
"mbaidu": true,
"mobile": true,
"mqq": false,
"oppoBrowser": false,
"qq": false,
"quark": false,
"uc": false,
"webApp": false,
"wechat": false,
"weibo": false,
"windowsphone": false,
"wxwork": false,
"xiaomiqjs": false,
"zhihu": false
},
"defDomain": "",
"ipRegion": "",
"isOversea": false,
"isWxTagLaunch": false,
"legalRegion": "",
"noCallApp": false,
"serverConfig": {
"constants": {
"newClipboard": false
},
"customChannel": {
"bsource": [
"OPPO_search",
"vendor_vivo_widget_search"
]
},
"limitChannel": {
"bsource": [
"bilibili-toutiao",
"search_google",
"bddj"
],
"referrer": [
"(.)*\\.google.com"
],
"ua": [
"MicroMessenger",
"wxwork",
"Weibo",
"qzone/.*_qz_([\\d.]+)",
"QQ/([\\d\\.]+)",
"NewsArticle",
"GoldBrowser",
"WukongSearch",
"wksearch",
"SKLand",
"Googlebot"
]
},
"openappDialogConfig": {
"autoOpenappLimit": 3,
"commonOpenappFailedLimit": 3,
"naturalSearchPlayerPauseOpenappLimit": 5,
"naturalSearchPlayerPlayOpenappLimit": 3,
"sharePlayerPauseOpenappLimit": 20,
"sharePlayerPlayOpenappLimit": 10
},
"switch": {
"search_h5_style": "column1"
}
},
"switch": {
"search_h5_style": "column1"
},
"ua": "Mozilla/5.0 (Linux; Android 8.1.0; NX606J Build/OPM1.171019.026; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/76.0.3809.89 Mobile Safari/537.36 T7/11.20 SP-engine/2.16.0 baiduboxapp/11.20.0.14 (Baidu; P1 8.1.0)",
"userInfo": {
"completed": false,
"face": "",
"isLogin": false,
"vipStatus": 0,
"vipType": 0
}
},
"home": {
"hotList": {
"error": false,
"extra": {},
"noMore": false,
"result": []
}
},
"opus": {
"detail": null,
"fallback": {
"id": "",
"type": 0
},
"id": "",
"isClient": false,
"isTab3": false,
"preview": null,
"uniqueK": "",
"verifyData": null
},
"playlist": {
"forbidPreview": false,
"hasMore": true,
"isClient": false,
"mediaData": {
"mediaList": [],
"noMore": false,
"pn": 1,
"ps": 20
},
"mediaId": "",
"mediaList": [],
"p": 1,
"playEnd": false,
"playMode": "order",
"playSum": 0,
"playUrl": [],
"playlistType": 3,
"ps": 20,
"randomList": [],
"tid": 0,
"videoIndex": 0,
"videoInfo": {}
},
"route": {
"from": {
"fullPath": "/",
"hash": "",
"meta": {},
"name": null,
"params": {},
"path": "/",
"query": {}
},
"fullPath": "/space/472747194",
"hash": "",
"meta": {},
"name": "space",
"params": {
"id": "472747194"
},
"path": "/space/472747194",
"query": {}
},
"search": {
"blacklistArchive": [],
"bsource": "",
"isCustom": false,
"keyword": "",
"openAppDialog": true,
"searchAllResult": {
"click": {
"noMore": false,
"page": 0,
"result": [],
"total": 0
},
"dm": {
"noMore": false,
"page": 0,
"result": [],
"total": 0
},
"extra": {
"count": {
"bili_user": 0,
"media_bangumi": 0,
"media_ft": 0,
"video": 0
},
"filmList": [],
"pgcList": []
},
"pubdate": {
"noMore": false,
"page": 0,
"result": [],
"total": 0
},
"totalrank": {
"noMore": false,
"page": 0,
"result": [],
"total": 0
}
},
"searchBangumiResult": {
"noMore": false,
"page": 0,
"result": [],
"total": 0
},
"searchFilmResult": {
"noMore": false,
"page": 0,
"result": [],
"total": 0
},
"searchUserResult": {
"noMore": false,
"page": 0,
"result": [],
"total": 0
}
},
"space": {
"feedList": {
"error": false,
"extra": {},
"noMore": false,
"result": []
},
"info": {
"attestation": {
"common_info": {
"prefix": "bilibili UP主认证",
"prefix_title": "bilibili UP主认证:bilibili 知名UP主",
"title": "bilibili 知名UP主"
},
"desc": "",
"icon": "https://i0.hdslb.com/bfs/activity-plat/static/20230828/e3b8ebec8e86f060b930a2c0536bb88b/72wejSxl9Z.png",
"splice_info": {
"title": "bilibili 知名UP主"
},
"type": 2
},
"birthday": "01-22",
"certificate_show": false,
"coins": 0,
"contract": null,
"control": 0,
"elec": {
"show_info": {
"icon": "https://i0.hdslb.com/bfs/garb/item/33e2e72d9a0c855f036b4cb55448f44af67a0635.png",
"jump_url": "https://www.bilibili.com/h5/upower/index?mid=472747194&navhide=1&oid=472747194",
"jump_url_web": "https://member.bilibili.com/mall/upower-pay?mid=472747194",
"list": [
{
"avatar": "https://i0.hdslb.com/bfs/face/edde8ef9e029c298dc2fad663ef948b20ef2d489.jpg",
"pay_mid": 10302270,
"rank": 1,
"uname": "JosephZ8901"
},
{
"avatar": "https://i0.hdslb.com/bfs/face/1050e369495e476333d73c83371a894a9b12ce75.jpg",
"pay_mid": 362793762,
"rank": 2,
"uname": "cathiegao"
},
{
"avatar": "https://i1.hdslb.com/bfs/face/c1de1ed35d0b19b355fec5a3c7177fbbcd17f801.jpg",
"pay_mid": 279173605,
"rank": 3,
"uname": "石头爱喝水21126"
},
{
"avatar": "https://i2.hdslb.com/bfs/face/6d9ef0098bb5d8448af88be78a32465264c44b69.jpg",
"pay_mid": 210411350,
"rank": 4,
"uname": "東青先生"
},
{
"avatar": "https://i1.hdslb.com/bfs/face/5a87a2e9e3d49ab0cf13bd460e40b2d64b153eeb.jpg",
"pay_mid": 8513815,
"rank": 5,
"uname": "傲娇善"
},
{
"avatar": "https://i2.hdslb.com/bfs/face/dfe77fd9fb029011dbdde35e6960f652ead8ee84.jpg",
"pay_mid": 412176521,
"rank": 6,
"uname": "可以理性讨论的安全区"
},
{
"avatar": "https://i0.hdslb.com/bfs/face/member/noface.jpg",
"pay_mid": 3546751982110826,
"rank": 7,
"uname": "bili_34170236813"
}
],
"long_title": "",
"show": true,
"state": 2,
"title": "充电",
"total": 7967,
"upower_count_show": true
}
},
"face": "https://i0.hdslb.com/bfs/face/c518dc95663850d075a90897de617cc634151f7a.jpg",
"face_nft": 0,
"face_nft_type": 0,
"fans_badge": true,
"fans_medal": {
"detail": null,
"medal": null,
"show": false,
"wear": false
},
"gaia_data": null,
"gaia_res_type": 0,
"is_followed": false,
"is_risk": false,
"is_senior_member": 0,
"jointime": 0,
"level": 6,
"live_room": null,
"mcn_info": null,
"mid": 472747194,
"moral": 0,
"name": "巫师财经",
"name_render": null,
"nameplate": {
"condition": "",
"image": "",
"image_small": "",
"level": "",
"name": "",
"nid": 0
},
"official": {
"desc": "",
"role": 1,
"title": "bilibili 知名UP主",
"type": 0
},
"pendant": {
"expire": 0,
"image": "",
"image_enhance": "",
"image_enhance_frame": "",
"n_pid": 0,
"name": "",
"pid": 0
},
"profession": {
"department": "",
"is_show": 0,
"name": "",
"title": ""
},
"rank": 10000,
"school": null,
"series": {
"show_upgrade_window": false,
"user_upgrade_status": 3
},
"sex": "男",
"sign": "前中金分析师,合作:nef_mk,文字和图表都发在公众号了,自取随便用,就说是你写的",
"silence": 0,
"sys_notice": {},
"tags": [
"资本永不眠"
],
"theme": null,
"top_photo": "bfs/space/cd52d4ac1d336c940cc4958120170f7928d9e606.png",
"top_photo_v2": {
"l_200h_img": "https://i2.hdslb.com/bfs/activity-plat/static/0977767b2e79d8ad0a36a731068a83d7/uL5vWnvU3i.png",
"l_img": "https://i0.hdslb.com/bfs/space/cd52d4ac1d336c940cc4958120170f7928d9e606.png",
"sid": 9
},
"user_honour_info": {
"colour": null,
"is_latest_100honour": 0,
"mid": 0,
"tags": []
},
"vip": {
"avatar_icon": {
"icon_resource": {},
"icon_type": 1
},
"avatar_subscript": 1,
"avatar_subscript_url": "",
"due_date": 1822406400000,
"label": {
"bg_color": "#FB7299",
"bg_style": 1,
"border_color": "",
"img_label_uri_hans": "https://i0.hdslb.com/bfs/activity-plat/static/20220608/e369244d0b14644f5e1a06431e22a4d5/0DFy9BHgwE.gif",
"img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/8d7e624d13d3e134251e4174a7318c19a8edbd71.png",
"img_label_uri_hant": "",
"img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/uckjAv3Npy.png",
"img_label_uri_i18n": "",
"img_label_uri_i18n_static": "",
"label_goto": {
"mobile": "https://big.bilibili.com/mobile/index?navhide=1&from_spmid=vipicon",
"pc_web": "https://account.bilibili.com/big?from_spmid=vipicon"
},
"label_id": -22,
"label_theme": "annual_vip",
"label_type": 2,
"path": "http://i0.hdslb.com/bfs/vip/label_annual.png",
"text": "年度大会员",
"text_color": "#FFFFFF",
"use_img_label": true
},
"nickname_color": "#FB7299",
"ott_info": {
"overdue_time": 1822406400,
"pay_channel_id": "",
"pay_type": 0,
"status": 1,
"vip_type": 1
},
"role": 3,
"status": 1,
"super_vip": {
"is_super_vip": true
},
"theme_type": 0,
"tv_due_date": 1822406400,
"tv_vip_pay_type": 0,
"tv_vip_status": 1,
"type": 2,
"vip_pay_type": 0
}
},
"mid": 472747194
},
"tag": {
"tagInfo": {},
"tagRelated": {
"error": false,
"extra": {},
"result": [],
"total": 0
},
"tagSimilar": []
},
"topic": {
"activities": {},
"ads": {},
"headerTextColor": 0,
"isExpanded": false,
"relevantTopics": [],
"topicDetail": {},
"topicId": 0,
"topicListResult": {
"error": false,
"extra": {},
"no_more": false,
"result": [],
"total": 0
}
},
"tribee": {
"tribeeBaseInfo": {},
"tribeeInviteDefer": null,
"tribeeInviteInfo": null,
"tribeeList": [],
"tribeeListTotal": 0,
"tribeeSteamHomeInfo": {}
},
"video": {
"archiveConfigId": "",
"archiveType": 0,
"avid": 0,
"breadcrumb": {},
"bsource": "",
"bvid": "",
"elec": {},
"error": 0,
"eventConfig": {
"bottomBannerImage": "",
"bottomBannerUrl": {
"searchKeyword": "",
"type": "browser",
"urlH5": ""
},
"mainCallButtonText": "",
"relatedTabList": [],
"relatedTabText": {
"text": "",
"videoListID": ""
},
"topBannerImage": "",
"topButtonUrl": {
"searchKeyword": "",
"type": "browser",
"urlH5": ""
},
"topSearchUrl": {
"searchKeyword": "",
"type": "browser",
"urlH5": ""
}
},
"gameMode": false,
"hotSearchVideoList": [],
"hotWord": "",
"isClient": false,
"isCustom": false,
"isFromNaturalSearch": false,
"isRelatedUp": false,
"isSem": false,
"isTab3": false,
"keyword": "",
"p": 0,
"pageType": "share",
"playState": "init",
"playUrlInfo": {},
"playerSettings": {},
"qnExp": null,
"quality": 16,
"related": {
"error": false,
"extra": {},
"noMore": false,
"result": []
},
"reportMsg": {},
"streamQuality": 16,
"supportFormats": [],
"tags": [],
"togglePlay": true,
"trackId": "",
"upInfo": {},
"videoPageSettings": {},
"viewInfo": {}
}
},
"message": null,
"recordTime": null
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Bilibili User Profile API (V2)
Retrieve a Bilibili user profile identified by UID. Supply an uid. Sample fields include hashes and rankings. Use it for account discovery and creator research.
## Available implementations
justoneapi · Bilibili User Profile API (V2): https://openany.si/markets/apis/capabilities/bilibili-user-profile-api-v2?offering=8e41d593-b887-407e-a0c6-ec0d7666c2f7 · $0.015385 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/bilibili-user-profile-api-v2
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/justoneapi/api/bilibili/get-user-detail/v2
Price: $0.015385 / call
Provider: justoneapi
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/justoneapi/api/bilibili/get-user-detail/v2?uid=%3CREPLACE_UID%3E' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Bilibili User Profile API (V2)",
"endpoint": "https://api.openany.si/v1/agent-apis/justoneapi/api/bilibili/get-user-detail/v2",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Bilibili User ID (UID).",
"location": "query",
"name": "uid",
"nullable": false,
"required": true,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "15385",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example · Historical response; independent request temp",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"uid": "<REPLACE_UID>"
}
},
"response_body": {
"code": 0,
"data": {
"channel": {
"channelConfig": [],
"channelData": {},
"serverFetched": null
},
"common": {
"abtest": {
"h5_resolution": "1"
},
"autoFallback": {
"config": {
"def": "",
"dl": [],
"fr": false,
"hasSuffixesConfig": false,
"suffixes": {}
},
"connectivities": {},
"defDomain": "",
"defFallbackThreshold": 5,
"defUpdated": false,
"hasSuffixesConfig": false,
"on": false,
"suffixConfigs": {},
"wl": [],
"x": 48
},
"browser": {
"CMDC": false,
"MicroMessenger": false,
"QQLive": false,
"Safari": false,
"Youku": false,
"android": true,
"baidu": true,
"baiduspider": false,
"chrome": false,
"harmonyOSNext": false,
"iPad": false,
"iPhone": false,
"ios": false,
"iqiyi": false,
"mbaidu": true,
"mobile": true,
"mqq": false,
"oppoBrowser": false,
"qq": false,
"quark": false,
"uc": false,
"webApp": false,
"wechat": false,
"weibo": false,
"windowsphone": false,
"wxwork": false,
"xiaomiqjs": false,
"zhihu": false
},
"defDomain": "",
"ipRegion": "",
"isOversea": false,
"isWxTagLaunch": false,
"legalRegion": "",
"noCallApp": false,
"serverConfig": {
"constants": {
"newClipboard": false
},
"customChannel": {
"bsource": [
"OPPO_search",
"vendor_vivo_widget_search"
]
},
"limitChannel": {
"bsource": [
"bilibili-toutiao",
"search_google",
"bddj"
],
"referrer": [
"(.)*\\.google.com"
],
"ua": [
"MicroMessenger",
"wxwork",
"Weibo",
"qzone/.*_qz_([\\d.]+)",
"QQ/([\\d\\.]+)",
"NewsArticle",
"GoldBrowser",
"WukongSearch",
"wksearch",
"SKLand",
"Googlebot"
]
},
"openappDialogConfig": {
"autoOpenappLimit": 3,
"commonOpenappFailedLimit": 3,
"naturalSearchPlayerPauseOpenappLimit": 5,
"naturalSearchPlayerPlayOpenappLimit": 3,
"sharePlayerPauseOpenappLimit": 20,
"sharePlayerPlayOpenappLimit": 10
},
"switch": {
"search_h5_style": "column1"
}
},
"switch": {
"search_h5_style": "column1"
},
"ua": "Mozilla/5.0 (Linux; Android 8.1.0; NX606J Build/OPM1.171019.026; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/76.0.3809.89 Mobile Safari/537.36 T7/11.20 SP-engine/2.16.0 baiduboxapp/11.20.0.14 (Baidu; P1 8.1.0)",
"userInfo": {
"completed": false,
"face": "",
"isLogin": false,
"vipStatus": 0,
"vipType": 0
}
},
"home": {
"hotList": {
"error": false,
"extra": {},
"noMore": false,
"result": []
}
},
"opus": {
"detail": null,
"fallback": {
"id": "",
"type": 0
},
"id": "",
"isClient": false,
"isTab3": false,
"preview": null,
"uniqueK": "",
"verifyData": null
},
"playlist": {
"forbidPreview": false,
"hasMore": true,
"isClient": false,
"mediaData": {
"mediaList": [],
"noMore": false,
"pn": 1,
"ps": 20
},
"mediaId": "",
"mediaList": [],
"p": 1,
"playEnd": false,
"playMode": "order",
"playSum": 0,
"playUrl": [],
"playlistType": 3,
"ps": 20,
"randomList": [],
"tid": 0,
"videoIndex": 0,
"videoInfo": {}
},
"route": {
"from": {
"fullPath": "/",
"hash": "",
"meta": {},
"name": null,
"params": {},
"path": "/",
"query": {}
},
"fullPath": "/space/472747194",
"hash": "",
"meta": {},
"name": "space",
"params": {
"id": "472747194"
},
"path": "/space/472747194",
"query": {}
},
"search": {
"blacklistArchive": [],
"bsource": "",
"isCustom": false,
"keyword": "",
"openAppDialog": true,
"searchAllResult": {
"click": {
"noMore": false,
"page": 0,
"result": [],
"total": 0
},
"dm": {
"noMore": false,
"page": 0,
"result": [],
"total": 0
},
"extra": {
"count": {
"bili_user": 0,
"media_bangumi": 0,
"media_ft": 0,
"video": 0
},
"filmList": [],
"pgcList": []
},
"pubdate": {
"noMore": false,
"page": 0,
"result": [],
"total": 0
},
"totalrank": {
"noMore": false,
"page": 0,
"result": [],
"total": 0
}
},
"searchBangumiResult": {
"noMore": false,
"page": 0,
"result": [],
"total": 0
},
"searchFilmResult": {
"noMore": false,
"page": 0,
"result": [],
"total": 0
},
"searchUserResult": {
"noMore": false,
"page": 0,
"result": [],
"total": 0
}
},
"space": {
"feedList": {
"error": false,
"extra": {},
"noMore": false,
"result": []
},
"info": {
"attestation": {
"common_info": {
"prefix": "bilibili UP主认证",
"prefix_title": "bilibili UP主认证:bilibili 知名UP主",
"title": "bilibili 知名UP主"
},
"desc": "",
"icon": "https://i0.hdslb.com/bfs/activity-plat/static/20230828/e3b8ebec8e86f060b930a2c0536bb88b/72wejSxl9Z.png",
"splice_info": {
"title": "bilibili 知名UP主"
},
"type": 2
},
"birthday": "01-22",
"certificate_show": false,
"coins": 0,
"contract": null,
"control": 0,
"elec": {
"show_info": {
"icon": "https://i0.hdslb.com/bfs/garb/item/33e2e72d9a0c855f036b4cb55448f44af67a0635.png",
"jump_url": "https://www.bilibili.com/h5/upower/index?mid=472747194&navhide=1&oid=472747194",
"jump_url_web": "https://member.bilibili.com/mall/upower-pay?mid=472747194",
"list": [
{
"avatar": "https://i0.hdslb.com/bfs/face/edde8ef9e029c298dc2fad663ef948b20ef2d489.jpg",
"pay_mid": 10302270,
"rank": 1,
"uname": "JosephZ8901"
},
{
"avatar": "https://i0.hdslb.com/bfs/face/1050e369495e476333d73c83371a894a9b12ce75.jpg",
"pay_mid": 362793762,
"rank": 2,
"uname": "cathiegao"
},
{
"avatar": "https://i1.hdslb.com/bfs/face/c1de1ed35d0b19b355fec5a3c7177fbbcd17f801.jpg",
"pay_mid": 279173605,
"rank": 3,
"uname": "石头爱喝水21126"
},
{
"avatar": "https://i2.hdslb.com/bfs/face/6d9ef0098bb5d8448af88be78a32465264c44b69.jpg",
"pay_mid": 210411350,
"rank": 4,
"uname": "東青先生"
},
{
"avatar": "https://i1.hdslb.com/bfs/face/5a87a2e9e3d49ab0cf13bd460e40b2d64b153eeb.jpg",
"pay_mid": 8513815,
"rank": 5,
"uname": "傲娇善"
},
{
"avatar": "https://i2.hdslb.com/bfs/face/dfe77fd9fb029011dbdde35e6960f652ead8ee84.jpg",
"pay_mid": 412176521,
"rank": 6,
"uname": "可以理性讨论的安全区"
},
{
"avatar": "https://i0.hdslb.com/bfs/face/member/noface.jpg",
"pay_mid": 3546751982110826,
"rank": 7,
"uname": "bili_34170236813"
}
],
"long_title": "",
"show": true,
"state": 2,
"title": "充电",
"total": 7967,
"upower_count_show": true
}
},
"face": "https://i0.hdslb.com/bfs/face/c518dc95663850d075a90897de617cc634151f7a.jpg",
"face_nft": 0,
"face_nft_type": 0,
"fans_badge": true,
"fans_medal": {
"detail": null,
"medal": null,
"show": false,
"wear": false
},
"gaia_data": null,
"gaia_res_type": 0,
"is_followed": false,
"is_risk": false,
"is_senior_member": 0,
"jointime": 0,
"level": 6,
"live_room": null,
"mcn_info": null,
"mid": 472747194,
"moral": 0,
"name": "巫师财经",
"name_render": null,
"nameplate": {
"condition": "",
"image": "",
"image_small": "",
"level": "",
"name": "",
"nid": 0
},
"official": {
"desc": "",
"role": 1,
"title": "bilibili 知名UP主",
"type": 0
},
"pendant": {
"expire": 0,
"image": "",
"image_enhance": "",
"image_enhance_frame": "",
"n_pid": 0,
"name": "",
"pid": 0
},
"profession": {
"department": "",
"is_show": 0,
"name": "",
"title": ""
},
"rank": 10000,
"school": null,
"series": {
"show_upgrade_window": false,
"user_upgrade_status": 3
},
"sex": "男",
"sign": "前中金分析师,合作:nef_mk,文字和图表都发在公众号了,自取随便用,就说是你写的",
"silence": 0,
"sys_notice": {},
"tags": [
"资本永不眠"
],
"theme": null,
"top_photo": "bfs/space/cd52d4ac1d336c940cc4958120170f7928d9e606.png",
"top_photo_v2": {
"l_200h_img": "https://i2.hdslb.com/bfs/activity-plat/static/0977767b2e79d8ad0a36a731068a83d7/uL5vWnvU3i.png",
"l_img": "https://i0.hdslb.com/bfs/space/cd52d4ac1d336c940cc4958120170f7928d9e606.png",
"sid": 9
},
"user_honour_info": {
"colour": null,
"is_latest_100honour": 0,
"mid": 0,
"tags": []
},
"vip": {
"avatar_icon": {
"icon_resource": {},
"icon_type": 1
},
"avatar_subscript": 1,
"avatar_subscript_url": "",
"due_date": 1822406400000,
"label": {
"bg_color": "#FB7299",
"bg_style": 1,
"border_color": "",
"img_label_uri_hans": "https://i0.hdslb.com/bfs/activity-plat/static/20220608/e369244d0b14644f5e1a06431e22a4d5/0DFy9BHgwE.gif",
"img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/8d7e624d13d3e134251e4174a7318c19a8edbd71.png",
"img_label_uri_hant": "",
"img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/uckjAv3Npy.png",
"img_label_uri_i18n": "",
"img_label_uri_i18n_static": "",
"label_goto": {
"mobile": "https://big.bilibili.com/mobile/index?navhide=1&from_spmid=vipicon",
"pc_web": "https://account.bilibili.com/big?from_spmid=vipicon"
},
"label_id": -22,
"label_theme": "annual_vip",
"label_type": 2,
"path": "http://i0.hdslb.com/bfs/vip/label_annual.png",
"text": "年度大会员",
"text_color": "#FFFFFF",
"use_img_label": true
},
"nickname_color": "#FB7299",
"ott_info": {
"overdue_time": 1822406400,
"pay_channel_id": "",
"pay_type": 0,
"status": 1,
"vip_type": 1
},
"role": 3,
"status": 1,
"super_vip": {
"is_super_vip": true
},
"theme_type": 0,
"tv_due_date": 1822406400,
"tv_vip_pay_type": 0,
"tv_vip_status": 1,
"type": 2,
"vip_pay_type": 0
}
},
"mid": 472747194
},
"tag": {
"tagInfo": {},
"tagRelated": {
"error": false,
"extra": {},
"result": [],
"total": 0
},
"tagSimilar": []
},
"topic": {
"activities": {},
"ads": {},
"headerTextColor": 0,
"isExpanded": false,
"relevantTopics": [],
"topicDetail": {},
"topicId": 0,
"topicListResult": {
"error": false,
"extra": {},
"no_more": false,
"result": [],
"total": 0
}
},
"tribee": {
"tribeeBaseInfo": {},
"tribeeInviteDefer": null,
"tribeeInviteInfo": null,
"tribeeList": [],
"tribeeListTotal": 0,
"tribeeSteamHomeInfo": {}
},
"video": {
"archiveConfigId": "",
"archiveType": 0,
"avid": 0,
"breadcrumb": {},
"bsource": "",
"bvid": "",
"elec": {},
"error": 0,
"eventConfig": {
"bottomBannerImage": "",
"bottomBannerUrl": {
"searchKeyword": "",
"type": "browser",
"urlH5": ""
},
"mainCallButtonText": "",
"relatedTabList": [],
"relatedTabText": {
"text": "",
"videoListID": ""
},
"topBannerImage": "",
"topButtonUrl": {
"searchKeyword": "",
"type": "browser",
"urlH5": ""
},
"topSearchUrl": {
"searchKeyword": "",
"type": "browser",
"urlH5": ""
}
},
"gameMode": false,
"hotSearchVideoList": [],
"hotWord": "",
"isClient": false,
"isCustom": false,
"isFromNaturalSearch": false,
"isRelatedUp": false,
"isSem": false,
"isTab3": false,
"keyword": "",
"p": 0,
"pageType": "share",
"playState": "init",
"playUrlInfo": {},
"playerSettings": {},
"qnExp": null,
"quality": 16,
"related": {
"error": false,
"extra": {},
"noMore": false,
"result": []
},
"reportMsg": {},
"streamQuality": 16,
"supportFormats": [],
"tags": [],
"togglePlay": true,
"trackId": "",
"upInfo": {},
"videoPageSettings": {},
"viewInfo": {}
}
},
"message": null,
"recordTime": null
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Official example · Historical response; independent request temp
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
uid- Bilibili User ID (UID).
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/justoneapi/api/bilibili/get-user-detail/v2?uid=%3CREPLACE_UID%3E' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "code": 0, "data": { "channel": { "channelConfig": [], "channelData": {}, "serverFetched": null }, "common": { "abtest": { "h5_resolution": "1" }, "autoFallback": { "config": { "def": "", "dl": [], "fr": false, "hasSuffixesConfig": false, "suffixes": {} }, "connectivities": {}, "defDomain": "", "defFallbackThreshold": 5, "defUpdated": false, "hasSuffixesConfig": false, "on": false, "suffixConfigs": {}, "wl": [], "x": 48 }, "browser": { "CMDC": false, "MicroMessenger": false, "QQLive": false, "Safari": false, "Youku": false, "android": true, "baidu": true, "baiduspider": false, "chrome": false, "harmonyOSNext": false, "iPad": false, "iPhone": false, "ios": false, "iqiyi": false, "mbaidu": true, "mobile": true, "mqq": false, "oppoBrowser": false, "qq": false, "quark": false, "uc": false, "webApp": false, "wechat": false, "weibo": false, "windowsphone": false, "wxwork": false, "xiaomiqjs": false, "zhihu": false }, "defDomain": "", "ipRegion": "", "isOversea": false, "isWxTagLaunch": false, "legalRegion": "", "noCallApp": false, "serverConfig": { "constants": { "newClipboard": false }, "customChannel": { "bsource": [ "OPPO_search", "vendor_vivo_widget_search" ] }, "limitChannel": { "bsource": [ "bilibili-toutiao", "search_google", "bddj" ], "referrer": [ "(.)*\\.google.com" ], "ua": [ "MicroMessenger", "wxwork", "Weibo", "qzone/.*_qz_([\\d.]+)", "QQ/([\\d\\.]+)", "NewsArticle", "GoldBrowser", "WukongSearch", "wksearch", "SKLand", "Googlebot" ] }, "openappDialogConfig": { "autoOpenappLimit": 3, "commonOpenappFailedLimit": 3, "naturalSearchPlayerPauseOpenappLimit": 5, "naturalSearchPlayerPlayOpenappLimit": 3, "sharePlayerPauseOpenappLimit": 20, "sharePlayerPlayOpenappLimit": 10 }, "switch": { "search_h5_style": "column1" } }, "switch": { "search_h5_style": "column1" }, "ua": "Mozilla/5.0 (Linux; Android 8.1.0; NX606J Build/OPM1.171019.026; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/76.0.3809.89 Mobile Safari/537.36 T7/11.20 SP-engine/2.16.0 baiduboxapp/11.20.0.14 (Baidu; P1 8.1.0)", "userInfo": { "completed": false, "face": "", "isLogin": false, "vipStatus": 0, "vipType": 0 } }, "home": { "hotList": { "error": false, "extra": {}, "noMore": false, "result": [] } }, "opus": { "detail": null, "fallback": { "id": "", "type": 0 }, "id": "", "isClient": false, "isTab3": false, "preview": null, "uniqueK": "", "verifyData": null }, "playlist": { "forbidPreview": false, "hasMore": true, "isClient": false, "mediaData": { "mediaList": [], "noMore": false, "pn": 1, "ps": 20 }, "mediaId": "", "mediaList": [], "p": 1, "playEnd": false, "playMode": "order", "playSum": 0, "playUrl": [], "playlistType": 3, "ps": 20, "randomList": [], "tid": 0, "videoIndex": 0, "videoInfo": {} }, "route": { "from": { "fullPath": "/", "hash": "", "meta": {}, "name": null, "params": {}, "path": "/", "query": {} }, "fullPath": "/space/472747194", "hash": "", "meta": {}, "name": "space", "params": { "id": "472747194" }, "path": "/space/472747194", "query": {} }, "search": { "blacklistArchive": [], "bsource": "", "isCustom": false, "keyword": "", "openAppDialog": true, "searchAllResult": { "click": { "noMore": false, "page": 0, "result": [], "total": 0 }, "dm": { "noMore": false, "page": 0, "result": [], "total": 0 }, "extra": { "count": { "bili_user": 0, "media_bangumi": 0, "media_ft": 0, "video": 0 }, "filmList": [], "pgcList": [] }, "pubdate": { "noMore": false, "page": 0, "result": [], "total": 0 }, "totalrank": { "noMore": false, "page": 0, "result": [], "total": 0 } }, "searchBangumiResult": { "noMore": false, "page": 0, "result": [], "total": 0 }, "searchFilmResult": { "noMore": false, "page": 0, "result": [], "total": 0 }, "searchUserResult": { "noMore": false, "page": 0, "result": [], "total": 0 } }, "space": { "feedList": { "error": false, "extra": {}, "noMore": false, "result": [] }, "info": { "attestation": { "common_info": { "prefix": "bilibili UP主认证", "prefix_title": "bilibili UP主认证:bilibili 知名UP主", "title": "bilibili 知名UP主" }, "desc": "", "icon": "https://i0.hdslb.com/bfs/activity-plat/static/20230828/e3b8ebec8e86f060b930a2c0536bb88b/72wejSxl9Z.png", "splice_info": { "title": "bilibili 知名UP主" }, "type": 2 }, "birthday": "01-22", "certificate_show": false, "coins": 0, "contract": null, "control": 0, "elec": { "show_info": { "icon": "https://i0.hdslb.com/bfs/garb/item/33e2e72d9a0c855f036b4cb55448f44af67a0635.png", "jump_url": "https://www.bilibili.com/h5/upower/index?mid=472747194&navhide=1&oid=472747194", "jump_url_web": "https://member.bilibili.com/mall/upower-pay?mid=472747194", "list": [ { "avatar": "https://i0.hdslb.com/bfs/face/edde8ef9e029c298dc2fad663ef948b20ef2d489.jpg", "pay_mid": 10302270, "rank": 1, "uname": "JosephZ8901" }, { "avatar": "https://i0.hdslb.com/bfs/face/1050e369495e476333d73c83371a894a9b12ce75.jpg", "pay_mid": 362793762, "rank": 2, "uname": "cathiegao" }, { "avatar": "https://i1.hdslb.com/bfs/face/c1de1ed35d0b19b355fec5a3c7177fbbcd17f801.jpg", "pay_mid": 279173605, "rank": 3, "uname": "石头爱喝水21126" }, { "avatar": "https://i2.hdslb.com/bfs/face/6d9ef0098bb5d8448af88be78a32465264c44b69.jpg", "pay_mid": 210411350, "rank": 4, "uname": "東青先生" }, { "avatar": "https://i1.hdslb.com/bfs/face/5a87a2e9e3d49ab0cf13bd460e40b2d64b153eeb.jpg", "pay_mid": 8513815, "rank": 5, "uname": "傲娇善" }, { "avatar": "https://i2.hdslb.com/bfs/face/dfe77fd9fb029011dbdde35e6960f652ead8ee84.jpg", "pay_mid": 412176521, "rank": 6, "uname": "可以理性讨论的安全区" }, { "avatar": "https://i0.hdslb.com/bfs/face/member/noface.jpg", "pay_mid": 3546751982110826, "rank": 7, "uname": "bili_34170236813" } ], "long_title": "", "show": true, "state": 2, "title": "充电", "total": 7967, "upower_count_show": true } }, "face": "https://i0.hdslb.com/bfs/face/c518dc95663850d075a90897de617cc634151f7a.jpg", "face_nft": 0, "face_nft_type": 0, "fans_badge": true, "fans_medal": { "detail": null, "medal": null, "show": false, "wear": false }, "gaia_data": null, "gaia_res_type": 0, "is_followed": false, "is_risk": false, "is_senior_member": 0, "jointime": 0, "level": 6, "live_room": null, "mcn_info": null, "mid": 472747194, "moral": 0, "name": "巫师财经", "name_render": null, "nameplate": { "condition": "", "image": "", "image_small": "", "level": "", "name": "", "nid": 0 }, "official": { "desc": "", "role": 1, "title": "bilibili 知名UP主", "type": 0 }, "pendant": { "expire": 0, "image": "", "image_enhance": "", "image_enhance_frame": "", "n_pid": 0, "name": "", "pid": 0 }, "profession": { "department": "", "is_show": 0, "name": "", "title": "" }, "rank": 10000, "school": null, "series": { "show_upgrade_window": false, "user_upgrade_status": 3 }, "sex": "男", "sign": "前中金分析师,合作:nef_mk,文字和图表都发在公众号了,自取随便用,就说是你写的", "silence": 0, "sys_notice": {}, "tags": [ "资本永不眠" ], "theme": null, "top_photo": "bfs/space/cd52d4ac1d336c940cc4958120170f7928d9e606.png", "top_photo_v2": { "l_200h_img": "https://i2.hdslb.com/bfs/activity-plat/static/0977767b2e79d8ad0a36a731068a83d7/uL5vWnvU3i.png", "l_img": "https://i0.hdslb.com/bfs/space/cd52d4ac1d336c940cc4958120170f7928d9e606.png", "sid": 9 }, "user_honour_info": { "colour": null, "is_latest_100honour": 0, "mid": 0, "tags": [] }, "vip": { "avatar_icon": { "icon_resource": {}, "icon_type": 1 }, "avatar_subscript": 1, "avatar_subscript_url": "", "due_date": 1822406400000, "label": { "bg_color": "#FB7299", "bg_style": 1, "border_color": "", "img_label_uri_hans": "https://i0.hdslb.com/bfs/activity-plat/static/20220608/e369244d0b14644f5e1a06431e22a4d5/0DFy9BHgwE.gif", "img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/8d7e624d13d3e134251e4174a7318c19a8edbd71.png", "img_label_uri_hant": "", "img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/uckjAv3Npy.png", "img_label_uri_i18n": "", "img_label_uri_i18n_static": "", "label_goto": { "mobile": "https://big.bilibili.com/mobile/index?navhide=1&from_spmid=vipicon", "pc_web": "https://account.bilibili.com/big?from_spmid=vipicon" }, "label_id": -22, "label_theme": "annual_vip", "label_type": 2, "path": "http://i0.hdslb.com/bfs/vip/label_annual.png", "text": "年度大会员", "text_color": "#FFFFFF", "use_img_label": true }, "nickname_color": "#FB7299", "ott_info": { "overdue_time": 1822406400, "pay_channel_id": "", "pay_type": 0, "status": 1, "vip_type": 1 }, "role": 3, "status": 1, "super_vip": { "is_super_vip": true }, "theme_type": 0, "tv_due_date": 1822406400, "tv_vip_pay_type": 0, "tv_vip_status": 1, "type": 2, "vip_pay_type": 0 } }, "mid": 472747194 }, "tag": { "tagInfo": {}, "tagRelated": { "error": false, "extra": {}, "result": [], "total": 0 }, "tagSimilar": [] }, "topic": { "activities": {}, "ads": {}, "headerTextColor": 0, "isExpanded": false, "relevantTopics": [], "topicDetail": {}, "topicId": 0, "topicListResult": { "error": false, "extra": {}, "no_more": false, "result": [], "total": 0 } }, "tribee": { "tribeeBaseInfo": {}, "tribeeInviteDefer": null, "tribeeInviteInfo": null, "tribeeList": [], "tribeeListTotal": 0, "tribeeSteamHomeInfo": {} }, "video": { "archiveConfigId": "", "archiveType": 0, "avid": 0, "breadcrumb": {}, "bsource": "", "bvid": "", "elec": {}, "error": 0, "eventConfig": { "bottomBannerImage": "", "bottomBannerUrl": { "searchKeyword": "", "type": "browser", "urlH5": "" }, "mainCallButtonText": "", "relatedTabList": [], "relatedTabText": { "text": "", "videoListID": "" }, "topBannerImage": "", "topButtonUrl": { "searchKeyword": "", "type": "browser", "urlH5": "" }, "topSearchUrl": { "searchKeyword": "", "type": "browser", "urlH5": "" } }, "gameMode": false, "hotSearchVideoList": [], "hotWord": "", "isClient": false, "isCustom": false, "isFromNaturalSearch": false, "isRelatedUp": false, "isSem": false, "isTab3": false, "keyword": "", "p": 0, "pageType": "share", "playState": "init", "playUrlInfo": {}, "playerSettings": {}, "qnExp": null, "quality": 16, "related": { "error": false, "extra": {}, "noMore": false, "result": [] }, "reportMsg": {}, "streamQuality": 16, "supportFormats": [], "tags": [], "togglePlay": true, "trackId": "", "upInfo": {}, "videoPageSettings": {}, "viewInfo": {} } }, "message": null, "recordTime": null }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use Bilibili User Profile API (V2) with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.