Sign in

Get News

documented

Retrieve news stories by ID or search.

GET /2/newsNewsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.x.com/2/news/search?query={{$query}}&max_results={{$max_results}}&news.fields={{$news_fields}}" \\
  -X GET \\
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \\
  -H "Accept: application/json"