Skip to content

API for tracking holdings and trades of ARK Invest funds

Notifications You must be signed in to change notification settings

maxwang09/ark-invest-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARK Invest API

Documentation

Swagger UI: https://arkfunds.io/api
ReDoc: https://arkfunds.io/api/docs

Endpoints

ETF Profile

GET /etf/profile

Returns ARK ETF profile information

Query Parameters

Parameter Valid values Default value
symbol ARKK, ARKQ, ARKW, ARKG, ARKF, PRNT, IZRL

Example

Request

GET https://arkfunds.io/api/v1/etf/profile?symbol=ARKK

Response

{
    "profile": [{
        "symbol": "ARKK",
        "name": "ARK Innovation ETF",
        "description": "ARKK is an actively managed ETF that seeks long-term growth of capital by investing under normal circumstances primarily (at least 65% of its assets) in domestic and foreign equity securities of companies that are relevant to the Fund’s investment theme of disruptive innovation."
    }]
}

ETF Holdings

GET /etf/holdings

Returns ARK ETF holdings

Query Parameters

Parameter Valid values Default value
symbol ARKK, ARKQ, ARKW, ARKG, ARKF, PRNT, IZRL
date ISO 8601 Calendar date

Example

Request

GET https://arkfunds.io/api/v1/etf/holdings?symbol=ARKK

Response

{
    "symbol": "ARKK",
    "date": "2021-01-15",
    "holdings": [{
        "company": "TESLA INC",
        "ticker": "TSLA",
        "cusip": "88160R101",
        "shares": 2626774,
        "market_value": 2170135607.84,
        "weight": 9.65,
        "weight_rank": 1
    }, {
        "company": "ROKU INC",
        "ticker": "ROKU",
        "cusip": "77543R102",
        "shares": 4110728,
        "market_value": 1678410242.4,
        "weight": 7.47,
        "weight_rank": 2
    }, {
        "company": "CRISPR THERAPEUTICS AG",
        "ticker": "CRSP",
        "cusip": "H17182108",
        "shares": 6246733,
        "market_value": 1248596992.04,
        "weight": 5.55,
        "weight_rank": 3
    }, {
        "company": "SQUARE INC - A",
        "ticker": "SQ",
        "cusip": "852234103",
        "shares": 4776169,
        "market_value": 1087772489.75,
        "weight": 4.84,
        "weight_rank": 4
    }, {
        "company": "TELADOC HEALTH INC",
        "ticker": "TDOC",
        "cusip": "87918A105",
        "shares": 4325169,
        "market_value": 974244317.25,
        "weight": 4.33,
        "weight_rank": 5
    }]
}

ETF Trades

GET /etf/trades

Returns ARK ETF intraday trades

Query Parameters

Parameter Valid values Default value
symbol ARKK, ARKQ, ARKW, ARKG, ARKF
period 1d, 7d, 1m, 3m, 1y, ytd 1d

Example

Request

GET https://arkfunds.io/api/v1/etf/trades?symbol=ARKK

Response

{
    "symbol": "ARKK",
    "date_from": "2021-01-15",
    "date_to": "2021-01-15",
    "trades": [{
        "fund": "ARKK",
        "date": "2021-01-15",
        "direction": "Buy",
        "ticker": "REGN",
        "cusip": "75886F107",
        "company": "REGENERON PHARMACEUTICALS INC",
        "shares": 81933,
        "etf_percent": 0.191
    }, {
        "fund": "ARKK",
        "date": "2021-01-15",
        "direction": "Buy",
        "ticker": "SPOT",
        "cusip": "L8681T102",
        "company": "SPOTIFY TECHNOLOGY SA",
        "shares": 88270,
        "etf_percent": 0.1269
    }, {
        "fund": "ARKK",
        "date": "2021-01-15",
        "direction": "Buy",
        "ticker": "TXG",
        "cusip": "88025U109",
        "company": "10X GENOMICS INC",
        "shares": 53881,
        "etf_percent": 0.0434
    }, {
        "fund": "ARKK",
        "date": "2021-01-15",
        "direction": "Buy",
        "ticker": "SNPS",
        "cusip": "871607107",
        "company": "SYNOPSYS INC",
        "shares": 26425,
        "etf_percent": 0.0309
    }]
}

