# HostDeFi Token Listings by Chain

> HostDeFi Token Listings by Chain is a paid API for AI agents from hostdefi.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-11).

Returns a paginated list of tokens available for trading on a specified blockchain chain via HostDeFi's non-custodial DEX

## Facts

- Endpoint: GET https://hostdefi.com/api/v1/x402/listings/%7Bchain%7D
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hostdefi-token-listings-by-chain-13818390
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TQxvMPSOrwm4izgvJT4X1

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 hostdefi-token-listings-by-chain-13818390
```

Example prompt: Show me up to 100 tokens available for trading on Solana through HostDeFi's non-custodial DEX.

## When to prefer this

Choose this endpoint when you need a structured, paginated list of tokens available on a specific chain through HostDeFi's non-custodial DEX. It supports 8 chains (Solana, Ethereum, BSC, Base, Arbitrum, Optimism, Polygon, Avalanche) and includes token risk grades, making it ideal for DeFi agents that need to discover tradeable assets or assess token availability before executing swaps.

## Known failure modes

- Invalid or unsupported chain ID returns an error or empty token list
- Limit parameter outside 1-500 range causes validation error
- Payment of 0.05 USDC not fulfilled causes HTTP 402 response
- Network timeout if chain data is temporarily unavailable
- Empty tokens array if no listings exist for the given chain

## How this service works

HostDeFi is a non-custodial Solana DEX. Best-route swaps through Jupiter, EVM trading across 7 chains, native bridging, and live token risk grades. No KYC, no accounts, no custody.

## Output

A JSON object with an 'ok' boolean status, the requested 'chain' identifier, and a 'tokens' array containing metadata for each token available on that chain, including risk grades and tradeable asset details.

## 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",
     "required": [
      "chain"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain id: solana, ethereum, bsc, base, arbitrum, optimism, polygon, avalanche"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 500,
       "minimum": 1
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "chain": "solana",
  "tokens": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hostdefi-token-listings-by-chain-13818390/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hostdefi.com](https://www.zero.xyz/host/hostdefi.com/llms.txt)
