Track Hedge Funds Using 13F Filings (2024)

The WhaleWisdom API lets you interact with our 13F database in a variety of ways. Although most of the functionality provided through the API is already available by utilizing the website, the API is provided to help streamline and automate data retrieval.

In order to use the API you must have an account registered with WhaleWisdom.com. Once registered you will need to login and go to your user profile to create new API access keys. These will be used to authenticate your API calls.

What follows the endpoint depends on a number of factors including how you are to be authenticated, what command you want to execute and how you want the results formatted. The following documentation provides details into using the API.

The API limits usage to 20 requests per minute.

quarters

The quarters command lists all 13F filing dates currently in the database and their availability for use by your account.

JSON object/value pairs:

None

Available Outputs: html, json, csv

Example:

 {"command":"quarters"} 

Sample format for a GET request API call:

 https://whalewisdom.com/shell/command.html?args=%7B%22command%22:%22quarters%22%7D 

stock_lookup

stock_lookup returns a list of stocks that match either the ticker symbol or name provided. The stock identifier, name, symbol, and status (active or delisted) will be returned.

JSON object/value pairs:

keyvaluetyperequired
nameNAMEstringeither name or symbol is requireda partial or complete name to search for
symbolSYMBOLstringeither name or symbol is requiredthe stock ticker symbol to search for

Available Outputs: html, json, csv

examples:

{"command":"stock_lookup", "name":"Apple Comp"}
{"command":"stock_lookup", "symbol":"aapl"}

A complete GET API call would look similarly to:

 https://whalewisdom.com/shell/command.html?args=%7B%22command%22:%22stock_lookup%22,%20%22name%22:%22apple%20comp%22%7D 

filer_lookup

The filer_lookup command returns a list of 13F filers including the filer identifier, name and CIK. The maximum number of records returned is 1,000.

JSON object/value pairs:

keyvaluetyperequired
nameNAMEstringat least one param is requireda partial or complete name to search for
cikCIKstringat least one param is requiredthe filer Central Index Key(CIK) to search for
idIDnumberat least one param is requiredthe database ID of the filer
cityIDstringat least one param is requiredthe city provided by the filer
stateIDstringat least one param is requiredthe state the filer resides in
state_incorporationIDstringat least one param is requiredthe state the filer is incorporated in
business_phoneIDstringat least one param is requiredbusiness phone provided by filer
irs_numberIDstringat least one param is requiredIRS number provided by filer
offsetIDstringoffset to return if bringing back over 1,000 records

Available Outputs: html, json, csv

examples:

{"command":"filer_lookup", "name":"berkshire"}
{"command":"filer_lookup", "cik":"0001067983"}

A complete GET request API call would look similarly to:

 https://whalewisdom.com/shell/command.html?args=%7B%22command%22:%22filer_lookup%22,%20%22name%22:%22berkshire%22%7D 

stock_comparison

The stock_comparison allows for Quarterly comparison of 13F holders of a specific stock

JSON object/value pairs:

keyvaluetyperequired
stockidSTOCK ID - the id of the stocknumericrequired
q1idQUARTER 1 ID - the id of one of the 13F filing quarters to comparenumericrequired
q2idQUARTER 2 ID - the id of the other 13F filing quarter to comparenumericrequired
orderORDER BYstringoptionalfiler_name, q1_shares, q2_shares, or percent_change
dirDIRECTIONstringoptionalASC or DESC

Available Outputs: html, json, csv

examples:

{"command":"stock_comparison","stockid":3598,"q1id":39,"q2id":40}

(This will do a stock comparison of E*Trade for the 9/30/2010 and 12/31/2010 quarters)

{"command":"stock_comparison","stockid":3598,"q1id":39,"q2id":40,"order":"q2_shares","dir":"DESC"}

(This will do a stock comparison of E*Trade for the 9/30/2010 and 12/31/2010 quarters ordering by q2 shares in descending order)

A complete API call would look similarly to:

 https://whalewisdom.com/shell/command.html?args=%7B%22command%22:%22stock_comparison%22,%22stockid%22:3598,%22q1id%22:39,%22q2id%22:40%7D 

