Equity

Show a staked equity position

Requires scope equity:read.

GET/api/v1/equity/positions/{id}Try it
iNote
Requires a key with the equity:read scope, sent as Authorization: Bearer <api-key>. Keys missing the scope are rejected with 403 — see Authentication.

Path parameters

NameInTypeDescription
idrequiredpathinteger

Errors

CodeMeaning
401Invalid or missing API key.
403The API key lacks the required scope for this operation.
404Position not found.
cURL
curl https://gateway.kepto.xyz/api/v1/equity/positions/<id> \
  -H "Authorization: Bearer <api-key>"
200 · application/json
{
  "positionId": 0,
  "stockToken": "string",
  "stockSymbol": "string",
  "amountTokens": "string",
  "opener": "string",
  "owner": "string",
  "openedAt": 0,
  "metadataURI": "string",
  "documents": [
    {
      "index": 0,
      "dealId": 0,
      "merkleRoot": "string",
      "label": "string"
    }
  ]
}