---
title: "GET /index-values/spkcc/with-allocation"
method: GET
path: "/index-values/spkcc/with-allocation"
tags: ["Index Values"]
---

# GET /index-values/spkcc/with-allocation

`GET /index-values/spkcc/with-allocation`

## Request

- Base URL: `https://public-api.spiko.io/v0`
- URL: `https://public-api.spiko.io/v0/index-values/spkcc/with-allocation`
- Auth: none required
- TypeScript: <https://skmtc.dev/spiko/apis/spiko-public-api/docs/index-values/spkcc/with-allocation/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `startDay` string, required: a day formatted as "yyyy-MM-dd"

## Response `200`

Success

- object[]
  - `day` string, required: a day in ISO format "YYYY-MM-DD"
  - `amount` NonNegativeAmountEncoded, required
    - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
    - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
  - `weights` object, required
    - `BTC` number, required
    - `ETH` number, required
    - `SOL` number, required
    - `XRP` number, required
    - `CASH` number, required

## Other responses

- `400`: The request did not match the expected schema
- `404`: NotFound
- `503`: ServiceUnavailable

---

[API](https://skmtc.dev/spiko/apis/spiko-public-api.md) - [All operations](https://skmtc.dev/spiko/apis/spiko-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spiko/apis/spiko-public-api/revisions/61bb9ea12194?raw)
