# Jupiter — Lend Earn — Prepare unsigned redeem-instructions

Get Jupiter Earn Redeem Instructions data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Jupiter, pass parameters such as asset, shares, signer, and retrieve structured data including instruction program address, encoded instruction data, instruction account public key, account signer requirement, and account writable flag for wallet review, and integration tools.

Documentation: https://openany.si/market/apis/jupiter/jupiter-lend-earn-prepare-unsigned-redeem-instructions/?offering=9939a43e-27a7-46c3-b02d-048ad4f84d33
API ID: 9939a43e-27a7-46c3-b02d-048ad4f84d33
Provider: jupiter
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/jupiter/lend/v1/earn/redeem-instructions
Page update time: 2026-12-03T02:49:39.393Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:38.649Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Jupiter — Lend Earn — Prepare unsigned redeem-instructions request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "description": "redeem-instructions — complete JSON body for the verified unsigned preparation profile.",
      "example": {
        "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
        "shares": "1000000",
        "signer": "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf"
      },
      "examples": [
        {
          "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
          "shares": "1",
          "signer": "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf"
        }
      ],
      "properties": {
        "asset": {
          "default": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
          "description": "Underlying SPL token mint. Use assetAddress from the earn token list; it is not the interest-bearing share mint.",
          "example": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
          "type": "string"
        },
        "shares": {
          "default": "1000000",
          "description": "Amount of interest-bearing token shares in share-token atomic units, as a decimal integer string. This is not an underlying-token amount.",
          "example": "1",
          "type": "string"
        },
        "signer": {
          "default": "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf",
          "description": "Public key of the transaction payer and signer. Only an unsigned preview is returned; the wallet owner signs separately.",
          "example": "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf",
          "type": "string"
        }
      },
      "required": [
        "asset",
        "signer",
        "shares"
      ],
      "type": "object"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "instructions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "accounts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "isSigner": {
                  "type": "boolean"
                },
                "isWritable": {
                  "type": "boolean"
                },
                "pubkey": {
                  "type": "string"
                }
              }
            }
          },
          "data": {
            "type": "string"
          },
          "programId": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/jupiter/lend/v1/earn/redeem-instructions' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "shares": "1",
  "signer": "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "instructions": [
    {
      "accounts": [
        {
          "isSigner": true,
          "isWritable": true,
          "pubkey": "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf"
        },
        {
          "isSigner": false,
          "isWritable": true,
          "pubkey": "3m19zbtp3MuaDmFkEg3RSbC3DNiEPAWzJCcvcCJTe6tW"
        },
        {
          "isSigner": false,
          "isWritable": true,
          "pubkey": "DYrPreEeQHGLTiVmb7HhDATAsGabgEhxS5Dm5GmkxWqt"
        },
        {
          "isSigner": false,
          "isWritable": false,
          "pubkey": "5nmGjA4s7ATzpBQXC5RNceRpaJ7pYw2wKsNBWyuSAZV6"
        },
        {
          "isSigner": false,
          "isWritable": true,
          "pubkey": "2vVYHYM8VYnvZqQWpTJSj8o8DBf1wM8pVs3bsTgYZiqJ"
        },
        {
          "isSigner": false,
          "isWritable": false,
          "pubkey": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
        },
        {
          "isSigner": false,
          "isWritable": true,
          "pubkey": "9BEcn9aPEmhSPbPQeFGjidRiEKki46fVQDyPpSQXPA2D"
        },
        {
          "isSigner": false,
          "isWritable": true,
          "pubkey": "94vK29npVbyRHXH63rRcTiSr26SFhrQTzbpNJuhQEDu"
        },
        {
          "isSigner": false,
          "isWritable": true,
          "pubkey": "Hf9gtkM4dpVBahVSzEXSVCAPpKzBsBcns3s8As3z77oF"
        },
        {
          "isSigner": false,
          "isWritable": false,
          "pubkey": "5pjzT5dFTsXcwixoab1QDLvZQvpYJxJeBphkyfHGn688"
        },
        {
          "isSigner": false,
          "isWritable": true,
          "pubkey": "BmkUoKMFYBxNSzWXyUjyMJjMAaVz4d8ZnxwwmhDCUXFB"
        },
        {
          "isSigner": false,
          "isWritable": true,
          "pubkey": "HN1r4VfkDn53xQQfeGDYrNuDKFdemAhZsHYRwBrFhsW"
        },
        {
          "isSigner": false,
          "isWritable": true,
          "pubkey": "7s1da8DduuBFqGra5bJBjpnvL5E9mGzCuMk1Qkh4or2Z"
        },
        {
          "isSigner": false,
          "isWritable": false,
          "pubkey": "jupeiUmn818Jg1ekPURTpr4mFo29p46vygyykFJ3wZC"
        },
        {
          "isSigner": false,
          "isWritable": false,
          "pubkey": "5xSPBiD3TibamAnwHDhZABdB4z4F9dcj5PnbteroBTTd"
        },
        {
          "isSigner": false,
          "isWritable": false,
          "pubkey": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        },
        {
          "isSigner": false,
          "isWritable": false,
          "pubkey": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
        },
        {
          "isSigner": false,
          "isWritable": false,
          "pubkey": "11111111111111111111111111111111"
        }
      ],
      "data": "uAxWlUbEYeEBAAAAAAAAAA==",
      "programId": "jup3YeL8QhtSx1e253b2FDvsMNC87fDrgQZivbrndc9"
    }
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- jupiter: https://openany.si/market/apis/jupiter/jupiter-lend-earn-prepare-unsigned-redeem-instructions/?offering=9939a43e-27a7-46c3-b02d-048ad4f84d33

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
