# X/Twitter Handle to Contract Address Matcher

> X/Twitter Handle to Contract Address Matcher is a paid API for AI agents from x402.isthisarug.trade, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Matches an X/Twitter handle to a token contract address by scraping the X timeline via twiscan, returning MATCH, PARTIAL, NO_MATCH, or UNKNOWN.

## Facts

- Endpoint: GET https://x402.isthisarug.trade/x-ca?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x-twitter-handle-to-contract-address-matcher-fe532f66
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RXMXjgT3rW2KiKaa2OJH1

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 x-twitter-handle-to-contract-address-matcher-fe532f66
```

Example prompt: Can you check if the Twitter handle @RugCoinOfficial actually matches the contract address 0xabc123def456abc123def456abc123def456abc1 — I want to know if it's a MATCH, PARTIAL, or NO_MATCH before I buy in.

## When to prefer this

Use this endpoint when you need a quick, low-cost (~$0.01) social signal cross-check between an X/Twitter handle and a token contract address as part of a token diligence workflow. It is ideal for agents that need to verify whether a crypto project's Twitter account is actually associated with the contract address being promoted, helping detect impersonators or mismatched promotional accounts. Prefer this over manual timeline scraping when you want a structured MATCH/PARTIAL/NO_MATCH/UNKNOWN signal without building your own scraper. It pairs naturally with the sibling endpoints on the same host for full LP, ERC20, and risk gate checks.

## Known failure modes

- UNKNOWN returned when twiscan scrape is unavailable or rate-limited
- handle not found or suspended X account returns UNKNOWN
- invalid contract address format may result in error or UNKNOWN
- rate limiting or scrape failures at the twiscan mirror layer cause UNKNOWN responses
- payment failure (non-402-compliant client) will block the call entirely

## How this service works

Best-effort X/Twitter ↔ contract-address match via twiscan public mirror. Returns MATCH|PARTIAL|NO_MATCH|UNKNOWN (honest UNKNOWN if scrape unavailable). Query handle= (required) & optional ca=. ~$0.01.

## Output

Returns one of four string values: MATCH (strong positive correlation found between the handle's timeline and the contract address), PARTIAL (some association found but not conclusive), NO_MATCH (no association detected), or UNKNOWN (scrape was unavailable and result cannot be determined). The response is a best-effort determination based on publicly available X timeline data via the twiscan mirror.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "handle"
     ],
     "properties": {
      "ca": {
       "type": "string",
       "description": "Token contract address (0x + 40 hex) to match against X timeline."
      },
      "handle": {
       "type": "string",
       "description": "X/Twitter handle (with or without @)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-twitter-handle-to-contract-address-matcher-fe532f66/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.isthisarug.trade](https://www.zero.xyz/host/x402.isthisarug.trade/llms.txt)
