Overview
The API name, version, a link to the OpenAPI document, and a one-line list of every operation.
Endpoint
GET https://earn-api.quicknode.dev/functions/v1/api/v1
Authorization
Include the published apikey header. This read request is public and does not require a SIWE signature.
Parameters
This endpoint does not accept path or query parameters.
Example request
curl --request GET \
--url 'https://earn-api.quicknode.dev/functions/v1/api/v1' \
--header 'Accept: application/json' \
--header 'apikey: <EARN_PUBLIC_API_KEY>'
Response
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Name of the API. |
| description | stringnull | No | Summary of the API and the workflows it supports. |
| version | string | Yes | Version of the API contract. |
| openapi | string | Yes | Absolute URL of the OpenAPI document (`GET /v1/openapi.json`). |
| endpoints | array<object> | Yes | One entry per documented operation. |
| endpoints[].method | string | Yes | HTTP method used to call the operation. |
| endpoints[].path | string | Yes | Versioned path appended to the API base URL. |
| endpoints[].summary | string | No | Short description of the operation. |
Example response
{
"name": "Quicknode Earn Public API",
"description": "The Earn public API (`/v1`) drives the full strategy lifecycle over HTTP ...",
"version": "1.1.0",
"openapi": "https://earn-api.quicknode.dev/functions/v1/api/v1/openapi.json",
"endpoints": [
{
"method": "GET",
"path": "/v1",
"summary": "Machine-readable API index"
},
{
"method": "GET",
"path": "/v1/vaults",
"summary": "Vault list (browse)"
},
{
"method": "POST",
"path": "/v1/strategies",
"summary": "Create a strategy (SIWE `strategy.create`)"
}
]
}
HTTP responses
| Status | Description |
|---|---|
| 200 | The API index. |
| 429 | Rate limit exceeded. `Retry-After` (seconds) tells you when to retry. Reads, feedback, and push writes are keyed per IP; create/update/delete are keyed per wallet+IP; deposit/withdraw/claim calldata is keyed per strategy+IP. |
OpenAPI source
This page is based on operation getApiIndex in the Earn OpenAPI 3.1 specification.