# x4o2 StonkFun Token Markets Lookup

> x4o2 StonkFun Token Markets Lookup is a paid API for AI agents from stonk.x4o2.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-31).

Returns exact token market data, pool listings, and freshness metadata for a given Solana token mint address

## Facts

- Endpoint: GET https://stonk.x4o2.com/v1/tokens/:mint?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x4o2-stonkfun-token-markets-lookup-5baeb035
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kY43YKs7IxGjOx4PJT9p-

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 x4o2-stonkfun-token-markets-lookup-5baeb035
```

Example prompt: Pull the on-chain market data for Solana token mint So11111111111111111111111111111111111111112 — I want to see its pools filtered to the graduated lifecycle using the amm-v4 program, with up to 50 results.

## When to prefer this

Use this endpoint when you need on-chain market and pool data for a specific Solana token mint, particularly on the StonkFun/LaunchLab ecosystem. Prefer it over generic DEX aggregators when you need freshness metadata (ageMs, freshnessSeconds), lifecycle filtering (bonding/migrating/graduated), or pool-program-specific filtering (launchlab, cpmm, amm-v4). Best suited for agents monitoring meme coin launches and graduation events on Solana.

## Known failure modes

- Invalid or non-existent mint address returns empty data or 404
- Missing required quoteMint when using ranking or candles mode
- Missing required pool address when requesting candle data
- Offset exceeds maximum of 250000 resulting in empty page
- Invalid lifecycle or kind enum values causing 400 error
- Data may be partial if ingestion is lagging (partial flag set to true)
- Payment not processed results in 402 response

## How this service works

Exact token markets and freshness

## Output

A JSON object containing paginated pool/market data for the queried mint (items array, total count, limit, offset, partial flag) plus metadata about data freshness (ageMs, freshnessSeconds, observedAt, discoveryAt, source, commitment level, partial flag).

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "mint"
     ],
     "properties": {
      "mint": {
       "type": "string",
       "description": "Exact Solana token mint"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "kind": {
       "enum": [
        "launchlab",
        "cpmm",
        "amm-v4"
       ],
       "type": "string",
       "description": "Pool program"
      },
      "pool": {
       "type": "string",
       "description": "Exact pool address; required for candles"
      },
      "limit": {
       "type": "integer",
       "default": 20,
       "maximum": 100,
       "minimum": 1,
       "description": "Page size"
      },
      "offset": {
       "type": "integer",
       "default": 0,
       "maximum": 250000,
       "minimum": 0,
       "description": "Offset"
      },
      "lifecycle": {
       "enum": [
        "bonding",
        "migrating",
        "graduated"
       ],
       "type": "string",
       "description": "Lifecycle"
      },
      "quoteMint": {
       "type": "string",
       "description": "Exact quote mint; required for ranking or candles"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "data": {
       "type": [
        "object",
        "null"
       ],
       "properties": {
        "mint": {
         "type": [
          "string",
          "null"
         ]
        },
        "items": {
         "type": [
          "array",
          "null"
         ],
         "items": {
          "type": [
           "object",
           "null"
          ]
         }
        },
        "limit": {
         "type": [
          "number",
          "null"
         ]
        },
        "total": {
         "type": [
          "number",
          "null"
         ]
        },
        "offset": {
         "type": [
          "number",
          
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x4o2-stonkfun-token-markets-lookup-5baeb035/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stonk.x4o2.com](https://www.zero.xyz/host/stonk.x4o2.com/llms.txt)
