Aktionariat Documentation
  • Introduction to Aktionariat
    • ⚡Quick Start
  • 🛠️APIs
    • 📊Subgraph
      • Schema
      • Query Examples
        • Platform data
        • Token Data
        • Brokerbot Data
        • Swaps Data
    • ⚙️External API
      • ⚙️External API (Gitbook)
  • 🌐Web
    • Integrate with Ethers.js
      • Brokerbot Quoter
    • Integrate Aktionariat Widgets
  • ⛓️Smart Contracts
    • 📔Contracts Overview
    • 👷‍♂️Guides
      • Implement A Trade
        • Direct Trades
        • Multihop Trades
      • Get Brokerbot Contract for Token
      • Buy Shares
      • Sell Shares
    • Technical Reference
      • Allowlist
      • Brokerbot
      • Drag-Along
      • Infinite Allowances
      • Multi-Signature Contract
      • Recovery
      • Shareholder Registry
  • 📖Reference
    • Brokerbot Architecture
    • Github
    • Whitepaper
    • Brokerbot Analytics
  • 💬Socials
    • Twitter
    • Telegram
    • LinkedIn
    • Youtube
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. APIs
  2. External API

External API (Gitbook)

PreviousExternal APINextIntegrate with Ethers.js

Last updated 1 year ago

Was this helpful?

The base URL of the external API of Aktionariat is:

At the moment the following three endpoints are available:

  • /token - for token details

  • /price - for the current price

  • /prices - for historical prices

In the following you see the API specification of the different calls you can make.

Download OpenAPI specification:

Getting all tokens from Aktionariat

Getting token details for a specific ticker

Get current price of a token

Get price history of a token

🛠️
⚙️
⚙️
https://ext.aktionariat.com/
7KB
openapi.yaml

Get all tokens

get

Get all tokens that are registered in the Aktionariat back-end.

Responses
200
Successful operation
400
Token not found
404
Not Found
get
GET /tokens/ HTTP/1.1
Host: ext.aktionariat.com
Accept: */*
[
  {
    "ticker": "DAKS",
    "name": "Draggable Aktionariart AG Shares",
    "description": "Aktionariat is a tokenization platform.",
    "chain": "mainnet",
    "register": "0x6f38e0f1a73c96cb3f42598613ea3474f09cb200",
    "market": "https://investors.aktionariat.com",
    "creation": 1,
    "currency": "CHF",
    "status": "TRADED",
    "tokenType": "EQUITY",
    "url": "https://investors.aktionariat.com",
    "totalSupply": 1330000,
    "marketCap": 18535743,
    "issuer": {
      "name": "Aktionariat AG",
      "description": "Aktionariat is a tokenization platfrom for security tokens",
      "url": "www.aktionariat.com",
      "industry": "Fintech",
      "foundingYear": 2020
    }
  }
]

Get token details

get

Get tokens details for the ticker in the query.

Query parameters
tickerstringRequired

The ticker of the share token (Uppercase)

Example: DAKS
Responses
200
Successful operation
400
Token not found
get
GET /tokens HTTP/1.1
Host: ext.aktionariat.com
Accept: */*
{
  "ticker": "DAKS",
  "name": "Draggable Aktionariart AG Shares",
  "description": "Aktionariat is a tokenization platform.",
  "chain": "mainnet",
  "register": "0x6f38e0f1a73c96cb3f42598613ea3474f09cb200",
  "market": "https://investors.aktionariat.com",
  "creation": 1,
  "currency": "CHF",
  "status": "TRADED",
  "tokenType": "EQUITY",
  "url": "https://investors.aktionariat.com",
  "totalSupply": 1330000,
  "marketCap": 18535743,
  "issuer": {
    "name": "Aktionariat AG",
    "description": "Aktionariat is a tokenization platfrom for security tokens",
    "url": "www.aktionariat.com",
    "industry": "Fintech",
    "foundingYear": 2020
  }
}

Get current price

get

Get current price with the according currency for a token.

Query parameters
tickerstringRequired

The ticker of the share token (Uppercase)

Example: DAKS
Responses
200
Successful operation
400
No asset found for given criteria
get
GET /price HTTP/1.1
Host: ext.aktionariat.com
Accept: */*
{
  "price": 13.432,
  "base": "CHF"
}

Get historical prices

get

Get historical price points for a token.

Query parameters
tickerstringRequired

The ticker of the share token (Uppercase)

Example: DAKS
Responses
200
Successful operation
400
Not found
get
GET /prices HTTP/1.1
Host: ext.aktionariat.com
Accept: */*
{
  "points": [
    {
      "v": 13.933,
      "t": 1678786871000
    }
  ],
  "ticker": "DAKS",
  "monthlyDrift": 0,
  "currency": "CHF"
}
  • Download OpenAPI specification:
  • Getting all tokens from Aktionariat
  • GETGet all tokens
  • Getting token details for a specific ticker
  • GETGet token details
  • Get current price of a token
  • GETGet current price
  • Get price history of a token
  • GETGet historical prices