# 作者主页

按 UID 取 B 站 UP 主资料。UID 来自搜索或视频详情的返回。

ID: native-http:social.bilibili.author.profile · Region: cn · Status: available

catalog_version: 5c920c774a55e44d7e8c709143b88a18b8b2afcef91a5d19a8c9ae5d565d9077
updated_at: 2026-10-21T12:06:16.523771+00:00

按 UID 取 B 站 UP 主资料。UID 来自搜索或视频详情的返回。

历史数据以数据集发布版本定义覆盖周期；实时读取反映请求时资料，不保证覆盖全部记录。

Docs: https://docs.asklear.cn/capabilities/native-http%3Asocial.bilibili.author.profile

## POST /v1/native/social/bilibili/authors/profile

native · available · api_key

REST 需要客户 API Key；MCP 需要已开放的服务及现有授权；CLI 需要已发布且包含该命令的客户端。

按 UID 取 B 站 UP 主资料。UID 来自搜索或视频详情的返回。

按成功请求计费，每次请求计一次；max_credits 限制本次费用上限。

恢复同一次原生请求时复用原 Idempotency-Key。

等待态响应提供结果/状态引用。先读取原结果；超时或结果不明时禁止自动重新提交付费执行。401/403/422 应先修正鉴权、权限或输入。

### Input schema / 输入契约

```json
{
  "$defs": {
    "Schema1": {}
  },
  "additionalProperties": false,
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "author_id": {
          "description": "用户ID/User ID",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[0-9]+$",
          "type": "string"
        }
      },
      "required": [
        "author_id"
      ],
      "type": "object"
    },
    "max_credits": {
      "anyOf": [
        {
          "maximum": 1000000000,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "task_query": {
      "anyOf": [
        {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional task attribution: when provided, write one concise, self-contained task_query in the user's language and reuse that exact value in every call for the task, including discovery, search, approval retry, results, export, and status checks. For MCP calls, when omitted, Asklear records a generic non-user-specific attribution so compatible clients can still call the tool. REST calls may omit it and remain unattributed. It is a task description, not a task identifier. Do not include hidden reasoning, credentials, or direct personal identifiers such as phone numbers, email addresses, identity numbers, or street addresses.",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "default": null
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}
```

### Synthetic request / 合成请求

```json
{
  "input": {
    "author_id": "0000000000000000000000000000000000000000000000000000000000000000"
  }
}
```

### Response schema / 响应契约

```json
{
  "$defs": {
    "Schema1": {},
    "Schema2": {
      "properties": {
        "api_name": {
          "type": "string"
        },
        "credits_charged": {
          "minimum": 0,
          "type": "integer"
        },
        "latency_ms": {
          "minimum": 0,
          "type": "integer"
        },
        "next_input": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "author_id": {
                  "maxLength": 64,
                  "minLength": 1,
                  "pattern": "^[0-9]+$",
                  "type": "string"
                }
              },
              "required": [
                "author_id"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "api_name",
        "request_id",
        "latency_ms",
        "credits_charged",
        "next_input"
      ],
      "type": "object"
    }
  },
  "properties": {
    "data": {
      "additionalProperties": true,
      "description": "Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.",
      "properties": {
        "code": {
          "type": [
            "integer",
            "null"
          ]
        },
        "data": {
          "additionalProperties": true,
          "properties": {
            "code": {
              "type": [
                "integer",
                "null"
              ]
            },
            "data": {
              "additionalProperties": true,
              "properties": {
                "ad_source_content_v2": {
                  "additionalProperties": true,
                  "properties": {
                    "ad_content": {
                      "additionalProperties": true,
                      "properties": {
                        "extra": {
                          "additionalProperties": true,
                          "properties": {
                            "card": {
                              "additionalProperties": true,
                              "properties": {
                                "button": {
                                  "additionalProperties": true,
                                  "properties": {
                                    "type": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    }
                                  },
                                  "type": [
                                    "object",
                                    "null"
                                  ]
                                },
                                "covers": {
                                  "items": {
                                    "additionalProperties": true,
                                    "properties": {},
                                    "type": [
                                      "object",
                                      "null"
                                    ]
                                  },
                                  "type": [
                                    "array",
                                    "null"
                                  ]
                                }
                              },
                              "type": [
                                "object",
                                "null"
                              ]
                            }
                          },
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "archive": {
                  "additionalProperties": true,
                  "properties": {
                    "item": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "three_point": {
                            "items": {
                              "additionalProperties": true,
                              "properties": {
                                "type": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "type": [
                                "object",
                                "null"
                              ]
                            },
                            "type": [
                              "array",
                              "null"
                            ]
                          }
                        },
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "order": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {},
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "card": {
                  "additionalProperties": true,
                  "properties": {
                    "article": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "attention": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "avatar": {
                      "additionalProperties": true,
                      "properties": {
                        "fallback_layers": {
                          "additionalProperties": true,
                          "properties": {
                            "layers": {
                              "items": {
                                "additionalProperties": true,
                                "properties": {},
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "type": [
                                "array",
                                "null"
                              ]
                            }
                          },
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "mid": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "fans": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "mid": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "nameplate": {
                      "additionalProperties": true,
                      "properties": {
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "official_verify": {
                      "additionalProperties": true,
                      "properties": {
                        "type": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "pendant": {
                      "additionalProperties": true,
                      "properties": {
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "sign": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "elec": {
                  "additionalProperties": true,
                  "properties": {
                    "elec_set": {
                      "additionalProperties": true,
                      "properties": {
                        "elec_list": {
                          "items": {
                            "additionalProperties": true,
                            "properties": {},
                            "type": [
                              "object",
                              "null"
                            ]
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "total": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "space_button_list": {
                  "items": {
                    "additionalProperties": true,
                    "properties": {},
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "tab2": {
                  "items": {
                    "additionalProperties": true,
                    "properties": {
                      "items": {
                        "items": {
                          "additionalProperties": true,
                          "properties": {},
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "type": [
                          "array",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "ugc_season": {
                  "additionalProperties": true,
                  "properties": {
                    "item": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {},
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "message": {
              "type": [
                "string",
                "null"
              ]
            },
            "ttl": {
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "meta": {
      "$ref": "#/$defs/Schema2"
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "type": "object"
}
```

