# xspy Cached Tweets With Contract Addresses by Username

> xspy Cached Tweets With Contract Addresses by Username is a paid API for AI agents from xspy.pro, paid per call via x402, $0.12/call, status unknown (last checked 2026-09-08).

Returns cached tweets from a Twitter/X user that mention on-chain token contract addresses (CAs), including chain and token metadata.

## Facts

- Endpoint: GET https://xspy.pro/api/v1/pro/twitter/%7Busername%7D/tweets-with-ca-cache
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xspy-cached-tweets-with-contract-addresses-by-username-50413b2b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_m81i5L4Pr8VZ4asvzxcOd

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability xspy-cached-tweets-with-contract-addresses-by-username-50413b2b
```

Example prompt: Pull the cached tweets with contract address mentions for the Twitter account gigaevm — I want to see which on-chain tokens they've been talking about and on what chains.

## When to prefer this

Prefer this cached endpoint over the real-time crawl variant when you need fast, low-latency lookups and freshness is not critical. Ideal for bulk or repeated queries on the same username where cost efficiency matters, or when building dashboards that display historical CA signal data for KOLs.

## Known failure modes

- Username not found or has no CA-mentioning tweets — returns empty data array
- Cache miss — data may be stale or unavailable if user has not been indexed
- Invalid username format — may return 400 or empty response
- Payment failure via x402 — request not processed if USDC payment not fulfilled
- Rate limiting or access restriction — 402 or 429 response if payment not accepted

## How this service works

Real-time KOL intelligence, smart follower graphs, and on-chain token signals from tweets. Pay only for the calls you make in USDC on Base or Solana. Agent-ready, no API keys required.

## Output

A JSON object containing the data source indicator (e.g. 'database'), the count of undeleted CA-mentioning tweets, and an array of top undeleted tweets each with the contract address, blockchain chain, tweet text, tweet ID, timestamp, and Twitter handle.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": 200,
  "data": {
   "source": "database",
   "undeletedCACount": 1,
   "topUndeletedTweets": [
    {
     "ca": "0x7AC13Be3939f75E28135097A1b6398Fe024eCBa3",
     "chain": "BASE",
     "content": "the community deployed a token for me on Base.",
     "tweetId": "2059974300447248879",
     "tweetTime": "2026-05-28T12:25:20.000Z",
     "twitterHandle": "gigaevm"
    }
   ],
   "undeletedTweetCount": 1
  },
  "status": true,
  "message": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xspy-cached-tweets-with-contract-addresses-by-username-50413b2b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from xspy.pro](https://www.zero.xyz/host/xspy.pro/llms.txt)
