GET /2/news/search
Retrieves a list of News stories matching the specified search query.
Servers
- https://api.x.com
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
news.fields[] |
Array | No |
A comma separated list of News fields to display. |
query |
String | Yes |
The search query. |
max_results |
Integer | No |
The number of results to return. Default value: 10 |
max_age_hours |
Integer | No |
The maximum age of the News story to search for. Default value: 168 |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.