# GlianaAI Token Price Lookup

> GlianaAI Token Price Lookup is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Retrieves the current price of a token, used for pay-per-call AI inference cost accounting on the GlianaAI platform.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/tools/token-price
- 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/glianaai-token-price-lookup-8addf0ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AnvyO-0GVNfXELPuMwI55

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 glianaai-token-price-lookup-8addf0ad
```

Example prompt: What's the current token price on GlianaAI so I know what I'll be charged per request in USDC before I start calling AI models?

## When to prefer this

Use this endpoint when an AI agent needs to check the current token price before executing pay-per-call AI inference requests on GlianaAI, particularly to estimate costs, validate budgets, or display pricing information to users before committing USDC payments on Tempo, Base, or Solana.

## Known failure modes

- Network error reaching api.glianalabs.com returns connection failure
- Payment not included or insufficient USDC triggers 402 Payment Required
- Malformed request body type returns validation error
- Token price unavailable due to upstream oracle or pricing feed issue returns 5xx error

## How this service works

GlianaAI - pay-per-call AI + utility APIs (80+ models incl. LLM chat), no signup, USDC. This resource: tools/token-price. https://ai.glianalabs.com

## Output

Returns a JSON object with the tool name ('tools/token-price') and the current token price, used to determine per-call costs for AI model inference on the GlianaAI platform settled via USDC on Tempo, Base, or Solana.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "tools/token-price"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-token-price-lookup-8addf0ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.glianalabs.com](https://www.zero.xyz/host/api.glianalabs.com/llms.txt)
