개요
키워드 검색
이름, 사용자 이름 또는 프로필 소개로 검색
사용자 찾기
관련성이 높은 계정 찾기
엔드포인트
예제 요청
응답 예시
시작하기
사전 준비 사항
- 승인된 개발자 계정
- 개발자 콘솔의 Project와 App
- App의 키와 토큰
사용자 조회
ID 또는 사용자 이름으로 사용자 찾기
API 참조 문서
전체 엔드포인트에 대한 문서
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
키워드로 사용자를 검색합니다
| Method | Endpoint | Description |
|---|---|---|
| GET | /2/users/search | 사용자를 검색 |
curl "https://api.x.com/2/users/search?\
query=python%20developer&\
user.fields=description,verified,public_metrics" \
-H "Authorization: Bearer $BEARER_TOKEN"
{
"data": [
{
"id": "1234567890",
"name": "Python Developer",
"username": "pythondev",
"description": "Building cool things with Python",
"verified": false,
"public_metrics": {
"followers_count": 5000,
"following_count": 200,
"tweet_count": 1500
}
}
],
"meta": {
"result_count": 1
}
}