Programmatic Access

Automate project provisioning, API key management, yield enablement, fee configuration, and reporting through the Programmatic API

Overview

The Yield.xyz Programmatic API gives you full control over the dashboard without manual interaction. It is designed for teams that need deeper integration, such as automating project creation, managing API keys, enabling yields, configuring fees, and pulling reports — all through a dedicated set of admin-level endpoints.

The Programmatic API is separate from the standard Yield API. It uses a dedicated Admin API Key (X-ADMIN-API-KEY) and is intended for administrative and platform-operator use cases — not end-user flows.


What You Can Do

AreaDescription
ProjectsCreate, update, list, and delete projects programmatically — one per client, workspace, or environment.
API KeysMint, rotate, and revoke project-level API keys that authenticate requests to the Yield API.
Enabled YieldsControl which yield integrations are available per project — enable or disable individually or in bulk.
Fee ConfigurationSet deposit, management, and performance fees per integration on a per-project basis.
ReportsPull transaction and staking activity across all or individual projects for reconciliation and analytics.

When to Use Programmatic Access

Programmatic access is ideal when you need to:

  • Automate onboarding — Spin up projects and keys for new clients without touching the dashboard.
  • Manage at scale — Maintain dozens or hundreds of projects with different yield sets and fee schedules.
  • Build platform integrations — Embed Yield.xyz capabilities into your own product, routing all configuration through your backend.
  • Enforce consistency — Apply standardized configurations across projects via code rather than manual setup.

Authentication

All programmatic endpoints require a Programmatic Access API Key, passed via the X-ADMIN-API-KEY header. This key is scoped to your team and is not the same as project-level API keys used by the Yield API.

Steps to generate your Admin API Key:

  1. Open the dashboard — Log in to dashboard.yield.xyz
  2. Navigate to Developers — Click your avatar (top-right) and select Developers
  3. Create an Admin API Key — Click Create API Key to generate your Programmatic Access key

🚧

Store the API key securely — it grants full administrative access to your team's projects and configuration. The key is only shown once at creation time.

Base URL

All programmatic endpoints are served from:

https://api.stakek.it/v1/programmatic/

Available Endpoints

ResourceEndpointsDescription
ProjectsPOST / GET / PATCH / DELETE /v1/programmatic/projectsCreate, list, update, and delete projects
KeysPOST / GET / PATCH / DELETE /v1/programmatic/projects/{projectId}/keysManage API keys per project
Enabled YieldsPOST / GET / DELETE /v1/programmatic/projects/{projectId}/yields/enabledEnable or disable yield integrations
Fee ConfigurationPOST / GET / PATCH / DELETE /v1/programmatic/projects/{projectId}/fee-configurationConfigure fees per integration
ReportsGET /v1/programmatic/report-entriesPull transaction and staking activity