鉴权
每个请求必须在 Header 中携带平台 API Key:
http
Authorization: Bearer YOUR_API_KEY
Accept: application/json获取 Key
- 打开 控制台登录 注册 / 登录,创建 API Key
- 创建 API Key
- 仅在服务端使用,勿写入前端或公开仓库
Base URL
https://twidata.wvovw.com
示例
bash
curl -X GET "https://twidata.wvovw.com/twitter/user/elonmusk" -H "Authorization: Bearer YOUR_API_KEY" -H "Accept: application/json"缺少或错误的 Key 将返回 401:
json
{
"status": "error",
"message": "Invalid API key"
}