# DopamineDesk Pool Liquidity Lookup

> DopamineDesk Pool Liquidity Lookup is a paid API for AI agents from ai-data-marketplace-1042299154756.us-central1.run.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns real-time DEX liquidity pool data including token symbols, reserves, and total value locked (TVL) for a given pair contract address.

## Facts

- Endpoint: GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/pool_liquidity
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dopaminedesk-pool-liquidity-lookup-d7141f53
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_isNL5IF4237Yquh3c9DsS

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 dopaminedesk-pool-liquidity-lookup-d7141f53
```

Example prompt: Can you look up the current liquidity and TVL for the DEX pool at address 0x88e6...abc on Base? I want to see the token reserves and how much total value is locked.

## When to prefer this

Use this endpoint when you need quick, structured liquidity data for a specific DEX pair contract — particularly reserve depths and TVL — without building your own on-chain RPC calls. It is well-suited for pre-trade slippage estimation, due diligence on new pools, or feeding liquidity metrics into a DeFi agent workflow. Prefer it over raw RPC calls when you want normalized output (USD TVL, token symbols) with minimal integration overhead and pay-per-use pricing.

## Known failure modes

- Invalid or non-existent pool_address returns an error or empty result
- Unsupported chain id causes a lookup failure
- Pool exists but has zero liquidity, returning zeroed reserve fields
- Rate limiting or payment failure (x402) blocks the request
- Stale or delayed on-chain data may cause TVL to lag actual state

## How this service works

Fetch live pair price, liquidity, volume, and price-change fields for a DEX pool address from DexScreener.

## Output

Returns a JSON object with the pool contract address, the two token symbols (token0_symbol, token1_symbol), their respective reserve amounts (reserve0, reserve1), and the total value locked in USD (tvl_usd). Example output shows a USDC/WETH pool with $300M TVL.

## 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": [
      "pool_address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "DexScreener chain id, for example base or ethereum. Defaults to ethereum."
      },
      "pool_address": {
       "type": "string",
       "description": "DEX pair contract address to look up."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "source",
      "fetched_at",
      "count",
      "pairs",
      "marketplace_metadata"
     ],
     "properties": {
      "count": {
       "type": "integer"
      },
      "pairs": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "source": {
       "type": "string"
      },
      "success": {
       "type": "boolean"
      },
      "fetched_at": {
       "type": "string"
      },
      "marketplace_metadata": {
       "type": "object",
       "required": [
        "data_mode",
        "billable",
        "availability",
        "source"
       ],
       "properties": {
        "source": {
         "type": "string"
        },
        "billable": {
         "type": "boolean"
        },
        "data_mode": {
         "type": "string"
        },
        "availability": {
         "type": "string"
        }
       },
       "additionalProperties": true
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "pairs": [
   "[nested detail omitted from the challenge header; see the full example in /openapi.json]"
  ],
  "source": "DexScreener pair API",
  "success": true,
  "fetched_at": "2026-08-07T07:32:32.117Z",
  "marketplace_metadata": {
   "source": "DexScreener pair API",
   "billable": true,
   "data_mode": "live_source",
   "availability": "operational"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dopaminedesk-pool-liquidity-lookup-d7141f53/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-data-marketplace-1042299154756.us-central1.run.app](https://www.zero.xyz/host/ai-data-marketplace-1042299154756.us-central1.run.app/llms.txt)
