Skip to content
Berry Docs
Berry Juicer

API Reference

API Reference

Base URL: https://api.berryfinance.site

Public reads

EndpointPurpose
GET /healthliveness
GET /api/configchain id, live contract addresses, supportedTokens
GET /api/creators/{address}/balancecredited6dp, spent6dp, remaining6dp (USDG 6dp)
GET /api/creators/{address}/inferencecredited total and per-harvest history
GET /api/creators/{address}/delegationsactive agent delegations
GET /api/inference/quote?quoteValue=weiestimate preview
GET /api/tokens/{address}/resolveany Robinhood Chain token: market data, biggest Uniswap V4 pool, registrable pool parameters, supportedForDeposit

Entry (KyberSwap-routed)

EndpointPurpose
GET /api/entry/quote?tokenIn&amountIn&tokenOutconvert any token to a supported deposit token
POST /api/entry/buildcalldata for the conversion swap
GET /api/zap/quote, POST /api/zap/buildplain Uniswap V4 LP via Zap as a Service (not a Juicer vault)

Authenticated

EndpointAuthPurpose
POST /api/inference/chatwallet signature (creator or delegated agent)OpenAI-compatible spend proxy
POST /api/delegationscreator signaturegrant agent delegation
POST /api/delegations/revokecreator signaturerevoke delegation

Signature formats

  • Spend: berry-inference:{address_lowercase}:{timestamp_ms} (5 minute window)
  • Grant: berry-delegate:{creator}:{agent}:{expiresAtMs}
  • Revoke: berry-revoke:{creator}:{agent}:{timestamp_ms} (5 minute window)