# VendSDK Crypto Spot Prices (CoinGecko)

> VendSDK Crypto Spot Prices (CoinGecko) is a paid API for AI agents from vendsdk.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns live USD spot prices for one or more crypto assets using the CoinGecko simple price API

## Facts

- Endpoint: GET https://vendsdk.com/api/v/crypto-prices
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vendsdk-crypto-spot-prices-coingecko-44403549
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6OBvemmFLDDV5zhr5H5W2

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 vendsdk-crypto-spot-prices-coingecko-44403549
```

Example prompt: What are the current USD spot prices for bitcoin, ethereum, and solana right now? I need live CoinGecko prices for all three.

## When to prefer this

Use this endpoint when you need real-time USD spot prices for one or more CoinGecko-listed crypto assets in a single call, especially within an agentic workflow that already uses x402 micropayments. Prefer this over rolling your own CoinGecko integration when you want a pre-wrapped, pay-per-call API that supports multiple assets simultaneously at low cost.

## Known failure modes

- Invalid or unknown CoinGecko IDs return empty price object or error
- Missing 'ids' query parameter results in empty or error response
- CoinGecko upstream rate limiting or outage causes failure
- Malformed comma-separated IDs may be silently ignored
- Payment failure (insufficient x402 balance) blocks the request

## How this service works

Live USD spot prices for crypto assets via CoinGecko simple price API

## Output

Returns a JSON object containing a map of each requested CoinGecko asset ID to its current USD price, optionally with 24-hour percentage change, along with service name and a boolean success 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "ids": {
       "type": "string",
       "description": "Comma-separated CoinGecko ids e.g. bitcoin,ethereum"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "prices": {
       "type": "object"
      },
      "service": {
       "type": "string"
      },
      "include_24hr_change": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vendsdk-crypto-spot-prices-coingecko-44403549/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vendsdk.com](https://www.zero.xyz/host/vendsdk.com/llms.txt)
