Twitter / X
Query public users, posts, communities and trends.
Pesquisa avançada
Pesquisa posts do X por palavra-chave ou consulta com os operadores de pesquisa avançada do X, ordenados por Latest (padrão) ou Top. É o ponto de entrada principal para pesquisa de conteúdo no X quando você ainda não tem IDs de tweet nem handles. Aceita operadores na string de consulta, como from:, to:, since:, until:, min_faves: e -filter:replies. Com paginação por cursor; retorna tweets com has_next_page e next_cursor. Para pesquisar contas em vez de posts, use get_twitter_user_search. Para ler os posts de uma conta, use get_twitter_user_tweet_timeline.
Referência de preços
- Medição: contagem de resultados medidos.
- Estimativa de referência por requisição: USD 0.003.
- Base de custo mínima: USD 0.00015.
- Multiplicador de referência do cliente: 1.0. Não o aplique novamente a um valor de cliente já liquidado.
- As bases de custo não definem o preço final do cliente, inclusive quando forem zero.
Apenas metadados de referência, não uma cotação da conta, um preço garantido ou um limite de gastos. Créditos de recursos não são créditos Felo. As cobranças finais seguem os registros de cobrança da Felo.
- Tipo: stringcount
- Tipo: stringcursor
- Tipo: stringmax
_results - Tipo: stringquery
- Tipo: stringquery
Type - Tipo: stringstart
_time
- Tipo: object · ResponseCbc4F8806E32_AdvancedSearchResponse200
Resposta bem-sucedida
- Tipo: booleanhas
_next _page - Tipo: stringnext
_cursor - Tipo: array object[] · ResponseCbc4F8806E32_Tweet[]tweets
- authorTipo: object · ResponseCbc4F8806E32_User
- automatedTipo: string
By - canTipo: boolean
Dm - coverTipo: string
Picture - createdTipo: string
At - descriptionTipo: string
- favouritesTipo: integer
Count Integer numbers.
- followersTipo: integer
Integer numbers.
- followingTipo: integer
Integer numbers.
- hasTipo: boolean
Custom Timelines - idTipo: string
- isTipo: boolean
Automated - isTipo: boolean
Blue Verified - isTipo: boolean
Translator - locationTipo: string
- mediaTipo: integer
Count Integer numbers.
- messageTipo: string
- nameTipo: string
- pinnedTipo: array string[]
Tweet Ids - possiblyTipo: boolean
Sensitive - profileTipo: string
Picture - statusesTipo: integer
Count Integer numbers.
- typeTipo: string
- unavailableTipo: boolean
- unavailableTipo: string
Reason - urlTipo: string
- userTipo: string
Name - verifiedTipo: string
Type - withheldTipo: array string[]
In Countries
- bookmarkTipo: integer
Count Integer numbers.
- conversationTipo: string
Id - createdTipo: string
At - displayTipo: array integer[]
Text Range - entitiesTipo: object · ResponseCbc4F8806E32_Entities
- hashtagsTipo: array object[]
- indicesTipo: array integer[]
- textTipo: string
- urlsTipo: array object[]
- displayTipo: string
_url - expandedTipo: string
_url - indicesTipo: array integer[]
- urlTipo: string
- userTipo: array object[]
_mentions - idTipo: string
_str - nameTipo: string
- screenTipo: string
_name
- idTipo: string
- inTipo: string
Reply To Id - inTipo: string
Reply To User Id - inTipo: string
Reply To Username - isTipo: boolean
Limited Reply - isTipo: boolean
Reply - langTipo: string
- likeTipo: integer
Count Integer numbers.
- quoteTipo: integer
Count Integer numbers.
- quotedTipo: string
_tweet - replyTipo: integer
Count Integer numbers.
- retweetTipo: integer
Count Integer numbers.
- retweetedTipo: string
_tweet - sourceTipo: string
- textTipo: string
- typeTipo: string
- urlTipo: string
- viewTipo: integer
Count Integer numbers.
application/json - 400
Não foi possível processar a requisição. Verifique os parâmetros da requisição.
- 401
É necessária uma chave de API da Felo válida.
- 402
A requisição não pode prosseguir porque um requisito de cobrança não foi atendido.
- 403
A conta não tem permissão para realizar esta operação.
- 429
Um limite de requisições ou de gastos foi atingido.
- 502
O serviço não pôde concluir a requisição.
- 503
A API ou o serviço de cobrança está temporariamente indisponível.
- 504
O serviço atingiu o tempo limite ao processar a requisição.
- default
Resposta de erro; respostas repassadas do upstream podem usar formatos do provedor
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"
}