get_x_post_counts
How many X posts mentioned a crypto asset's cashtag, per hour or per day, over the last 1 to 31 days. This is the XPostCount series the x_attention signals (x_post_count_spike, x_attention_elevated, x_attention_price_divergence) read. Counts exclude reposts and promoted posts; x_query=en_original also drops replies and keeps English only. The series ends at the last settled bucket (closed at least five minutes ago). Use it to show a token's attention trend, to explain why an X signal fired, or to pick a z_threshold. Counts are post volume, not sentiment. Repeat reads are served from cache.
[Access: pay 0.02 USDC via x402 (PAYMENT-SIGNATURE header) OR authenticate with an API key. An x402-capable client will auto-pay; API-key clients pay nothing per call.]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "get_x_post_counts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Asset symbol, e.g. BTC or ETH. | |
| x_query | No | all (default) or en_original (no replies, English only). | all |
| days_back | No | Window in days ending now, 1 to 31. | |
| granularity | No | hour or day. | hour |