Skip to main content
GET
/
2
/
news
/
search
Search News
curl --request GET \
  --url https://api.x.com/2/news/search \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "category": "<string>",
      "cluster_posts_results": [
        {
          "post_id": "1346889436626259968"
        }
      ],
      "contexts": {
        "entities": {
          "events": [
            "<string>"
          ],
          "organizations": [
            "<string>"
          ],
          "people": [
            "<string>"
          ],
          "places": [
            "<string>"
          ],
          "products": [
            "<string>"
          ]
        },
        "finance": {
          "tickers": [
            "<string>"
          ]
        },
        "sports": {
          "teams": [
            "<string>"
          ]
        },
        "topics": [
          "<string>"
        ]
      },
      "disclaimer": "<string>",
      "hook": "<string>",
      "keywords": [
        "<string>"
      ],
      "last_updated_at_ms": "2025-7-14T04:35:55Z",
      "name": "<string>",
      "rest_id": "2244994945",
      "summary": "<string>"
    }
  ],
  "errors": [
    {
      "detail": "<string>",
      "status": 123,
      "title": "<string>",
      "type": "<string>"
    }
  ],
  "meta": {
    "result_count": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

query
string
required

The search query.

Required string length: 1 - 2048
Example:

"crypto"

max_results
integer
default:10

The number of results to return.

Required range: 1 <= x <= 100
max_age_hours
integer
default:168

The maximum age of the News story to search for.

Required range: 1 <= x <= 720
news.fields
enum<string>[]

A comma separated list of News fields to display.

Minimum length: 1
Example:
[
"category",
"cluster_posts_results",
"contexts",
"disclaimer",
"hook",
"id",
"keywords",
"name",
"summary",
"updated_at"
]

Response

The request has succeeded.

data
object[]
Minimum length: 1
errors
object[]
Minimum length: 1
meta
object