# x-data-gateway Spot Price (DexScreener)

> x-data-gateway Spot Price (DexScreener) is a paid API for AI agents from x-data-gateway.annushka1190.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns the current USD spot price for a cryptocurrency token symbol by querying DexScreener, along with a confidence score and sources.

## Facts

- Endpoint: GET https://x-data-gateway.annushka1190.workers.dev/v1/price/spot
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x-data-gateway-spot-price-dexscreener-df897301
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mO2Of34EWcs1OBoFcxkBS

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-data-gateway-spot-price-dexscreener-df897301
```

Example prompt: What's the current USD spot price of ETH? Use DexScreener to look it up and tell me the price along with the confidence score.

## When to prefer this

Use this endpoint when you need a quick USD spot price for a major or popular cryptocurrency token (ETH, BTC, SOL, etc.) and want a confidence score alongside the result. Prefer this over general market data APIs when operating in a DeFi or on-chain context where DexScreener's DEX-aggregated pricing is more relevant than centralized exchange data. It's particularly well-suited for agents that need a payable, programmatic price feed without requiring a full exchange API key.

## Known failure modes

- Unknown or invalid token symbol returns no result or low-confidence data
- Illiquid or obscure tokens may return a low confidence score
- DexScreener data lag may cause stale prices for low-volume tokens
- Network timeout or upstream DexScreener API unavailability causes request failure
- Missing 'symbol' query parameter results in a 400 bad request error

## How this service works

USD spot via DexScreener search for symbol (e.g. ETH, BTC, SOL). Returns priceUsd, confidence, sources. e.g. GET /v1/price/spot?symbol=ETH

## Output

Returns a JSON object containing the token symbol, current USD price as a string (e.g. '3500.12'), and a confidence score (0-1 float) reflecting data reliability. May also include sources indicating where the price data was aggregated from.

## 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": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Token symbol e.g. ETH"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "symbol": "ETH",
  "priceUsd": "3500.12",
  "confidence": 0.8
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-data-gateway-spot-price-dexscreener-df897301/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x-data-gateway.annushka1190.workers.dev](https://www.zero.xyz/host/x-data-gateway.annushka1190.workers.dev/llms.txt)
