# Allium Latest Token Prices

> Allium Latest Token Prices is a paid API for AI agents from agents.allium.so, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns the latest on-chain prices for one or more cryptocurrency tokens

## Facts

- Endpoint: POST https://agents.allium.so/api/v1/developer/prices
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/allium-4560804f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gDQpj9q_Lf-G5m1IEpKOA

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 allium-4560804f -d '<json body>'
```

Example prompt: What are the latest on-chain prices for ETH, WBTC, and USDC right now? Use Allium to pull the most recent price data for those tokens.

## When to prefer this

Use this endpoint when you need the most current real-time token prices from on-chain sources. Prefer this over the at-timestamp endpoint when you don't need historical pricing. Ideal for portfolio valuation, trade execution context, or any workflow requiring live crypto market prices.

## Known failure modes

- Token not found or unsupported — returns error with unrecognized token identifier
- Invalid request body format — returns 400 bad request
- Authentication failure — returns 401 unauthorized
- Rate limit exceeded — returns 429 too many requests
- Network or upstream data unavailability — returns 503 service unavailable

## How this service works

Get latest token prices

## Output

Returns current price data for the requested tokens including USD price and timestamp of the latest price observation, sourced from on-chain data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "token_address",
      "chain"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Blockchain network (e.g. ethereum, solana, base)"
      },
      "token_address": {
       "type": "string",
       "description": "Token contract address"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "low": 2490,
    "high": 2510,
    "open": 2495,
    "chain": "ethereum",
    "close": 2500.5,
    "price": 2500.5,
    "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
    "decimals": 18,
    "timestamp": "2025-06-17T18:00:00Z"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/allium-4560804f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.allium.so](https://www.zero.xyz/host/agents.allium.so/llms.txt)