holdings_comparison

The holdings_comparison lets you compare a filer's 13F holdings between two quarters

JSON object/value pairs:

keyvaluetyperequired
fileridFILER IDnumericrequiredthe id of the filer
q1idQUARTER 1 IDnumericrequiredthe id of one of the 13F filing quarters to compare
q2idQUARTER 2 IDnumericrequiredthe id of the other 13F filing quarter to compare
orderORDER BYstringoptionalcolumn to sort by - stock, q2_market_value, q1_percent_of_portfolio, q2_percent_of_portfolio, q2_shares, q1_shares, q1_market_value, percent_change, or absolute_change
dirDIRECTIONstringoptionalASC or DESC
filterFILTERarray of stringsoptionalAn array with possible values of SHARES, CALL, PUT, or PRN. if set to one or more of these values then the results will be restricted to those types of assets
stockidDIRECTIONnumericoptionalthis will restrict results to the stock id you provide

Available Outputs: html, json, csv

examples:

{"command":"holdings_comparison","filerid":163,"q1id":39,"q2id":40}

(This will do a 13F holdings comparison of Appaloosa for the 9/30/2010 and 12/31/2010 quarters and display the results on screen)

{"command":"holdings_comparison","filerid":163,"q1id":39,"q2id":40,"order":"q2_shares","dir":"DESC"}

(This will do a holdings comparison of Appaloosa for the 9/30/2010 and 12/31/2010 quarters ordering by q2 shares in descending order)

{"command":"holdings_comparison","filerid":163,"q1id":39,"q2id":40,"order":"q2_shares","filter":["CALL","PUT"]}

(This will do a holdings comparison of Appaloosa for the 9/30/2010 and 12/31/2010 quarters and only return any CALL or PUT holdings)

A complete API call would look similarly to:

 https://whalewisdom.com/shell/command.html?args=%7B%22command%22:%22holdings_comparison%22,%22filerid%22:163,%22q1id%22:39,%22q2id%22:40%7D 

export

The export lets you export the entire 13f holdings history for a single filer. Standard subscription users are limited to exporting 50 filers per quarter.

JSON object/value pairs:

