{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/15"},{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/3"}],"enrichment":{"capability":"Generates X-Client-Transaction-ID headers for authenticating requests to X.com APIs by implementing the reverse-engineered transaction ID generation algorithm.","skillfed_tags":["twitter-api","reverse-engineering","authentication"],"use_cases":["Automating X.com API requests that require valid X-Client-Transaction-ID headers without using official SDK authentication.","Building bots or scrapers that interact with X.com endpoints and need to satisfy transaction ID validation.","Reverse-engineering or testing X.com's API authentication mechanisms in security research contexts.","Integrating X.com API access into applications where standard OAuth flows are unavailable or impractical."],"what_it_does":"XClientTransaction generates the X-Client-Transaction-ID header required to authenticate requests to X.com APIs. The package implements a reverse-engineered transaction ID generation algorithm and provides utilities to create valid transaction IDs for specific HTTP methods and API paths. It works by parsing the X.com home page and an ondemand.s file to extract cryptographic material, then uses that material to compute transaction IDs.\n\nThe package supports both synchronous and asynchronous workflows. It includes helper functions to fetch and parse necessary X.com responses, handle domain migration from twitter.com to x.com, and generate properly formatted headers. The single runtime dependency is beautifulsoup4 for HTML parsing, keeping the installation lightweight.","worth_installing":"Yes, if you need to make authenticated requests to X.com APIs outside official SDK channels. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. Be aware that reverse-engineered authentication mechanisms can break if X.com changes its algorithms."},"id":"xclienttransaction","links":{"html":"https://skillfed.io/packages/xclienttransaction","md":"https://skillfed.io/packages/xclienttransaction.md","pypi":"https://pypi.org/project/xclienttransaction/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-26","license_spdx":null,"license_treatment":"permissive","name":"xclienttransaction","python_support":"supports_current","summary":"Twitter X-Client-Transaction-Id generator written in python."},"popularity":{"monthly_downloads":242990,"position":8831,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.3"}
