Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Spiko Public Index Values API
version: v0
description: The Public API provides access to public financial data about the Spiko Funds. You can retrieve detailed information about our Funds, their portfolio, their yield or their share classes.
servers:
- url: https://public-api.spiko.io/v0
description: Production Server
security: []
tags:
- name: Index Values
paths:
/index-values/{shareClassSymbol}:
get:
tags:
- Index Values
operationId: Get Index Values
parameters:
- name: shareClassSymbol
in: path
schema:
$ref: '#/components/schemas/ShareClassSymbol'
required: true
- name: startDay
in: query
schema:
type: string
title: Day
description: a day formatted as "yyyy-MM-dd"
required: true
description: a day formatted as "yyyy-MM-dd"
security: []
responses:
'200':
description: Success
content:
application/json:
schema:
type: array
items:
type: object
required:
- day
- amount
properties:
day:
type: string
title: Day
description: a day in ISO format "YYYY-MM-DD"
amount:
$ref: '#/components/schemas/NonNegativeAmount'
additionalProperties: false
'400':
description: The request did not match the expected schema
content:
application/json:
schema:
$ref: '#/components/schemas/HttpApiDecodeError'
'404':
description: NotFound
'503':
description: ServiceUnavailable
summary: Get index values
x-summary-source: derived
/index-values/spkcc/with-allocation:
get:
tags:
- Index Values
operationId: Get SPKCC Chart Data
parameters:
- name: startDay
in: query
schema:
type: string
title: Day
description: a day formatted as "yyyy-MM-dd"
required: true
description: a day formatted as "yyyy-MM-dd"
security: []
responses:
'200':
description: Success
content:
application/json:
schema:
type: array
items:
type: object
required:
- day
- amount
- allocation
properties:
day:
type: string
title: Day
description: a day in ISO format "YYYY-MM-DD"
amount:
$ref: '#/components/schemas/NonNegativeAmount'
allocation:
type: string
enum:
- BTC
- ETH
- CASH
additionalProperties: false
'400':
description: The request did not match the expected schema
content:
application/json:
schema:
$ref: '#/components/schemas/HttpApiDecodeError'
'404':
description: NotFound
'503':
description: ServiceUnavailable
summary: Get SPKCC chart data
x-summary-source: derived
components:
schemas:
NonNegativeAmount:
type: object
required:
- value
- currency
properties:
value:
type: string
title: non-negative decimal number as a string
description: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
currency:
type: string
enum:
- EUR
- USD
- GBP
- CHF
- JPY
- SGD
title: Currency code
identifier: CurrencyCode
description: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD"
additionalProperties: false
title: Non-Negative Amount
HttpApiDecodeError:
type: object
required:
- issues
- message
- _tag
properties:
issues:
type: array
items:
$ref: '#/components/schemas/Issue'
message:
type: string
_tag:
type: string
enum:
- HttpApiDecodeError
additionalProperties: false
description: The request did not match the expected schema
ShareClassSymbol:
type: string
enum:
- EUTBL
- USTBL
- eurUSTBL
- SPKCC
- eurSPKCC
- UKTBL
- eurUKTBL
- SAFO
- SAFOd
- eurSAFO
- eurSAFOd
- gbpSAFO
- chfSAFO
title: ShareClassSymbol
Issue:
type: object
required:
- _tag
- path
- message
properties:
_tag:
type: string
enum:
- Pointer
- Unexpected
- Missing
- Composite
- Refinement
- Transformation
- Type
- Forbidden
description: The tag identifying the type of parse issue
path:
type: array
items:
$ref: '#/components/schemas/PropertyKey'
description: The path to the property where the issue occurred
message:
type: string
description: A descriptive message explaining the issue
additionalProperties: false
description: Represents an error encountered while parsing a value to match the schema
PropertyKey:
anyOf:
- type: string
- type: number
- type: object
required:
- _tag
- key
properties:
_tag:
type: string
enum:
- symbol
key:
type: string
additionalProperties: false
description: an object to be decoded into a globally shared symbol