We are excited to announce the News endpoints in the X API v2 :tada:

Developers will have access to 2 new endpoints for News:

  1. Search News that allows you to get trending news for a given query
  2. News Lookup lookup trending news article by ID, along with relevant posts for that trend

Search News

You can specify the topics that you want the trending news for by specifying it in the query.

https://api.x.com/2/news/search?query=xai&max_results=1

The JSON response will be something like:

{
    "data": [
        {
            "updated_at": "2025-11-19T19:40:42.000Z",
            "category": "News",
            "disclaimer": "This story is a summary of posts on X and may evolve over time. Grok can make mistakes, verify its outputs.",
            "name": "Elon Musk Announces xAI Partnership with Saudi Arabia's Humain and NVIDIA for 500-Megawatt AI Data Center at U.S.-Saudi Investment Forum",
            "id": "1990978729699332107",
            "contexts": {
                "topics": [
                    "Technology",
                    "AI"
                ]
            },
            "summary": "Elon Musk announced at the U.S.-Saudi Investment Forum that xAI will develop a 500-megawatt AI data center in Saudi Arabia in collaboration with the kingdom's state-backed AI venture Humain and NVIDIA, which will supply the chips. The project begins with a 50-megawatt phase one and scales up to full capacity to support advanced AI compute infrastructure."
        }
    ],
    "meta": {
        "result_count": 1
    }
}

News Lookup

You can also lookup a trending news using the ID from the search above.

https://api.x.com/2/news/1990978729699332107?news.fields=cluster_posts_results

The response will be like:

{
    "data": {
        "summary": "At the U.S.-Saudi Investment Forum in Washington, D.C., Elon Musk declared that AI and humanoid robots, including Tesla's Optimus, will eradicate poverty by creating a post-scarcity world where currency loses relevance. Speaking alongside Nvidia CEO Jensen Huang at the Kennedy Center, Musk predicted that in 10 to 20 years, personal robots will make labor optional, shifting focus to hobbies. The pair announced a collaboration with Saudi firm Humain to construct a 500-megawatt Grok supercomputer in Saudi Arabia to advance AI capabilities.",
        "hook": "Elon Musk envisions a future where AI and humanoid robots erase poverty, turning work into an optional pursuit amid unprecedented abundance.",
        "contexts": {
            "topics": [
                "Technology",
                "AI"
            ]
        },
        "cluster_posts_results": [
            {
                "post_id": "1991180036721004637"
            },
            {
                "post_id": "1991181744922374615"
            },
            {
                "post_id": "1991181509680640189"
            },
            {
                "post_id": "1991181714442563983"
            },
            {
                "post_id": "1991178821630832681"
            },
            {
                "post_id": "1991185713690255512"
            },
            {
                "post_id": "1991178195232501892"
            },
            {
                "post_id": "1991177889413214277"
            },
            {
                "post_id": "1991183594723897448"
            },
            {
                "post_id": "1991187539315556379"
            }
        ],
        "category": "News",
        "disclaimer": "This story is a summary of posts on X and may evolve over time. Grok can make mistakes, verify its outputs.",
        "name": "Elon Musk Predicts AI Robots Will Eliminate Poverty and Make Work Optional",
        "id": "1990978729699332107"
    }
}

You can use the post_ids from the response and get the related posts for the trending news as well.

We can’t wait to see what you build with these new endpoints.

Please reach out to us with any feedback!

4 Likes