Stock Profile

GET /stock/profile

Returns Stock profile information

Example

Request

GET https://arkfunds.io/api/v1/stock/profile?symbol=TSLA

Response

{
  "ticker": "TSLA",
  "name": "Tesla, Inc.",
  "country": "United States",
  "industry": "Auto Manufacturers",
  "sector": "Consumer Cyclical",
  "fullTimeEmployees": 48016,
  "summary": "Tesla, Inc. designs, develops, manufactures, leases, and sells electric vehicles, and energy generation and storage systems in the United States, China, Netherlands, Norway, and internationally. The company operates in two segments, Automotive; and Energy Generation and Storage. The Automotive segment offers sedans and sport utility vehicles. It also provides electric powertrain components and systems; and services for electric vehicles through its company-owned service locations, and Tesla mobile service technicians, as well as sells used vehicles. This segment markets and sells its products through a network of company-owned stores and galleries, as well as through its own Website. The Energy Generation and Storage segment offers energy storage products, such as rechargeable lithium-ion battery systems for use in homes, industrial, commercial facilities, and utility grids; and designs, manufactures, installs, maintains, leases, and sells solar energy generation and energy storage products to residential and commercial customers. It also provides vehicle insurance services, as well as renewable energy. The company was formerly known as Tesla Motors, Inc. and changed its name to Tesla, Inc. in February 2017. Tesla, Inc. was founded in 2003 and is headquartered in Palo Alto, California.",
  "website": "http://www.tesla.com",
  "market": "us_market",
  "exchange": "NasdaqGS",
  "currency": "USD",
  "marketCap": 783117844480,
  "sharesOutstanding": 947900992
}

Stock Trades

GET /stock/trades

Returns Stock Trades

Example

Request

GET https://arkfunds.io/api/v1/stock/trades?symbol=TSLA

Response

{
    "symbol": "TSLA",
    "date_from": "2020-09-18",
    "date_to": "2021-01-12",
    "trades": [{
        "date": "2021-01-12",
        "fund": "ARKK",
        "direction": "Sell",
        "ticker": "TSLA",
        "company": "TESLA INC",
        "cusip": "88160R101",
        "shares": 126276,
        "etf_percent": 0.5055
    }, {
        "date": "2021-01-12",
        "fund": "ARKQ",
        "direction": "Sell",
        "ticker": "TSLA",
        "company": "TESLA INC",
        "cusip": "88160R101",
        "shares": 13179,
        "etf_percent": 0.4991
    }, {
        "date": "2021-01-12",
        "fund": "ARKW",
        "direction": "Sell",
        "ticker": "TSLA",
        "company": "TESLA INC",
        "cusip": "88160R101",
        "shares": 16898,
        "etf_percent": 0.6161
    }, {
        "date": "2021-01-08",
        "fund": "ARKK",
        "direction": "Sell",
        "ticker": "TSLA",
        "company": "TESLA INC",
        "cusip": "88160R101",
        "shares": 59500,
        "etf_percent": 0.2506
    }]
}

ARK Fund Ownership

GET /stock/fund-ownership

Returns ARK Fund Ownership

Example

Request

GET https://arkfunds.io/api/v1/stock/fund-ownership?symbol=TSLA

Response

{
    "symbol": "TSLA",
    "date": "2021-01-15",
    "ownership": [{
        "fund": "ARKK",
        "weight": 9.65,
        "weight_rank": 1,
        "shares": 2626774,
        "market_value": 2170135607.84
    }, {
        "fund": "ARKQ",
        "weight": 11.37,
        "weight_rank": 1,
        "shares": 335957,
        "market_value": 277554235.12
    }, {
        "fund": "ARKW",
        "weight": 9.87,
        "weight_rank": 1,
        "shares": 734796,
        "market_value": 607059063.36
    }],
    "totals": {
        "funds": 3,
        "shares": 3697527,
        "market_value": 3054748906.32
    }
}

About

API for tracking holdings and trades of ARK Invest funds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%