x-api

Post tweets, read timelines, and search X via OAuth 2.0 and 1.0a.

4|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/Yog-Sotho/claude-skills --skill x-api-yog-sotho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-api
Source: https://github.com/Yog-Sotho/claude-skills/tree/main/x-api
Command: npx skills add https://github.com/Yog-Sotho/claude-skills --skill x-api-yog-sotho

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

X API integration enables programmatic interaction with X (Twitter) for posting, reading timelines, searching, and monitoring. It consolidates authentication choices, rate-limit handling, pagination, and policy compliance into reusable patterns across languages and frameworks.

Core Features & Use Cases

  • Post tweets, create threads, and manage timelines using Python, TypeScript, or raw HTTP
  • Read search results, timelines, and real-time data via streaming and filtered streams
  • Handle rate limits, pagination, and policy compliance to prevent account suspensions
  • Support both OAuth 2.0 and OAuth 1.0a authentication flows across client libraries

Quick Start

Create a simple test client for your app and post a tweet to verify the integration.

Frequently Asked Questions about x-api

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

FAQPage Schema
How do I handle X API rate limits and pagination when reading timelines?

X API rate limits and pagination are managed using built-in patterns that automatically throttle requests and traverse cursor-based timelines. This prevents request interruptions and ensures complete data retrieval.

What is the best way to automate posting tweets and threads using Python?

Automating tweet and thread posting is achieved through programmatic interaction patterns supporting Python, TypeScript, or raw HTTP clients. This enables building robust bots and schedulers while maintaining content policy compliance.

Does this X API integration support OAuth 2.0 and real-time filtered streams?

Yes, the X API integration supports both OAuth 2.0 and OAuth 1.0a authentication flows alongside real-time streaming. Filtered streams enable continuous monitoring of specific data without manual polling.

Why does my Twitter bot get suspended when using raw HTTP API integration?

Twitter bots face suspension during raw HTTP API integration due to non-compliance with content policies or exceeding rate limits. Implementing built-in compliance checks and automated rate limit handling prevents account suspensions.

Can I use TypeScript to monitor search results via the X API?

Yes, TypeScript can monitor search results via the X API. The integration provides reusable patterns across TypeScript, Python, and raw HTTP clients to execute searches and read timelines programmatically.