### Synthetic response / 合成响应

```json
{
  "data": {
    "code": 200,
    "data": {
      "code": 0,
      "data": {
        "ad_source_content_v2": {
          "ad_content": {
            "extra": {
              "card": {
                "button": {
                  "type": 1
                },
                "covers": [
                  {}
                ]
              }
            }
          }
        },
        "archive": {
          "item": [
            {
              "three_point": [
                {
                  "type": "addtoview"
                }
              ]
            }
          ],
          "order": [
            {}
          ]
        },
        "card": {
          "article": 0,
          "attention": 2,
          "avatar": {
            "fallback_layers": {
              "layers": [
                {}
              ]
            },
            "mid": "3546873430281180"
          },
          "fans": 182409,
          "mid": "3546873430281180",
          "name": "懒人测评社",
          "nameplate": {
            "name": "知名偶像"
          },
          "official_verify": {
            "type": -1
          },
          "pendant": {
            "name": ""
          },
          "sign": "专注各类家居&电器测评，只推荐亲测好用，力求帮到更多人不踩坑~ "
        },
        "elec": {
          "elec_set": {
            "elec_list": [
              {}
            ]
          },
          "total": 8
        },
        "space_button_list": [
          {}
        ],
        "tab2": [
          {
            "items": [
              {}
            ]
          }
        ],
        "ugc_season": {
          "item": [
            {}
          ]
        }
      },
      "message": "OK",
      "ttl": 1
    }
  },
  "meta": {
    "api_name": "social.bilibili.author.profile",
    "credits_charged": 3,
    "latency_ms": 12,
    "next_input": null,
    "request_id": "asklear-example"
  }
}
```

- data (object): Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.
- data.code (integer|null): 暂无字段说明
- data.data (object|null): 暂无字段说明
- data.data.code (integer|null): 暂无字段说明
- data.data.data (object|null): 暂无字段说明
- data.data.data.ad_source_content_v2 (object|null): 暂无字段说明
- data.data.data.ad_source_content_v2.ad_content (object|null): 暂无字段说明
- data.data.data.ad_source_content_v2.ad_content.extra (object|null): 暂无字段说明
- data.data.data.archive (object|null): 暂无字段说明
- data.data.data.archive.item (array|null): 暂无字段说明
- data.data.data.archive.order (array|null): 暂无字段说明
- data.data.data.card (object|null): 暂无字段说明
- data.data.data.card.article (integer|null): 文章数（如有）。
- data.data.data.card.attention (integer|null): 关注数（如有）。
- data.data.data.card.avatar (object|null): 暂无字段说明
- data.data.data.card.avatar.fallback_layers (object|null): 暂无字段说明
- data.data.data.card.avatar.mid (string|null): 暂无字段说明
- data.data.data.card.fans (integer|null): 粉丝数（如有）。
- data.data.data.card.mid (string|null): 作者 ID（如有）。
- data.data.data.card.name (string|null): 作者名称（如有）。
- data.data.data.card.nameplate (object|null): 暂无字段说明
- data.data.data.card.nameplate.name (string|null): 暂无字段说明
- data.data.data.card.official_verify (object|null): 暂无字段说明
- data.data.data.card.official_verify.type (integer|null): 暂无字段说明
- data.data.data.card.pendant (object|null): 暂无字段说明
- data.data.data.card.pendant.name (string|null): 暂无字段说明
- data.data.data.card.sign (string|null): 签名（如有）。
- data.data.data.elec (object|null): 暂无字段说明
- data.data.data.elec.elec_set (object|null): 暂无字段说明
- data.data.data.elec.elec_set.elec_list (array|null): 暂无字段说明
- data.data.data.elec.total (integer|null): 暂无字段说明
- data.data.data.space_button_list (array|null): 暂无字段说明
- data.data.data.tab2 (array|null): 暂无字段说明
- data.data.data.ugc_season (object|null): 暂无字段说明
- data.data.data.ugc_season.item (array|null): 暂无字段说明
- data.data.message (string|null): 暂无字段说明
- data.data.ttl (integer|null): 暂无字段说明
- meta (object): 暂无字段说明
- meta.api_name (string): 暂无字段说明
- meta.request_id (string): 暂无字段说明
- meta.latency_ms (integer): 暂无字段说明
- meta.credits_charged (integer): 暂无字段说明
- meta.next_input (scalar): 暂无字段说明
- data.data.data.ad_source_content_v2.ad_content.extra.card (object|null): 暂无字段说明
- data.data.data.ad_source_content_v2.ad_content.extra.card.button (object|null): 暂无字段说明
- data.data.data.ad_source_content_v2.ad_content.extra.card.button.type (integer|null): 暂无字段说明
- data.data.data.ad_source_content_v2.ad_content.extra.card.covers (array|null): 暂无字段说明
- data.data.data.archive.item[].three_point (array|null): 暂无字段说明
- data.data.data.archive.item[].three_point[].type (string|null): 暂无字段说明
- data.data.data.card.avatar.fallback_layers.layers (array|null): 暂无字段说明
- data.data.data.tab2[].items (array|null): 暂无字段说明
- meta.next_input.author_id (string): 暂无字段说明

Follow up: GET /v1/native/results/{query_id}
读取已保存结果，不重复查询数据或收费。

