# Token Price by DexScreener (Base)

> Token Price by DexScreener (Base) is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns the current USD price, 24-hour price change, liquidity, and volume for a Base network token by contract address, sourcing data from DexScreener's highest-liquidity pair.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/token-price
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-price-by-dexscreener-base-ea7f79cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0vUT0fMAFg0asxkNLOFts

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 token-price-by-dexscreener-base-ea7f79cc
```

Example prompt: What's the current USD price, 24-hour change, and liquidity for the Base token at contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913?

## When to prefer this

Use this endpoint when you need quick, no-auth-required USD price data for a Base network token with liquidity and volume context from DexScreener. Prefer this over on-chain RPC calls when you want human-readable price metrics without setting up oracle integrations. Ideal for agents doing DeFi research, portfolio tracking, or trade screening on Base.

## Known failure modes

- Invalid or non-Base contract address returns an error or empty result
- Token not listed on DexScreener or has no liquidity pairs — returns no data
- Newly deployed token with no trading history may have missing price or volume fields
- DexScreener API downtime or rate limiting may cause failures
- Malformed address format causes query rejection

## How this service works

Pass a Base token contract address and get the current USD price, 24h change, liquidity, and volume from DexScreener (highest-liquidity pair auto-selected). No API key required.

## Output

Returns the current USD price of the token, its percentage price change over the last 24 hours, total liquidity in USD, and trading volume — all sourced from the highest-liquidity DexScreener pair for that contract address on Base.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Token contract address"
      }
     }
    }
   },
   "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/token-price-by-dexscreener-base-ea7f79cc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
