# AllInOneCents DeFi API

> AllInOneCents DeFi API is a paid API for AI agents from allin-onecents.orbonomy.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Queries DeFi data and analytics via a unified natural-language-style endpoint supporting crypto, on-chain, and decentralized finance lookups across Base and Solana.

## Facts

- Endpoint: POST https://allin-onecents.orbonomy.xyz/api/defi?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/allinonecents-defi-api-91c4367c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rOMIq1y37v4loflLBBhlk

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 allinonecents-defi-api-91c4367c -d '<json body>'
```

Example prompt: What are the current DeFi metrics for USDC on Base — including TVL, liquidity, and any yield opportunities?

## When to prefer this

Choose this endpoint when you need cheap ($0.01), on-demand DeFi data lookups across Base or Solana chains without subscribing to a dedicated DeFi data provider. Best for lightweight agent workflows that need occasional DeFi metrics, token data, or protocol analytics at minimal cost.

## Known failure modes

- Vague or unsupported query string returns empty or generic data object
- Query referencing unsupported chains or tokens may return null data
- Payment failure via x402 results in 402 response before data is returned
- Malformed JSON body with missing 'query' field returns validation error
- Rate limiting or service downtime returns 5xx error

## How this service works

Unified API platform — 60 endpoints across crypto, medical, macro, stocks, and utility. Dual-chain (Base + Solana). All $0.01.

## Output

Returns a JSON object with a 'success' boolean and a 'data' object containing the DeFi information relevant to the query, such as protocol metrics, token stats, liquidity data, or on-chain analytics.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Input query"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/allinonecents-defi-api-91c4367c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from allin-onecents.orbonomy.xyz](https://www.zero.xyz/host/allin-onecents.orbonomy.xyz/llms.txt)
