# Starchild Relay — DeFiLlama Protocols

> Starchild Relay — DeFiLlama Protocols is a paid API for AI agents from 5108-data-api-proxy.community.iamstarchild.com, paid per call via x402, $0.00001/call, status unknown (last checked 2026-09-14).

Fetches a list of DeFi protocols and their TVL/metadata from DeFiLlama via the Starchild aggregator proxy, paid per-call via x402 micropayment.

## Facts

- Endpoint: POST https://5108-data-api-proxy.community.iamstarchild.com/defillama/protocols
- Price: $0.00001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/starchild-relay-defillama-protocols-9fc6ad37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9TGmuHl6nE7Lpcridi-tK

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 starchild-relay-defillama-protocols-9fc6ad37 -d '<json body>'
```

Example prompt: Can you pull the full list of DeFi protocols from DeFiLlama — limit it to the top 50 — so I can see their TVL and categories?

## When to prefer this

Use this endpoint when you need DeFi protocol data (TVL, chain, category) sourced from DeFiLlama and want to pay per-call without a subscription, using x402 micropayments. Prefer this over direct DeFiLlama API calls when working in an x402-native agentic payment flow or when combining DeFi data with other Starchild data sources in a single integration.

## Known failure modes

- 402 Payment Required if X-PAYMENT header is missing or invalid — requires valid x402 signature
- Rate limiting or upstream DeFiLlama outage may cause 5xx errors
- Invalid 'limit' parameter type may result in malformed request or ignored filter
- Empty result if DeFiLlama upstream is temporarily unavailable

## How this service works

All-in-one reputable data source for AI agents and developers. Crypto spot/OHLC, derivatives funding rates, open interest, liquidations, forex, commodities, indices, social sentiment, DeFi protocols, and more — 17+ upstream data sources behind a single x402 paywall.

Usage: Send requests to any proxied path (e.g. GET /coingecko/api/v3/...). Unauthenticated requests receive a 402 challenge with payment instructions. Include X-PAYMENT header with a valid signature to access data.

## Output

Returns a list of DeFi protocols with metadata such as name, TVL, blockchain chain(s), category, and other DeFiLlama-provided fields. Data is sourced from DeFiLlama through the Starchild proxy, gated by a per-call x402 micropayment of $0.00001 USDC.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "string",
   "description": "Max number of results (optional)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/starchild-relay-defillama-protocols-9fc6ad37/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 5108-data-api-proxy.community.iamstarchild.com](https://www.zero.xyz/host/5108-data-api-proxy.community.iamstarchild.com/llms.txt)
