DeFi Yield Radar

API

The app's server function reads Ethereum mainnet and returns the raw numbers behind the dashboard as one JSON document. It is free and needs a SkillSafe app token for this app. Prices, risk notes and APYs are derived in the page from these values; the rules are under “How it works” in the app.

1. Get a token

Exchange your SkillSafe API key for an app token (valid 30 days). Guest tokens are refused.

curl -s -X POST https://api.skillsafe.ai/v1/app-api/authorize \
  -H "Authorization: Bearer YOUR_SKILLSAFE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"defi-yield-radar"}'
# -> {"ok":true,"data":{"token":"aut_...","expires_at":"..."}}

2. Fetch a snapshot

GET https://defi-yield-radar.skillsafe.ai/api/snapshot — takes about 1 to 5 seconds.

curl -s https://defi-yield-radar.skillsafe.ai/api/snapshot \
  -H "Authorization: Bearer YOUR_APP_TOKEN"

An example response is bundled with the app: example-snapshot.json.

Errors

StatusMeaning
401No token, a guest token, or an expired token
405Only GET is accepted
502rpc_unreachable or rpc_failed: no public Ethereum node answered

Errors come back as {"error":{"code","message"}}. Read-only: the function never signs or sends a transaction and stores nothing. Not financial advice.