solana-x-intel 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- solana_x_intel-1.0.0/LICENSE +21 -0
- solana_x_intel-1.0.0/PKG-INFO +96 -0
- solana_x_intel-1.0.0/README.md +72 -0
- solana_x_intel-1.0.0/pyproject.toml +34 -0
- solana_x_intel-1.0.0/setup.cfg +4 -0
- solana_x_intel-1.0.0/solana_x_intel/__init__.py +3 -0
- solana_x_intel-1.0.0/solana_x_intel/client.py +65 -0
- solana_x_intel-1.0.0/solana_x_intel.egg-info/PKG-INFO +96 -0
- solana_x_intel-1.0.0/solana_x_intel.egg-info/SOURCES.txt +9 -0
- solana_x_intel-1.0.0/solana_x_intel.egg-info/dependency_links.txt +1 -0
- solana_x_intel-1.0.0/solana_x_intel.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 JiStudio (https://github.com/jistudio-dev)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: solana-x-intel
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Zero-dependency Python SDK for Twitter (X) Real-Time Data & 4-in-1 Solana/Base Token Contract X-Intel Audit.
|
|
5
|
+
Author-email: JiStudio <dev@jistudio.dev>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://jistudio-dev.github.io/solana-x-intel/
|
|
8
|
+
Project-URL: Repository, https://github.com/jistudio-dev/solana-x-intel-sdk
|
|
9
|
+
Project-URL: Documentation, https://jistudio-dev.github.io/solana-x-intel/
|
|
10
|
+
Keywords: solana,pumpfun,twitter-api,x-api,web3,crypto,rapidapi
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
+
Requires-Python: >=3.10
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Dynamic: license-file
|
|
24
|
+
|
|
25
|
+
# Solana & Twitter (X) Real-Time Token Intel SDK (Python / Node.js / n8n)
|
|
26
|
+
|
|
27
|
+
[](https://rapidapi.com/Techssss/api/twitter-x-real-time-data-crypto-x-intel/playground)
|
|
28
|
+
|
|
29
|
+
Zero-dependency **Python** & **Node.js (ESM)** SDK + **CLI token auditor** + **n8n Solana radar alert workflow** for the **Twitter (X) Real-Time Data & Crypto X-Intel API** on RapidAPI.
|
|
30
|
+
|
|
31
|
+
- **5 X (Twitter) Endpoints (Zero OAuth)**: Single tweet + 1080p MP4, public profiles, timelines, 25x parallel batch, and chronological thread unroller.
|
|
32
|
+
- **5 Multi-Chain Crypto Endpoints (`Solana` & `Base`)**: 4-in-1 Contract Address intel (live price, FDV, multi-DEX liquidity, 5m/1h volume, RugCheck holder forensics & hydrated X profile), Meme Radar, Live Boosts, New Token Profiles, and Ticker Search.
|
|
33
|
+
- **4-Tier Edge Failover**: DexScreener + Raydium v3 + Pump.fun v3 + KuCoin + Coinbase + RugCheck.
|
|
34
|
+
|
|
35
|
+
<p>
|
|
36
|
+
<a href="https://rapidapi.com/Techssss/api/twitter-x-real-time-data-crypto-x-intel/playground"><img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/rapid-twitter-cta-v1.png" width="268" height="48" alt="Test Twitter & Crypto API on RapidAPI →"></a>
|
|
37
|
+
</p>
|
|
38
|
+
|
|
39
|
+
> Need bulk scheduled X scraping datasets? Also on [Apify Store (`jistudio/twitter-scraper`)](https://apify.com/jistudio/twitter-scraper).
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## How It Works
|
|
44
|
+
|
|
45
|
+
<p align="center">
|
|
46
|
+
<img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/rapid-twitter-step1-v1.png" width="820" alt="Step 1: Pick from 10 X & Crypto endpoints"/><br/>
|
|
47
|
+
<img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/step-arrow-down.svg" width="40" alt=""/><br/>
|
|
48
|
+
<img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/rapid-twitter-step2-v1.png" width="820" alt="Step 2: Parse live token metrics & hydrated X profiles"/>
|
|
49
|
+
</p>
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Quickstart
|
|
54
|
+
|
|
55
|
+
### 1. Python CLI & SDK (Zero Dependencies)
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
export RAPIDAPI_KEY="YOUR_RAPIDAPI_KEY"
|
|
59
|
+
python examples/token_audit_cli.py DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
```python
|
|
63
|
+
from python.solana_x_intel import SolanaXIntelClient
|
|
64
|
+
|
|
65
|
+
client = SolanaXIntelClient(rapidapi_key="YOUR_RAPIDAPI_KEY")
|
|
66
|
+
|
|
67
|
+
# 4-in-1 Solana Token Audit + Hydrated X Profile
|
|
68
|
+
intel = client.get_token_intel("DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263")
|
|
69
|
+
print(intel["token"]["symbol"], "USD:", intel["token"]["price_usd"], "| Verdict:", intel["quant_scoring"]["verdict"])
|
|
70
|
+
|
|
71
|
+
# Live Base or Solana Meme Radar
|
|
72
|
+
radar = client.get_meme_radar(chain="base", limit=5)
|
|
73
|
+
print("Base Radar:", [(x["symbol"], x["price_usd"]) for x in radar["items"]])
|
|
74
|
+
|
|
75
|
+
# Fetch latest X timeline without OAuth
|
|
76
|
+
tl = client.get_timeline("WatcherGuru", limit=5)
|
|
77
|
+
print("Latest tweet:", tl["tweets"][0]["text"][:90])
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### 2. Node.js 18+ (Zero Dependencies)
|
|
81
|
+
|
|
82
|
+
```javascript
|
|
83
|
+
import { SolanaXIntelClient } from "./node/index.mjs";
|
|
84
|
+
|
|
85
|
+
const client = new SolanaXIntelClient(process.env.RAPIDAPI_KEY);
|
|
86
|
+
const res = await client.searchTokens("bonk", 3);
|
|
87
|
+
console.log(res.items.map((x) => `${x.symbol}: $${x.price_usd}`));
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## JiStudio Ecosystem
|
|
93
|
+
|
|
94
|
+
- **RapidAPI**: [Twitter (X) & Crypto API](https://rapidapi.com/Techssss/api/twitter-x-real-time-data-crypto-x-intel) · [Shopee Global API](https://rapidapi.com/Techssss/api/shopee-e-commerce-live-affiliate-intelligence) · [TikTok & Shop API](https://rapidapi.com/Techssss/api/tiktok-data-tiktok-shop-no-watermark-video)
|
|
95
|
+
- **GitHub Org**: [github.com/jistudio-dev](https://github.com/jistudio-dev) · **Apify Store**: [apify.com/jistudio](https://apify.com/jistudio)
|
|
96
|
+
- **License**: MIT — Independent market & social research SDK.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Solana & Twitter (X) Real-Time Token Intel SDK (Python / Node.js / n8n)
|
|
2
|
+
|
|
3
|
+
[](https://rapidapi.com/Techssss/api/twitter-x-real-time-data-crypto-x-intel/playground)
|
|
4
|
+
|
|
5
|
+
Zero-dependency **Python** & **Node.js (ESM)** SDK + **CLI token auditor** + **n8n Solana radar alert workflow** for the **Twitter (X) Real-Time Data & Crypto X-Intel API** on RapidAPI.
|
|
6
|
+
|
|
7
|
+
- **5 X (Twitter) Endpoints (Zero OAuth)**: Single tweet + 1080p MP4, public profiles, timelines, 25x parallel batch, and chronological thread unroller.
|
|
8
|
+
- **5 Multi-Chain Crypto Endpoints (`Solana` & `Base`)**: 4-in-1 Contract Address intel (live price, FDV, multi-DEX liquidity, 5m/1h volume, RugCheck holder forensics & hydrated X profile), Meme Radar, Live Boosts, New Token Profiles, and Ticker Search.
|
|
9
|
+
- **4-Tier Edge Failover**: DexScreener + Raydium v3 + Pump.fun v3 + KuCoin + Coinbase + RugCheck.
|
|
10
|
+
|
|
11
|
+
<p>
|
|
12
|
+
<a href="https://rapidapi.com/Techssss/api/twitter-x-real-time-data-crypto-x-intel/playground"><img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/rapid-twitter-cta-v1.png" width="268" height="48" alt="Test Twitter & Crypto API on RapidAPI →"></a>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
> Need bulk scheduled X scraping datasets? Also on [Apify Store (`jistudio/twitter-scraper`)](https://apify.com/jistudio/twitter-scraper).
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## How It Works
|
|
20
|
+
|
|
21
|
+
<p align="center">
|
|
22
|
+
<img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/rapid-twitter-step1-v1.png" width="820" alt="Step 1: Pick from 10 X & Crypto endpoints"/><br/>
|
|
23
|
+
<img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/step-arrow-down.svg" width="40" alt=""/><br/>
|
|
24
|
+
<img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/rapid-twitter-step2-v1.png" width="820" alt="Step 2: Parse live token metrics & hydrated X profiles"/>
|
|
25
|
+
</p>
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Quickstart
|
|
30
|
+
|
|
31
|
+
### 1. Python CLI & SDK (Zero Dependencies)
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
export RAPIDAPI_KEY="YOUR_RAPIDAPI_KEY"
|
|
35
|
+
python examples/token_audit_cli.py DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
```python
|
|
39
|
+
from python.solana_x_intel import SolanaXIntelClient
|
|
40
|
+
|
|
41
|
+
client = SolanaXIntelClient(rapidapi_key="YOUR_RAPIDAPI_KEY")
|
|
42
|
+
|
|
43
|
+
# 4-in-1 Solana Token Audit + Hydrated X Profile
|
|
44
|
+
intel = client.get_token_intel("DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263")
|
|
45
|
+
print(intel["token"]["symbol"], "USD:", intel["token"]["price_usd"], "| Verdict:", intel["quant_scoring"]["verdict"])
|
|
46
|
+
|
|
47
|
+
# Live Base or Solana Meme Radar
|
|
48
|
+
radar = client.get_meme_radar(chain="base", limit=5)
|
|
49
|
+
print("Base Radar:", [(x["symbol"], x["price_usd"]) for x in radar["items"]])
|
|
50
|
+
|
|
51
|
+
# Fetch latest X timeline without OAuth
|
|
52
|
+
tl = client.get_timeline("WatcherGuru", limit=5)
|
|
53
|
+
print("Latest tweet:", tl["tweets"][0]["text"][:90])
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### 2. Node.js 18+ (Zero Dependencies)
|
|
57
|
+
|
|
58
|
+
```javascript
|
|
59
|
+
import { SolanaXIntelClient } from "./node/index.mjs";
|
|
60
|
+
|
|
61
|
+
const client = new SolanaXIntelClient(process.env.RAPIDAPI_KEY);
|
|
62
|
+
const res = await client.searchTokens("bonk", 3);
|
|
63
|
+
console.log(res.items.map((x) => `${x.symbol}: $${x.price_usd}`));
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## JiStudio Ecosystem
|
|
69
|
+
|
|
70
|
+
- **RapidAPI**: [Twitter (X) & Crypto API](https://rapidapi.com/Techssss/api/twitter-x-real-time-data-crypto-x-intel) · [Shopee Global API](https://rapidapi.com/Techssss/api/shopee-e-commerce-live-affiliate-intelligence) · [TikTok & Shop API](https://rapidapi.com/Techssss/api/tiktok-data-tiktok-shop-no-watermark-video)
|
|
71
|
+
- **GitHub Org**: [github.com/jistudio-dev](https://github.com/jistudio-dev) · **Apify Store**: [apify.com/jistudio](https://apify.com/jistudio)
|
|
72
|
+
- **License**: MIT — Independent market & social research SDK.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "solana-x-intel"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "Zero-dependency Python SDK for Twitter (X) Real-Time Data & 4-in-1 Solana/Base Token Contract X-Intel Audit."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = {text = "MIT"}
|
|
11
|
+
requires-python = ">=3.10"
|
|
12
|
+
authors = [{name = "JiStudio", email = "dev@jistudio.dev"}]
|
|
13
|
+
keywords = ["solana", "pumpfun", "twitter-api", "x-api", "web3", "crypto", "rapidapi"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 5 - Production/Stable",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
"License :: OSI Approved :: MIT License",
|
|
18
|
+
"Programming Language :: Python :: 3",
|
|
19
|
+
"Programming Language :: Python :: 3.10",
|
|
20
|
+
"Programming Language :: Python :: 3.11",
|
|
21
|
+
"Programming Language :: Python :: 3.12",
|
|
22
|
+
"Topic :: Internet :: WWW/HTTP",
|
|
23
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
24
|
+
]
|
|
25
|
+
dependencies = []
|
|
26
|
+
|
|
27
|
+
[project.urls]
|
|
28
|
+
Homepage = "https://jistudio-dev.github.io/solana-x-intel/"
|
|
29
|
+
Repository = "https://github.com/jistudio-dev/solana-x-intel-sdk"
|
|
30
|
+
Documentation = "https://jistudio-dev.github.io/solana-x-intel/"
|
|
31
|
+
|
|
32
|
+
[tool.setuptools.packages.find]
|
|
33
|
+
where = ["."]
|
|
34
|
+
include = ["solana_x_intel*"]
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"""Zero-dependency Python SDK for Twitter (X) Real-Time Data & Crypto X-Intel API (RapidAPI)."""
|
|
2
|
+
import json
|
|
3
|
+
import os
|
|
4
|
+
import urllib.parse
|
|
5
|
+
import urllib.request
|
|
6
|
+
|
|
7
|
+
DEFAULT_HOST = "twitter-x-real-time-data-crypto-x-intel.p.rapidapi.com"
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SolanaXIntelClient:
|
|
11
|
+
def __init__(self, rapidapi_key: str | None = None, host: str = DEFAULT_HOST, timeout: int = 20):
|
|
12
|
+
self.api_key = rapidapi_key or os.environ.get("RAPIDAPI_KEY", "")
|
|
13
|
+
if not self.api_key:
|
|
14
|
+
raise ValueError("Provide rapidapi_key or set RAPIDAPI_KEY environment variable.")
|
|
15
|
+
self.host = host
|
|
16
|
+
self.timeout = timeout
|
|
17
|
+
|
|
18
|
+
def _get(self, path: str, params: dict | None = None) -> dict:
|
|
19
|
+
qs = ""
|
|
20
|
+
if params:
|
|
21
|
+
clean = {k: v for k, v in params.items() if v is not None and v != ""}
|
|
22
|
+
if clean:
|
|
23
|
+
qs = "?" + urllib.parse.urlencode(clean)
|
|
24
|
+
url = f"https://{self.host}{path}{qs}"
|
|
25
|
+
req = urllib.request.Request(
|
|
26
|
+
url,
|
|
27
|
+
headers={
|
|
28
|
+
"X-RapidAPI-Key": self.api_key,
|
|
29
|
+
"X-RapidAPI-Host": self.host,
|
|
30
|
+
"Accept": "application/json",
|
|
31
|
+
"User-Agent": "jistudio-solana-x-sdk-py/1.0",
|
|
32
|
+
},
|
|
33
|
+
)
|
|
34
|
+
with urllib.request.urlopen(req, timeout=self.timeout) as resp:
|
|
35
|
+
return json.loads(resp.read().decode("utf-8"))
|
|
36
|
+
|
|
37
|
+
def get_tweet(self, id_or_url: str) -> dict:
|
|
38
|
+
return self._get("/api/v1/x/tweet", {"id": id_or_url})
|
|
39
|
+
|
|
40
|
+
def get_user(self, username: str) -> dict:
|
|
41
|
+
return self._get("/api/v1/x/user", {"username": username})
|
|
42
|
+
|
|
43
|
+
def get_timeline(self, username: str, limit: int = 20) -> dict:
|
|
44
|
+
return self._get("/api/v1/x/timeline", {"username": username, "limit": limit})
|
|
45
|
+
|
|
46
|
+
def batch_tweets(self, ids: list[str]) -> dict:
|
|
47
|
+
return self._get("/api/v1/x/batch-tweets", {"ids": ",".join(ids)})
|
|
48
|
+
|
|
49
|
+
def unroll_thread(self, id_or_url: str, max_depth: int = 8) -> dict:
|
|
50
|
+
return self._get("/api/v1/x/thread-unroll", {"id": id_or_url, "max_depth": max_depth})
|
|
51
|
+
|
|
52
|
+
def get_token_intel(self, ca: str) -> dict:
|
|
53
|
+
return self._get("/api/v1/crypto/token-x-intel", {"ca": ca})
|
|
54
|
+
|
|
55
|
+
def get_meme_radar(self, chain: str = "all", limit: int = 10) -> dict:
|
|
56
|
+
return self._get("/api/v1/crypto/meme-radar", {"chain": chain, "limit": limit})
|
|
57
|
+
|
|
58
|
+
def search_tokens(self, q: str, limit: int = 5) -> dict:
|
|
59
|
+
return self._get("/api/v1/crypto/search-x-tokens", {"q": q, "limit": limit})
|
|
60
|
+
|
|
61
|
+
def get_dex_boosts(self, chain: str = "solana", limit: int = 10) -> dict:
|
|
62
|
+
return self._get("/api/v1/crypto/dex-boosts-live", {"chain": chain, "limit": limit})
|
|
63
|
+
|
|
64
|
+
def get_new_token_profiles(self, chain: str = "all", limit: int = 10) -> dict:
|
|
65
|
+
return self._get("/api/v1/crypto/new-token-profiles", {"chain": chain, "limit": limit})
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: solana-x-intel
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Zero-dependency Python SDK for Twitter (X) Real-Time Data & 4-in-1 Solana/Base Token Contract X-Intel Audit.
|
|
5
|
+
Author-email: JiStudio <dev@jistudio.dev>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://jistudio-dev.github.io/solana-x-intel/
|
|
8
|
+
Project-URL: Repository, https://github.com/jistudio-dev/solana-x-intel-sdk
|
|
9
|
+
Project-URL: Documentation, https://jistudio-dev.github.io/solana-x-intel/
|
|
10
|
+
Keywords: solana,pumpfun,twitter-api,x-api,web3,crypto,rapidapi
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
+
Requires-Python: >=3.10
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Dynamic: license-file
|
|
24
|
+
|
|
25
|
+
# Solana & Twitter (X) Real-Time Token Intel SDK (Python / Node.js / n8n)
|
|
26
|
+
|
|
27
|
+
[](https://rapidapi.com/Techssss/api/twitter-x-real-time-data-crypto-x-intel/playground)
|
|
28
|
+
|
|
29
|
+
Zero-dependency **Python** & **Node.js (ESM)** SDK + **CLI token auditor** + **n8n Solana radar alert workflow** for the **Twitter (X) Real-Time Data & Crypto X-Intel API** on RapidAPI.
|
|
30
|
+
|
|
31
|
+
- **5 X (Twitter) Endpoints (Zero OAuth)**: Single tweet + 1080p MP4, public profiles, timelines, 25x parallel batch, and chronological thread unroller.
|
|
32
|
+
- **5 Multi-Chain Crypto Endpoints (`Solana` & `Base`)**: 4-in-1 Contract Address intel (live price, FDV, multi-DEX liquidity, 5m/1h volume, RugCheck holder forensics & hydrated X profile), Meme Radar, Live Boosts, New Token Profiles, and Ticker Search.
|
|
33
|
+
- **4-Tier Edge Failover**: DexScreener + Raydium v3 + Pump.fun v3 + KuCoin + Coinbase + RugCheck.
|
|
34
|
+
|
|
35
|
+
<p>
|
|
36
|
+
<a href="https://rapidapi.com/Techssss/api/twitter-x-real-time-data-crypto-x-intel/playground"><img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/rapid-twitter-cta-v1.png" width="268" height="48" alt="Test Twitter & Crypto API on RapidAPI →"></a>
|
|
37
|
+
</p>
|
|
38
|
+
|
|
39
|
+
> Need bulk scheduled X scraping datasets? Also on [Apify Store (`jistudio/twitter-scraper`)](https://apify.com/jistudio/twitter-scraper).
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## How It Works
|
|
44
|
+
|
|
45
|
+
<p align="center">
|
|
46
|
+
<img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/rapid-twitter-step1-v1.png" width="820" alt="Step 1: Pick from 10 X & Crypto endpoints"/><br/>
|
|
47
|
+
<img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/step-arrow-down.svg" width="40" alt=""/><br/>
|
|
48
|
+
<img src="https://api.apify.com/v2/key-value-stores/0J5jsCbmj4kPfyj6H/records/rapid-twitter-step2-v1.png" width="820" alt="Step 2: Parse live token metrics & hydrated X profiles"/>
|
|
49
|
+
</p>
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Quickstart
|
|
54
|
+
|
|
55
|
+
### 1. Python CLI & SDK (Zero Dependencies)
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
export RAPIDAPI_KEY="YOUR_RAPIDAPI_KEY"
|
|
59
|
+
python examples/token_audit_cli.py DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
```python
|
|
63
|
+
from python.solana_x_intel import SolanaXIntelClient
|
|
64
|
+
|
|
65
|
+
client = SolanaXIntelClient(rapidapi_key="YOUR_RAPIDAPI_KEY")
|
|
66
|
+
|
|
67
|
+
# 4-in-1 Solana Token Audit + Hydrated X Profile
|
|
68
|
+
intel = client.get_token_intel("DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263")
|
|
69
|
+
print(intel["token"]["symbol"], "USD:", intel["token"]["price_usd"], "| Verdict:", intel["quant_scoring"]["verdict"])
|
|
70
|
+
|
|
71
|
+
# Live Base or Solana Meme Radar
|
|
72
|
+
radar = client.get_meme_radar(chain="base", limit=5)
|
|
73
|
+
print("Base Radar:", [(x["symbol"], x["price_usd"]) for x in radar["items"]])
|
|
74
|
+
|
|
75
|
+
# Fetch latest X timeline without OAuth
|
|
76
|
+
tl = client.get_timeline("WatcherGuru", limit=5)
|
|
77
|
+
print("Latest tweet:", tl["tweets"][0]["text"][:90])
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### 2. Node.js 18+ (Zero Dependencies)
|
|
81
|
+
|
|
82
|
+
```javascript
|
|
83
|
+
import { SolanaXIntelClient } from "./node/index.mjs";
|
|
84
|
+
|
|
85
|
+
const client = new SolanaXIntelClient(process.env.RAPIDAPI_KEY);
|
|
86
|
+
const res = await client.searchTokens("bonk", 3);
|
|
87
|
+
console.log(res.items.map((x) => `${x.symbol}: $${x.price_usd}`));
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## JiStudio Ecosystem
|
|
93
|
+
|
|
94
|
+
- **RapidAPI**: [Twitter (X) & Crypto API](https://rapidapi.com/Techssss/api/twitter-x-real-time-data-crypto-x-intel) · [Shopee Global API](https://rapidapi.com/Techssss/api/shopee-e-commerce-live-affiliate-intelligence) · [TikTok & Shop API](https://rapidapi.com/Techssss/api/tiktok-data-tiktok-shop-no-watermark-video)
|
|
95
|
+
- **GitHub Org**: [github.com/jistudio-dev](https://github.com/jistudio-dev) · **Apify Store**: [apify.com/jistudio](https://apify.com/jistudio)
|
|
96
|
+
- **License**: MIT — Independent market & social research SDK.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
solana_x_intel
|