Twitter Community
anyapi.twitter.communityFetch a Twitter/X community's public details (name, description, member count, join policy) by URL.
- 가격
- $0.0001/success정가 기준
- 성공률
- 100%최근 30일 · 192회
- 지연 시간 p50
- 630 msp95 2.1 s
- 마지막 검증
- 2026. 9. 19.동작 확인됨
POSThttps://toolswitch.dev/v1/tools/anyapi.twitter.communityBeta- 플랫폼 할당량 사용
- 동기 응답
- 공개 데이터 읽기
파라미터
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 요청 본문(JSON) | ||||
url | 문자열 | 필수 | Community URL (e.g. https://x.com/i/communities/1926186499399139650). | https://x.com/i/communities/1926186499399139650 |
- 요청 본문(JSON)
url문자열필수Community URL (e.g. https://x.com/i/communities/1926186499399139650).
예시:
https://x.com/i/communities/1926186499399139650
예시 응답
JSON
{
"items": 0,
"output": {
"data": {
"id": "1926186499399139650",
"name": "The First Thousand",
"createdUtc": 1748073622,
"joinPolicy": "Open",
"description": "This community is for creators and builders who are growing to their first 1,000 followers. Give insights, build your brand, and grow a loyal audience.",
"memberCount": 5629,
"creatorHandle": "carsonrmccann"
},
"found": true
},
"source": {
"id": "anonymous-badger",
"kind": "anonymous",
"name": "Badger",
"artworkKey": "badger"
},
"costUsd": 0.0001,
"provider": "AnyAPI",
"replayed": false,
"resultId": "820d2ce6-85fb-4e2c-b0ed-7a02aef296e4"
}코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
Beta
curl -X POST 'https://toolswitch.dev/v1/tools/anyapi.twitter.community' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"url":"https://x.com/i/communities/1926186499399139650"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/anyapi.twitter.community",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"url\":\"https://x.com/i/communities/1926186499399139650\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/anyapi.twitter.community", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"url\":\"https://x.com/i/communities/1926186499399139650\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());게이트웨이 API는 Beta이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 $0.0001/success이며 서비스 수수료가 포함되어 있습니다.