zetta
Luca · API Reference

Luca Skills

Callable financial intelligence for autonomous agents, builders, and operators. Seven skills. One API key. Strict data integrity across every response.

Base URL: https://www.zettaai.co/api/luca/skills
Auth: Authorization: Bearer xb_live_...
Get API Key →
Skills
Reference
Skill DiscoveryAuthenticationData Integrity
POSThttps://www.zettaai.co/api/luca/skills/wallet-audit

Wallet Audit

Classify an on-chain address and determine its books-eligibility type. Returns address_type (eoa, token_contract, treasury_contract, etc.) and whether it is compatible with books attribution.

Input Parameters
Field
Type
Required
Description
addressstringYes0x Ethereum address to audit
chainstringNoChain name. Default: base
Request
curl -X POST https://www.zettaai.co/api/luca/skills/wallet-audit \
  -H "Authorization: Bearer xb_live_..." \
  -H "Content-Type: application/json" \
  -d '{"address": "0xf1e958db7d1e4c074377946018ad645db4fb158e"}'
Example Response
{
  "skill": "wallet-audit",
  "address": "0xf1e958db7d1e4c074377946018ad645db4fb158e",
  "chain": "base",
  "address_type": "eoa",
  "books_compatible": true,
  "books_note": "EOA wallet is books-eligible when manifest-declared"
}

Skill Discovery

Call the discovery endpoint to get the full manifest of all available skills — no auth required.

curl https://www.zettaai.co/api/luca/skills

Returns version, all 7 skill definitions with inputs, and the data integrity block.

Authentication

All skill routes (POST) require an API key. Two formats are supported — use whichever fits your stack.

# Option 1 — Bearer token (recommended)
curl -X POST https://www.zettaai.co/api/luca/skills/agent-books \
  -H "Authorization: Bearer xb_live_..." \
  -H "Content-Type: application/json" \
  -d '{"slug": "aeon"}'

# Option 2 — X-API-Key header
curl -X POST https://www.zettaai.co/api/luca/skills/agent-books \
  -H "X-API-Key: xb_live_..." \
  -H "Content-Type: application/json" \
  -d '{"slug": "aeon"}'
Free
Any API key
100 req/day
LUCA Holder
≥ 1,000 $LUCA
500 req/day
LUCA Whale
≥ 10,000 $LUCA
2,000 req/day
Get your API key →

Data Integrity Rules

Every skill enforces these rules on every response. They cannot be overridden.

ERC-8004 = identity only
ERC-8004 agent IDs are used for discovery and identity — never for financial attribution
B20 = token intelligence only
Token contracts are never books-eligible. Token transfers are not operating revenue. B20 activity is excluded from Agent GDP
.agent/wallets.json = attribution
Only wallets declared in the manifest file produce financial attribution
Books-eligible types: eoa, treasury_contract
Smart contracts, proxy contracts, token contracts, and vaults are all excluded regardless of activity
Discovered wallets = not books
A wallet appearing on-chain does not make it books-eligible — manifest declaration is required
gross_inflow_usd ≠ revenue
Gross inflows include capital injections, DEX activity, and internal transfers. operating_revenue_usd is always the correct figure