Twitter / X
Query public users, posts, communities and trends.
Wyszukiwanie zaawansowane
Przeszukuje wpisy X według słowa kluczowego lub zapytania z użyciem operatorów wyszukiwania zaawansowanego X, sortując według Latest (domyślnie) lub Top. To główny punkt wejścia do badania treści X, gdy nie masz jeszcze identyfikatorów tweetów ani nazw użytkowników. Obsługuje operatory w zapytaniu, takie jak from:, to:, since:, until:, min_faves: i -filter:replies. Paginacja kursorowa; zwraca tweety wraz z has_next_page i next_cursor. Aby wyszukiwać konta, a nie wpisy, użyj get_twitter_user_search. Aby czytać własne wpisy jednego konta, użyj get_twitter_user_tweet_timeline.
Cennik referencyjny
- Rozliczanie: liczba naliczonych wyników.
- Szacunek referencyjny dla żądania: USD 0.003.
- Minimalna podstawa kosztu: USD 0.00015.
- Referencyjny mnożnik klienta: 1.0. Nie stosuj go ponownie do rozliczonej kwoty klienta.
- Podstawy kosztu nie ustalają ostatecznej ceny dla klienta, również gdy wynoszą zero.
Wyłącznie metadane referencyjne, a nie wycena konta, gwarantowana cena lub limit wydatków. Kredyty zasobów nie są kredytami Felo. Ostateczne obciążenia są zgodne z zapisami rozliczeniowymi Felo.
- Typ: stringcount
- Typ: stringcursor
- Typ: stringmax
_results - Typ: stringquery
- Typ: stringquery
Type - Typ: stringstart
_time
- Typ: object · ResponseCbc4F8806E32_AdvancedSearchResponse200
Pomyślna odpowiedź
- Typ: booleanhas
_next _page - Typ: stringnext
_cursor - Typ: array object[] · ResponseCbc4F8806E32_Tweet[]tweets
- authorTyp: object · ResponseCbc4F8806E32_User
- automatedTyp: string
By - canTyp: boolean
Dm - coverTyp: string
Picture - createdTyp: string
At - descriptionTyp: string
- favouritesTyp: integer
Count Integer numbers.
- followersTyp: integer
Integer numbers.
- followingTyp: integer
Integer numbers.
- hasTyp: boolean
Custom Timelines - idTyp: string
- isTyp: boolean
Automated - isTyp: boolean
Blue Verified - isTyp: boolean
Translator - locationTyp: string
- mediaTyp: integer
Count Integer numbers.
- messageTyp: string
- nameTyp: string
- pinnedTyp: array string[]
Tweet Ids - possiblyTyp: boolean
Sensitive - profileTyp: string
Picture - statusesTyp: integer
Count Integer numbers.
- typeTyp: string
- unavailableTyp: boolean
- unavailableTyp: string
Reason - urlTyp: string
- userTyp: string
Name - verifiedTyp: string
Type - withheldTyp: array string[]
In Countries
- bookmarkTyp: integer
Count Integer numbers.
- conversationTyp: string
Id - createdTyp: string
At - displayTyp: array integer[]
Text Range - entitiesTyp: object · ResponseCbc4F8806E32_Entities
- hashtagsTyp: array object[]
- indicesTyp: array integer[]
- textTyp: string
- urlsTyp: array object[]
- displayTyp: string
_url - expandedTyp: string
_url - indicesTyp: array integer[]
- urlTyp: string
- userTyp: array object[]
_mentions - idTyp: string
_str - nameTyp: string
- screenTyp: string
_name
- idTyp: string
- inTyp: string
Reply To Id - inTyp: string
Reply To User Id - inTyp: string
Reply To Username - isTyp: boolean
Limited Reply - isTyp: boolean
Reply - langTyp: string
- likeTyp: integer
Count Integer numbers.
- quoteTyp: integer
Count Integer numbers.
- quotedTyp: string
_tweet - replyTyp: integer
Count Integer numbers.
- retweetTyp: integer
Count Integer numbers.
- retweetedTyp: string
_tweet - sourceTyp: string
- textTyp: string
- typeTyp: string
- urlTyp: string
- viewTyp: integer
Count Integer numbers.
application/json - 400
Nie można przetworzyć żądania. Sprawdź parametry żądania.
- 401
Wymagany jest prawidłowy klucz API Felo.
- 402
Nie można kontynuować żądania, ponieważ nie spełniono wymogu rozliczeniowego.
- 403
Konto nie ma uprawnień do wykonania tej operacji.
- 429
Osiągnięto limit żądań lub wydatków.
- 502
Usługa nie mogła ukończyć żądania.
- 503
API lub usługa rozliczeniowa jest tymczasowo niedostępna.
- 504
Upłynął limit czasu usługi podczas przetwarzania żądania.
- default
Odpowiedź błędu; odpowiedzi przekazywane bezpośrednio od dostawcy upstream mogą używać formatów dostawcy
application/json
curl https://openapi.felo.ai/v1/beta/twitter/tweet/advanced_search \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"tweets": [
{
"type": "string",
"id": "string",
"url": "string",
"text": "string",
"source": "string",
"retweetCount": 1,
"replyCount": 1,
"likeCount": 1,
"quoteCount": 1,
"viewCount": 1,
"createdAt": "string",
"lang": "string",
"bookmarkCount": 1,
"isReply": true,
"inReplyToId": "string",
"conversationId": "string",
"displayTextRange": [
1
],
"inReplyToUserId": "string",
"inReplyToUsername": "string",
"author": {
"type": "string",
"userName": "string",
"url": "string",
"id": "string",
"name": "string",
"isBlueVerified": true,
"verifiedType": "string",
"profilePicture": "string",
"coverPicture": "string",
"description": "string",
"location": "string",
"followers": 1,
"following": 1,
"canDm": true,
"createdAt": "string",
"favouritesCount": 1,
"hasCustomTimelines": true,
"isTranslator": true,
"mediaCount": 1,
"statusesCount": 1,
"withheldInCountries": [
"string"
],
"possiblySensitive": true,
"pinnedTweetIds": [
"string"
],
"isAutomated": true,
"automatedBy": "string",
"unavailable": true,
"message": "string",
"unavailableReason": "string"
},
"entities": {
"hashtags": [
{
"indices": [
1
],
"text": "string"
}
],
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "string"
}
],
"user_mentions": [
{
"id_str": "string",
"name": "string",
"screen_name": "string"
}
]
},
"quoted_tweet": "string",
"retweeted_tweet": "string",
"isLimitedReply": true
}
],
"has_next_page": true,
"next_cursor": "string"
}