# Coinlight Token Price Feed

> Coinlight Token Price Feed is a paid API for AI agents from coinlight-app.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-29).

Returns live USD prices and 24h change for up to 20 Solana token mints in a single call, sourced from Jupiter's price feed.

## Facts

- Endpoint: GET https://coinlight-app.vercel.app/p/token-price?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinlight-token-price-feed-e3561210
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xVZPP1TQ7fSkNsnOyeK5d

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 coinlight-token-price-feed-e3561210
```

Example prompt: What are the current USD prices for SOL and USDC on Solana? Use mint addresses So11111111111111111111111111111111111111112 and EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v and include their 24h change if available.

## When to prefer this

Choose this endpoint when you need real-time USD prices for one or more Solana SPL tokens sourced from Jupiter's aggregated DEX feed, especially when you want batch pricing (up to 20 mints) in a single low-cost call. Prefer it over on-chain RPC calls when you need 24h change data alongside the price without building your own aggregation logic.

## Known failure modes

- Invalid or unrecognized mint address returns no data for that mint or an error
- More than 20 mints provided may result in truncated results or an error
- Network or Jupiter feed downtime causes stale or missing prices
- Malformed comma-separated mint string causes a 400-level error
- Newly listed tokens with no Jupiter liquidity return null or missing price data

## How this service works

Coinlight charges USDC per API call with the x402 protocol on Solana and Base.

## Output

A JSON object containing the endpoint label and a map of each requested mint address to its current USD price and, where available, its 24-hour percentage change — sourced live from Jupiter's Solana price feed.

## 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",
     "examples": [
      {
       "mints": "So11111111111111111111111111111111111111112,EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
      }
     ],
     "required": [
      "mints"
     ],
     "properties": {
      "mints": {
       "type": "string",
       "description": "Comma-separated Solana mint addresses, up to 20."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "endpoint": "Token price (Solana)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinlight-token-price-feed-e3561210/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coinlight-app.vercel.app](https://www.zero.xyz/host/coinlight-app.vercel.app/llms.txt)
