§ Reference · Speaker Intelligence Database · v0.1
Locus API · 学者情报
Locus API 把清北学术演讲生态——讲者、活动、纪要——封装为机构客户可程序化访问的数据接口。 本页是 v0.1 阶段的标准端点速查;正式合同与 SLA 详见企业订阅协议。
§ 鉴权
Authentication
所有请求需在 Header 中携带 Bearer Token。Token 由企业订阅签约后由 Locus 编辑团队签发。
# 在每个请求中携带 Token Authorization: Bearer sk_live_locus_xxx_yyyyyy
§ 示例 curl
curl https://api.locus.example/v1/speakers/krugman \ -H "Authorization: Bearer sk_live_locus_xxx"
§ 200 · 示例响应
{
"id": "krugman",
"name": "Paul Krugman",
"affiliation": "Princeton / CCNY",
"badges": ["Nobel 2008"],
"visits": [
{ "year": 2019, "venue": "PKU", "score": 4.5 },
{ "year": 2022, "venue": "PKU", "score": 4.7 },
{ "year": 2024, "venue": "THU", "score": 4.6 }
],
"reception": {
"notes_total": 147,
"editor_pick_rate": 0.12,
"cross_discipline_pct": 0.41
}
}
§ 示例 curl
curl "https://api.locus.example/v1/events?date=2026-05-06" \ -H "Authorization: Bearer sk_live_locus_xxx"
§ 示例 curl
curl "https://api.locus.example/v1/notes?event_id=krugman&sort=votes" \ -H "Authorization: Bearer sk_live_locus_xxx"
§ 示例 curl
curl -X POST https://api.locus.example/v1/subscribe \ -H "Authorization: Bearer sk_live_locus_xxx" \ -H "Content-Type: application/json" \ -d '{"speaker_id":"krugman","events":["visit_announced","note_published"],"callback_url":"https://your.example/hook"}'
§ Pricing · API 访问需企业订阅 · ¥5,000–30,000 / 年
联系 api@locus.example 申请 sandbox token · 正式签约附 SLA 与 webhook 回放保障