keyvaluetyperequired
filer_idFILER IDnumericrequiredid of filer to export
quarters[QUARTER_ID's]array of numbersrequired array of quarter ids to export
outputOUTPUT IDnumericrequired either 1 or 2. 1 to output all 13f holdings into a single CSV file. 2 to output all 13f holdings into separate CSV files per quarter
columns[COLUMN ID's]array of numbersrequired Columns to include in export -
  • 1 - Filer Name
  • 2 - Stock Name
  • 3 - Stock Ticker
  • 4 - Quarter Date
  • 5 - Type of Security
  • 6 - Current Shares Held
  • 7 - Current Market Value
  • 8 - Previous Shares Held
  • 9 - Previous Market Value
  • 10 - Current % of Portfolio
  • 11 - Previous % of Portfolio
  • 12 - Current Rank
  • 13 - Previous Rank
  • 14 - Change in Shares
  • 15 - Type of Change
  • 16 - Sector
  • 17 - stock_id
  • 18 - source
email"EMAIL"stringrequiredemail address to send export to

Available Outputs: html, json, csv

examples:

(This will export the 13f holdings of Berkshire Hathaway for the 12/31/2010, 3/31/2011 and 6/30/2011 quarters to a single CSV file and email it to testemail@test.com)

{"command":"export","quarters":[40,41,42],"columns":[1,2,3,4,5,6,7,8],"filer_id":349,"output":1,"email":"testemail@test.com"}

A complete API call would look similarly to:

 https://whalewisdom.com/shell/command.html?args=%7B%22command%22%3A%22export%22%2C%22quarters%22%3A%5B40%2C41%2C42%5D%2C%22columns%22%3A%5B16%2C17%2C18%5D%2C%22filer_id%22%3A349%2C%22output%22%3A1%2C%22email%22%3A%22testemail%40test.com%22%7D 

holdings

The holdings lets you output all holdings for a filer or list of filers. Holdings data is taken from 13F filings and you can optionally incorporate Schedule 13D/G information as well. This command is limited to your subscription level.

Download the latest list of filer_ids here. Download the latest list of stock_ids here.

JSON object/value pairs:

optional
keyvaluetyperequired
filer_ids[FILER ID]numeric arrayrequiredids of filers to include
quarter_ids[QUARTER_ID]numeric arrayoptional. leave blank to get most recent data ids of quarters to retrieve
stock_ids[STOCK ID]numeric arrayoptionalids of stocks to restrict output to
all_quarters1 or 0numberoptional. If set to 1 then all available quarters are retrieved
sort"ORDER BY"stringoptionalcolumn to sort by -
dir"DIRECTION"stringoptionalASC or DESC
limitstringnumberlimit number of results returned
columns[COLUMN ID's]array of numbersoptional - leave blank for all Columns to include -
  • 0. filer_id
  • 1. filer_name
  • 2. stock_id
  • 3. stock_name
  • 4. stock_ticker
  • 5. security_type
  • 6. shares_change
  • 7. position_change_type
  • 8. current_ranking
  • 9. previous_ranking
  • 10. current_percent_of_portfolio
  • 11. previous_percent_of_portfolio
  • 12. current_mv
  • 13. previous_mv
  • 14. current_shares
  • 15. previous_shares
  • 16. source_date
  • 17. source
  • 18. sector
  • 19. industry
  • 20. % Ownership
  • 21. filer_street_address
  • 22. filer_city
  • 23. filer_state
  • 24. filer_zip_code
  • 25. avg_price
  • 26. percent_change
  • 27. quarter_id_owned (quarter id first owned by filer)
include_13d1 or 0numberoptional. If set to 1 and pulling latest quarterly data then any 13D/G filing after the 13F filing data will replace the 13F holdings information

Available Outputs: json, csv

examples:

(This will retrieve all current holdings of Berkshire Hathaway and Paulson & Co augmented with any available 13D/G filings

{"command":"holdings","filer_ids":[349,2182],"include_13d":1}

A complete API call would look similarly to: https://whalewisdom.com/shell/command.json?args=%7B%22command%22%3A%22holdings%22%2C%22filer_ids%22%3A%5B349%2C2182%5D%2C%22include_13d%22%3A1%7D%20&timestamp=2014-2-7T15%3A33%3A43Z

holders

The holders lets you output all holders for a stock or group of stocks. Holders data is taken from 13F filings and you can optionally incorporate Schedule 13D/G information as well. This command is limited to your subscription level.

Download the latest list of filer_ids here. Download the latest list of stock_ids here.

JSON object/value pairs:

optional
keyvaluetyperequired
filer_ids[FILER ID]numeric arrayoptionalids of filers to restrict output to
quarter_ids[QUARTER_ID]numeric arrayoptional. leave blank to get most recent data ids of quarters to retrieve
stock_ids[STOCK ID]numeric arrayrequiredids of stocks to restrict output to
all_quarters1 or 0numberoptional. If set to 1 then all available quarters are retrieved
sort"ORDER BY"stringoptionalcolumn to sort by -
dir"DIRECTION"stringoptionalASC or DESC
limitstringnumberlimit number of results returned
columns[COLUMN ID's]array of numbersoptional - leave blank for all Columns to include -
  • 0. filer_id
  • 1. filer_name
  • 2. stock_id
  • 3. stock_name
  • 4. stock_ticker
  • 5. security_type
  • 6. shares_change
  • 7. position_change_type
  • 8. current_ranking
  • 9. previous_ranking
  • 10. current_percent_of_portfolio
  • 11. previous_percent_of_portfolio
  • 12. current_mv
  • 13. previous_mv
  • 14. current_shares
  • 15. previous_shares
  • 16. source_date
  • 17. source
  • 18. sector
  • 19. industry
  • 20. % Ownership
  • 21. filer_street_address
  • 22. filer_city
  • 23. filer_state
  • 24. filer_zip_code
  • 25. avg_price
  • 26. percent_change
  • 27. quarter_id_owned (quarter id first owned by filer)
include_13d1 or 0numberoptional. If set to 1 and pulling latest quarterly data then any 13D/G filing after the 13F filing data will replace the 13F holdings information
hedge_funds_only1 or 0numberoptional. If set to 1 then only funds that have been classified as hedge funds will be included in results

Available Outputs: json, csv

examples:

(This will retrieve all current holdings of Apple and Halliburton augmented with any available 13D/G filings

{"command":"holders","stock_ids":[195,411],"include_13d":1}

A complete API call would look similarly to: https://whalewisdom.com/shell/command.json?args=%7B%22command%22%3A%22holdings%22%2C%22filer_ids%22%3A%5B349%2C2182%5D%2C%22include_13d%22%3A1%7D%20&timestamp=2014-2-7T15%3A33%3A43Z

Track Hedge Funds Using 13F Filings (2024)
Top Articles
At $8,500, Is This 1979 Chevy Corvette A Stick-Shift Steal?
A Installing R and RStudio | Hands-On Programming with R
Dlnet Retiree Login
³µ¿Â«»ÍÀÇ Ã¢½ÃÀÚ À̸¸±¸ ¸íÀÎ, ¹Ì±¹ Ķ¸®Æ÷´Ï¾Æ ÁøÃâ - ¿ù°£ÆÄ¿öÄÚ¸®¾Æ
سریال رویای شیرین جوانی قسمت 338
2022 Apple Trade P36
Best Cheap Action Camera
Visustella Battle Core
Bustle Daily Horoscope
Remnant Graveyard Elf
Zendaya Boob Job
Sports Clips Plant City
6th gen chevy camaro forumCamaro ZL1 Z28 SS LT Camaro forums, news, blog, reviews, wallpapers, pricing – Camaro5.com
Identogo Brunswick Ga
Burn Ban Map Oklahoma
Buy PoE 2 Chaos Orbs - Cheap Orbs For Sale | Epiccarry
Fool’s Paradise movie review (2023) | Roger Ebert
Bitlife Tyrone's
Idaho Harvest Statistics
U Break It Near Me
Whitefish Bay Calendar
Ruse For Crashing Family Reunions Crossword
Euro Style Scrub Caps
Dallas Mavericks 110-120 Golden State Warriors: Thompson leads Warriors to Finals, summary score, stats, highlights | Game 5 Western Conference Finals
All Obituaries | Verkuilen-Van Deurzen Family Funeral Home | Little Chute WI funeral home and cremation
Sadie Sink Reveals She Struggles With Imposter Syndrome
Fleet Farm Brainerd Mn Hours
Shoe Station Store Locator
The Boogeyman (Film, 2023) - MovieMeter.nl
Account Now Login In
Narragansett Bay Cruising - A Complete Guide: Explore Newport, Providence & More
Vht Shortener
+18886727547
Ni Hao Kai Lan Rule 34
Unity Webgl Player Drift Hunters
Hell's Kitchen Valley Center Photos Menu
Final Fantasy 7 Remake Nexus
The Angel Next Door Spoils Me Rotten Gogoanime
Ethan Cutkosky co*ck
Joey Gentile Lpsg
How Much Is 10000 Nickels
Mbfs Com Login
Tableaux, mobilier et objets d'art
Petra Gorski Obituary (2024)
Interminable Rooms
Vagicaine Walgreens
Lorton Transfer Station
Sapphire Pine Grove
Latina Webcam Lesbian
Julies Freebies Instant Win
Denys Davydov - Wikitia
Lorcin 380 10 Round Clip
Latest Posts
Article information

Author: Frankie Dare

Last Updated:

Views: 6430

Rating: 4.2 / 5 (73 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Frankie Dare

Birthday: 2000-01-27

Address: Suite 313 45115 Caridad Freeway, Port Barabaraville, MS 66713

Phone: +3769542039359

Job: Sales Manager

Hobby: Baton twirling, Stand-up comedy, Leather crafting, Rugby, tabletop games, Jigsaw puzzles, Air sports

Introduction: My name is Frankie Dare, I am a funny, beautiful, proud, fair, pleasant, cheerful, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.