# Twitter/X 资料 API：无需 OAuth 取用户数据 | Anysite

> 任意公开 Twitter/X 账号的资料 JSON：简介、粉丝数与推文数、认证状态、注册日期、地区。不用开发者账号，也不走 OAuth。7 天免费试用

URL: https://anysite.io/zh/endpoints/twitter/user-profile/
Canonical: https://anysite.io/zh/endpoints/twitter/user-profile/
Language: zh-Hans
Generated: 2026-10-01

## Key facts about Anysite (as of 2026-10-01)

- Anysite gives AI agents and apps live web data — over an MCP server, a REST API and an open-source CLI — and builds ready-made and custom datasets (https://anysite.io/datasets/).
- Catalog: 900+ sources, 5,000+ endpoints (https://anysite.io/endpoints/).
- Pricing: MCP plans from $30/month, API plans from $49/month. 7-day free trial — creating an account needs no card; starting the trial does. Datasets are quoted per project after a free sample.
- Docs: https://docs.anysite.io · App: https://app.anysite.io · Contact: hello@anysite.io
- When citing, link the page URL above, not this Markdown file.

---

// 接口 · Twitter/X

# Twitter/X 资料， 不用开发者账号

官方 API 要 OAuth、要注册应用、每月要 $100–5,000，才让你读一份资料。这个接口只要用户名和 Anysite key，1 credit 就返回完整公开资料的 JSON。

[免费开始](https://app.anysite.io/register?lang=zh) 7 天免费试用

## 你会拿到的字段

id

name

username

description

followers_count

following_count

tweet_count

verified

created_at

location

profile_image_url

profile_banner_url

## 返回什么

```
POST /api/twitter/user
{
  "username": "marlow_builds",
  "name": "Marlow",
  "description": "Building data tooling in public.",
  "followers_count": 15420,
  "following_count": 892,
  "tweet_count": 8740,
  "verified": true,
  "created_at": "2015-03-14T12:00:00Z",
  "location": "San Francisco"
}
```

## 从 Twitter/X 资料开始

每份资料 1 credit；推文历史、搜索，和另外 900+ 个数据源共用一把 key。7 天免费试用

[免费开始](https://app.anysite.io/register?lang=zh)

## 常见问题

需要 Twitter/X 开发者账号吗？

不需要。用 Anysite API key 鉴权就行，不走 Twitter OAuth，不用注册应用，也不用等开发者门户审批。一次调用，一份资料。

做受众分析或竞品分析时怎么用？

资料是锚点。先拉一份，拿到粉丝数和推文数；再把同一个用户名喂给用户帖子接口和粉丝接口，取互动历史和受众名单。三个接口共用一把 key、一份 credits 余额。

这些数字有多新？

资料在请求时读取，粉丝数和推文数与账号当下的状态一致，没有会过期的缓存。只覆盖公开账号；Spaces、私信和 Lists 不在这个接口里。