# Riley Craig x402 Agent Store – Token Security & Market Data

> Riley Craig x402 Agent Store – Token Security & Market Data is a paid API for AI agents from x402-agent-store.rileycraig14.workers.dev, paid per call via x402, $0.09/call, status unknown (last checked 2026-09-14).

Returns on-chain token security analysis (honeypot detection, verdict) and market data (price, volume, liquidity) for a given ERC-20 contract address, paid per call via x402 USDC micropayment.

## Facts

- Endpoint: GET https://x402-agent-store.rileycraig14.workers.dev/connect/token
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/riley-craig-x402-agent-store-token-security-market-data-b14f3d79
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tnfCQDaHYhkiGT58byRWf

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 riley-craig-x402-agent-store-token-security-market-data-b14f3d79
```

Example prompt: Can you check if the token at contract address 0x6b175474e89094c44da98b954eedeac495271d0f on Ethereum is safe to trade — is it a honeypot, and what's the current price and liquidity?

## When to prefer this

Use this endpoint when an AI agent needs a combined security + market data snapshot for a single ERC-20 token contract before a trade or DeFi interaction, especially when no API key is available and per-call USDC micropayment via x402 is acceptable. Prefer over traditional APIs when operating in a keyless, autonomous agent context on Base or Ethereum.

## Known failure modes

- Invalid or non-contract address returns error or empty result
- Unsupported chain identifier returns validation error
- Token not indexed on the requested chain returns no data
- Payment failure via x402 results in 402 response and no data returned
- Network timeout on Cloudflare Worker edge

## How this service works

ONE call that connects pre-trade safety and live market data into a single token-intelligence report: GoPlus rug-check (honeypot, taxes, mint/owner risk) + Dexscreener price/liquidity/volume/momentum, fused into a combined GO / CAUTION / AVOID recommendation. The aggregator call trading & sniping agents make instead of chaining 2-3 separate requests. Free upstreams, pure margin, cheaper than buying the parts separately.

## Output

Returns a JSON object with market data (price in USD, 24h volume, liquidity in USD), the token contract address, a security object (honeypot flag, verdict string like 'OK' or 'CAUTION'), and a top-level recommendation string.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "ethereum|base|bsc|polygon|arbitrum|optimism|avalanche (default ethereum)"
      },
      "address": {
       "type": "string",
       "description": "Token contract address (0x...)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "market": {
       "type": "object"
      },
      "security": {
       "type": "object"
      },
      "recommendation": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "market": {
   "price_usd": 2.31,
   "volume_24h": 18500000,
   "liquidity_usd": 9200000
  },
  "address": "0x...",
  "security": {
   "verdict": "OK",
   "is_honeypot": false
  },
  "recommendation": "CAUTION"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/riley-craig-x402-agent-store-token-security-market-data-b14f3d79/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-store.rileycraig14.workers.dev](https://www.zero.xyz/host/x402-agent-store.rileycraig14.workers.dev/llms.txt)
