x-api-v2

Access X API v2 to manage tweets, users, and live streams.

19|6|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Yuyz0112/public-api-skills --skill x-api-v2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-api-v2
Source: https://github.com/Yuyz0112/public-api-skills/tree/main/apis/twitter/x-api-v2
Command: npx skills add https://github.com/Yuyz0112/public-api-skills --skill x-api-v2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive interface to interact with the X API v2, enabling users to access and manipulate data related to tweets, users, streams, and more.

Core Features & Use Cases

  • Tweet Management: Retrieve, create, and delete tweets.
  • User Information: Fetch user profiles, followers, and following lists.
  • Real-time Streaming: Access live streams of tweets based on various criteria.
  • Use Case: A social media analyst can use this Skill to fetch all tweets mentioning a specific keyword in the last 24 hours, analyze their sentiment, and identify key influencers.

Quick Start

Fetch the profile information for the user with the username 'XDeveloper'.

Frequently Asked Questions about x-api-v2

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch recent tweets using the X API v2?

You can retrieve recent tweets using the X API v2 by providing specific search criteria or keywords. This Skill supports searching recent tweets and fetching individual tweets by their ID, requiring authentication via BearerToken or OAuth2UserToken.

What authentication do I need to interact with the X API v2?

Interacting with the X API v2 requires authentication via either a BearerToken or an OAuth2UserToken. You must configure one of these authentication methods to programmatically access tweet management, user profiles, and real-time data streams.

Can I manage Twitter users and followers with the X API v2?

Yes, you can manage Twitter users and followers with the X API v2. This Skill enables you to fetch detailed user profiles, retrieve followers, and view following lists programmatically, provided you have the correct OAuth2UserToken authentication.

Does the X API v2 support real-time streaming for tweets?

Yes, the X API v2 supports real-time streaming for tweets. You can subscribe to live tweet streams based on various criteria to access real-time data, allowing continuous monitoring of specific keywords or user activities.

What is the best way to retrieve a specific user profile from the X API v2?

The best way to retrieve a specific user profile from the X API v2 is to use this Skill's user information feature. You can fetch user profiles by providing the username, such as 'XDeveloper', along with valid BearerToken or OAuth2UserToken authentication.

Are there limitations when managing lists with the Twitter API v2?

While this Skill supports managing lists via the Twitter API v2, you must authenticate using BearerToken or OAuth2UserToken. Ensure your token has the appropriate permission scopes to successfully manipulate lists and access real-time streams.