Documentation Index
Fetch the complete documentation index at: https://yieldxyz.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Yield.xyz Agent Skills
Yield.xyz provides the most complete API for integrating non-custodial, on-chain yield across 80+ blockchain networks. These skills enable AI agents to autonomously interact with the Yield.xyz API to discover yields, manage positions, and track portfolios.Context
Yield.xyz is a unified infrastructure layer for yield and DeFi. It provides:- 2,900+ yield opportunities across staking, lending, vaults, restaking, liquid staking, and more
- 80+ blockchain networks including EVM (Ethereum, Arbitrum, Base, etc.), Cosmos, Solana, Polkadot, and others
- Non-custodial architecture — all transactions are unsigned and require client-side signing
- Unified API — one interface for all yield types and networks
API Authentication
All endpoints require an API key passed via thex-api-key header:
Base URL
- Production:
https://api.yield.xyz/v1 - Staging:
https://api.staging.yield.xyz/v1
Skills
find-yields
Discover and search yield opportunities. Query the full catalog of yields with filters for network, token, provider, type, and APY. Use when a user wants to find, list, compare, or browse yield opportunities.- Endpoint:
GET /v1/yieldswith query parameters - Key filters:
network,type,token,provider,search - Supports: Pagination, multi-value filters, sorting
get-yield-info
Get detailed metadata for a specific yield. Retrieve APY/APR rates, token details, validator information, cooldown periods, and action requirements. Use when a user asks about a specific yield or needs details before entering.- Endpoints:
GET /v1/yields/{yieldId},GET /v1/yields/{yieldId}/validators - Key data: Reward rate, token, provider, status, argument schema
enter-position
Enter (deposit into) a yield position. Generate unsigned transactions to stake, deposit, lend, or enter any yield. Covers the full workflow: action creation, transaction signing, and hash submission.- Endpoint:
POST /v1/actions/enter - Required:
yieldId,address,arguments.amount - Optional:
validatorAddress,providerId,inputToken,feeConfigurationId
exit-position
Exit (withdraw from) a yield position. Generate unsigned transactions to unstake, withdraw, or exit. Handles cooldown periods and partial withdrawals.- Endpoint:
POST /v1/actions/exit - Required:
yieldId,address,arguments.amount - Handles: Cooldown periods, partial exits, vault share redemption
manage-position
Manage an existing yield position. Claim rewards, restake, claim unstaked tokens, rebond, vote, and other lifecycle operations.- Endpoint:
POST /v1/actions/manage - Required:
yieldId,address,action(e.g.,CLAIM_REWARDS,RESTAKE_REWARDS,CLAIM_UNSTAKED) - Actions:
CLAIM_REWARDS,RESTAKE_REWARDS,CLAIM_UNSTAKED,REBOND,VOTE,DELEGATE, and more
check-portfolio
View yield portfolio and balances. Retrieve positions, balances, and rewards across multiple networks and protocols. Supports both aggregate and per-yield queries.- Endpoints:
POST /v1/yields/balances,POST /v1/yields/{yieldId}/balances - Balance types: staked, unstaking, unstaked, rewards, locked, claimable
- Supports: Multi-network scanning, deduplication, partial failure handling
programmatic-access
Automate dashboard operations via the Programmatic API. Manage projects, API keys, enabled yields, fee configurations, and reports without manual dashboard interaction. Use when automating client onboarding, provisioning workspaces, or managing platform configuration at scale.- Base URL:
https://api.stakek.it/v1/programmatic/ - Auth:
X-ADMIN-API-KEYheader (separate from project-levelX-API-KEY) - Resources: Projects, Keys, Enabled Yields, Fee Configuration, Reports
Capabilities
An AI agent using these skills can:- Discover — Find the best yield opportunities based on user preferences (network, token, risk profile, APY)
- Analyze — Retrieve and present detailed yield metadata, validator information, and historical performance
- Execute — Generate enter/exit/manage transactions for yield positions
- Monitor — Track portfolio balances, rewards, unstaking progress, and position lifecycle
- Optimize — Compare yields across protocols and networks to suggest optimal allocations
- Administer — Provision projects, mint keys, enable yields, configure fees, and pull reports via the Programmatic API
Workflows
End-to-End Staking Flow
- Use
find-yieldsto discover staking options for the user’s token - Use
get-yield-infoto get details and validators for the chosen yield - Use
enter-positionto generate and sign the staking transaction - Use
check-portfolioto verify the position was created - Periodically use
check-portfolioto monitor rewards - Use
manage-positionto claim or restake rewards - When ready, use
exit-positionto unstake
Portfolio Review
- Use
check-portfoliowith the user’s addresses across all networks - For each position, use
get-yield-infoto get current rates - Identify positions with claimable rewards
- Suggest management actions (claim, restake, rebalance)
Client Provisioning (Programmatic API)
- Use
programmatic-accessto create a project for the new client - Mint a dedicated API key for the project
- Enable a curated set of yield integrations
- Configure fees if needed (deposit, management, performance)
- Monitor activity via report entries
Constraints
- All transactions are unsigned — the agent cannot sign transactions directly. The user or their signing infrastructure must sign and broadcast.
- Geoblocking is enforced on enter/exit/manage actions. Blocked regions receive a 403 error.
- Rate limits vary by plan: Free (10 req/s), Starter (50 req/s), Pro (200 req/s), Enterprise (custom).
- Amounts must be in base units (e.g., wei for ETH, lamports for SOL).
- Transactions must be executed sequentially in the order returned by the API.

