Stock Data
Crypto
Insider Trading
Fundamentals
Earnings Calls
Death Cross
SEC Filings
Usage Metrics
Service Information
Authenticating
Every API call to the endpoints below requires a valid API key to be provided. This API key verifies your permission to use the service. API keys are free! Get your own by registering for an account.
How to provide your key
Your key will look like this: 333acb16de254844ab64783232d2ba66
Include your API key as a header to your request with the label 'key'
Versioning
Some of the endpoints below will have multiple versions available for consumption. To specify which version you would like to consume, use the Accept-Version header. For example, specifying you want version 2:
Accept-Version: 2
Example in Postman:

Stock Data
Access data for any publicly traded security, including stock, bonds, options, and more.
Stock Data (v1) Deprecated, please use new version
Access summary or statistical data for stocks, bonds, options, crypto, and more.
A newer version of this endpoint is available, see Stock Data v2. If you still wish to use version 1 (for backwards compatability), please specify you would like version 1 via the Accept-Version header; for more information, please see the versioning instructions.
Parameters
Example Requests
}
Stock Data (v2)
Access summary or statistical data for stocks, bonds, options, crypto, and more. To specify you would like to consume version 2 of this endpoint, set the Accept-Version header to 2. See the versioning instructions for more information.
The advantage of using the v2 specification is drastically reduced response times for requests that would be requesting both summary data and statistical data (as seen in version 1).
Parameters
Example Requests
}
Crypto
Use these endpoints to access real-time data about cryptocurrencies.
Crypto Quote
Access pricing and trading activity data for virtually any cryptocurrency. All quotes are in U.S. Dollars.
Parameters
Example Requests
}
Insider Trading
Read and monitor insider transactions for any publicly traded company.
Insider Trading (Webhook)
You can subscribe your application or web service to be notified of new insider trading the moment it is reported to the SEC. You can even specify the companies, individuals, security types, or transactions you only wish to be notified of.
Step 1 - Subscribe Your Endpoint
First you must subscribe your endpoint to the insider trading webhook service. You can subscribe your endpoint by making a POST call to the URL specified below.
}
- The endpoint property is mandatory! This is where you will specify the endpoint of your API service that Aletheia will call.
- The issuer property specifies the company you only want to receive insider trading notifications for. Microsoft is the specified company (CIK 789019) in this example. You can either provide the trading symbol of the company ("MSFT" in this example) or the CIK of the company. Provide the CIK for faster performance. This property is optional.
- The owner property is the CIK of the person you only want to receive insider trading notifications on. In this example we have it set to 1513142 which is the CIK of Satya Nadella, the CEO of Microsoft This property is optional.
- The transactionType property specifies the the transaction type you only want to be notified of. Please see the transaction type property from the Latest Transactions endpoint to see the list of transaction type ID's. This property is optional.
- The securityType property specifies the security type that you only want to be notified on. This means that you will only be notified of transactions involving either non-derivative (equity) securities or derivative securities. 0 = non-derivative, 1 = derivative. This property is optional.
For any optional property that you do not specify in the POST body, the assumption will be made that you would like to subscribe your endpoint to all of the available selections. For example, if I did not specify the issuer property when subscribing my endpoint, this will in turn mean that my endpoint will be called for transactions involving any company.
The subscription endpoint will return a 201 created response. This response will include a "Location" header. The value of this header will be used to unsubscribe from this webhook, so save this for later.
Step 2 - Receive New Filings!
After subscribing your endpoint to the webhook with step 1, your endpoint will begin to receive HTTP POST requests when new qualifying insider trades become available.
The following is an example of the POST request that will be sent to your registered endpoint:
}
You can find thorough explanations for each component of each component above in other endpoint documentation.
- SecEntity from the Get Entity endpoint
- SecFiling from the Get Filing endpoint
- The HeldOfficerPosition property will be populated if the insider in this transaction has a titled position with the company (for example CEO, CFO, Chairman, etc.)
- SecurityTransactionHolding from the Latest Transactions endpoint
Step 3 - Unsubscribe from the webhook when finished
When you wish to stop receiving posts from this webhook, be sure to formally unsubscribe your endpoint.
When you originally registered your endpoint in step 1, the returned 201 created response contained a "Location" header. The value of this header contains the endpoint that will unsubscribe your endpoint via a DELETE call. The unsubscribe endpoint will look something like this:
To unsubscribe your endpoint from this webhook, call this provided value via a DELETE call.
If you no longer have the provided unsubscribe URL (ID of your webhook to unsubscribe with) from the original subscription step, you can also unsubscribe by providing your registered endpoint URL. For example, see below:
Search Entities
Search the Aletheia database for an entity. An entity represents either a company (serving as an security issuer) or a person (serving as a security owner).
Parameters
Example Requests
]
Get Entity
Get details of a company or insider from their Central Index Key (CIK), a unique ID assigned by the Securities Exchange Commission.
Parameters
Example Requests
}
Get Filing
Get details of a particular SEC filing that has already been processed by our servers.
! Please note that this endpoint will not access any filing with the SEC, but rather only queries filings that have already been scanned and processed and thus exist in our database.
Parameters
! While the above parameters are optional, you must specify at least one.
Example Requests
}
Latest Transactions
Download the latest insider transactions for a person or company.
Parameters
! The parameters 'issuer' and 'owner' are both optional, but you must provide at least one.
- Date supplied in format YYYYMMDD. For example, "20191231".
- 0 = purchase
- 1 = sale
- 2 = transaction voluntarily reported earlier than required
- 3 = grant or award
- 4 = sale back to issuer
- 5 = payment of exercise price or tax liability
- 6 = discretionary transaction
- 7 = exercise or conversion of derivative security
- 8 = conversion of derivative security
- 9 = expiration of short derivative position
- 10 = expiration of long derivative position
- 11 = exercise of out-of-the-money derivative
- 12 = exercise of in-the-money derivative
- 13 = bona fide gift
- 14 = small acquisition
- 15 = acquisition or disposition by will or laws
- 16 = deposit into or withdrawal from voting trust
- 17 = other acquisition or disposition
- 18 = equity swap
- 19 = disposition due to tender of shares
! Due to the larger quantity quantity of data being accessed, cascade querying may be noticeably slower.
Example Requests
]
Affiliated Owners
List the insiders who at some point in the time held or made transactions with a particular company.
Parameters
Example Requests
]
Fundamentals
These endpoints provide with you financial performance data for any publicly traded company. These endpoints span all three primary financial statements, including Income Statement, Balance Sheet, and State of Cash Flows.
Common Financials
Access a financial statement set for a particular company. The returned response will be a financial fact set that is presented in a commonly comparable form.
Parameters
- 0 = Annual (from a 10-K filing)
- 1 = Quarterly (from a 10-Q filing)
- If this parameter is not specified, the API will simply select the most recent financial filing that meets your criteria.
Example Requests
}
Financial Fact Trend
Examine the trend in a financial result data point for any major commonly-reported figure on an income statement, balance sheet, or statement of cash flows.
Parameters
- Income Statement Facts
- 0 = Revenue
- 1 = Selling, General, and Administrative Expenses (SG&A)
- 2 = Research and Development Expenses
- 3 = Operating Income
- 4 = Net Income/Loss
- Balance Sheet Facts
- 5 = Assets
- 6 = Liabilities
- 7 = Equity
- 8 = Cash
- 9 = Current Assets
- 10 = Current Liabilities
- 11 = Retained Earnings/Deficit
- 12 = Number of common stock shares outstanding
- Cash Flow Statement Facts
- 13 = Operating Cash Flows
- 14 = Investing Cash Flows
- 15 = Financing Cash Flows
- 16 = Proceeds from Issuance of Debt
- 17 = Payments of Debt
- 18 = Dividends Paid
- 0 = Annual (from a 10-K filing)
- 1 = Quarterly (from a 10-Q filing)
Example Requests
]
Earnings Calls
Aletheia continuously processes new earnings calls for many publicly traded companies on a daily basis. You can use these endpoints for accessing earnings call content and highlights from the call.
Search Earnings Calls
Search our database for available earnings call transcripts and highlights.
Parameters
Example Requests
]
Earnings Call
Access contextual information and spoken content for a publicly traded company's earnings call.
Parameters
! While the company parameter is marked as optional above, it must be specified if the id parameter is NOT specified.
- kpi - Retrun a list of detected, parsed, and documented key performance indicactors in each spoken remark.
KPI Response Structure
If you do use the KPI feature of this endpoint by including it in the include parameter, each spoken remark will include a property titled KeyPerformanceIndicators. Below an example:
]
- The subject property contains the plain text of the subject that was refered to during the call.
- status - code indicating the action/what happened to the subject.
- 0 = "equals", "is", etc. For example, "revenue is $500,000."
- 1 = "increased"
- 2 = "decreased"
- 3 = "Is greater than", "surprassed", "exceeded", "passed", etc.
- 4 = "Is less than", "fell below", "sunk below"
- 5 = "produced", "generated", "created", "caused". For example, "iPad contributed $100M in revenue."
- value - the dollar figure, percentage, quantity, that is mentioned. If a percentage is mentioned, it will be in a percentage format (i.e. 55% would be 0.55).
- valueIsPercent - if the value is a percentage, this will be true. If not, this will be false.
- subjectOffset - start location of the subject in the spoken remark.
- subjectLength - length (number of characters) of the subject.
- statusOffset - start location of the phrase that determined the status property in the spoken remark.
- statusLength - length of the phrase that determined the status property in the spoken remark.
- valueOffset - start location of the figure (number or percentage) that determined the value property in the spoken remark.
- valueLength - length of the figure (number or percentage) that determined the value property in the spoken remark.
Example Requests
}
Earnings Call Highlights
Aletheia analyzes each earnings call and extracts the meaningful words, phrases, and financial figures from the calls. You can use the Earnings Call Highlights endpoint to directly request the most important remarks from the call. You can even filter this further and request the most important remarks involving a particular financial category (i.e. important remarks related to revenue, earnings per share, guidance, financial figures, etc).
Parameters
- 0 - Revenue
- 1 - Earnings
- 2 - Cash Flow
- 3 - Other
- 4 - Growth
- 5 - Financial Figure
- 6 - Volume
- 7 - Guidance
- 8 - Management Perception of the Situation
Example Requests
]
Death Cross
The "death cross" is a technical chart pattern indicating the potential for a major sell-off of a stock or security. The death cross appears on a chart when a stock's 50-day moving average crosses it's 200-day moving average. Use Aletheia's Death Cross service to be notified of or research historical death cross events.
Death Cross/Golden Cross (Webhook)
You can subscribe your application or web service to be notified of death cross and golden cross events via this webhook service. This service will notify you of both bearish events in which the 50-day moving average sinks below the 200-day moving average ("death cross"), and bullish events in which the 50-day moving average once again rose above the 200-day moving average ("golden cross").
Step 1 - Subscribe Your Endpoint
First you must subscribe your endpoint to the death cross webhook service.
}
Step 2 - Receive death/golden cross events!
After subscribing your endpoint to the webhook with step 1, your endpoint will begin to receive HTTP POST requests when a qualifying death/golden cross event occurs.
The following is an example of the POST request that will be sent to your registered endpoint:
}
Step 3 - Unsubscribe frim the webhook when finished
When you initially subscribed to the death cross webhook service, a header labeled Location should have been included in the 201 (Created) response. Simply send a DELETE request to this URL to unsubscribe your endpoint. Alternatively, you can follow the same unsubscribe instructions from the New Filings webhook to unsubscribe if you no longer have this value.
SEC Filings
Access and monitor filings with the Securities Exchange Commission's EDGAR database.
New SEC Filings (Webhook)
You can subscribe your application or web service to be notified of new SEC filings with this webhook.
Step 1 - Subscribe Your Endpoint
First you must subscribe your endpoint to the new filings webhook service.
Step 2 - Receive New Filings!
After subscribing your endpoint to the webhook with step 1, your endpoint will begin to receive HTTP POST requests when a new SEC filing is available.
The following is an example of the POST request that will be sent to your registered endpoint:
"EntityTitle":"BlackRock Capital Investment Corp",
"EntityCik":1326003,
"Filing":"4",
"DocumentsUrl":"https://www.sec.gov/Archives/edgar/data/1326003/000120919121008361/0001209191-21-008361-index.htm",
"Description":"Statement of changes in beneficial ownership of securities Accession Number: 0001209191-21-008361 Size: 9 KB\n",
"FilingDate":"2021-02-05T00:00:00"
}
Step 3 - Unsubscribe from the webhook when finished
When you wish to stop receiving posts from this webhook, be sure to formally unsubscribe your endpoint.
When you originally registered your endpoint in step 1, the returned 201 created response contained a "Location" header. The value of this header contains the endpoint that will unsubscribe your endpoint via a DELETE call. The unsubscribe endpoint will look something like this:
To unsubscribe your endpoint from this webhook, call this provided value via a DELETE call.
If you no longer have the provided unsubscribe URL from the original subscription step, you can also unsubscribe by providing your registered endpoint to the 'UnsubscribeFromNewFilingsWebhookByEndpoint' api. For example, see below:
Entity Filings
Query the latest SEC filings for a particular company or person.
Parameters
Example Requests
]
Open Form 4
Open a statement of change in beneficial ownership (form 4) to reveal details of insider trading
Parameters
- Tip: Use the filing url of a form 4 filing that was returned via the "EntityFilings" endpoint (see above)
Example Requests
}
Open Common Financials
Open a financial report document (10-K or 10-Q) filing to a financial statement.
Parameters
- Tip: Use the filing url of a 10-K/10-Q filing that was returned via the "EntityFilings" endpoint (see above)
Example Requests
}
Usage Metrics
You can use these endpoints to monitor your consumtion of the Aletheia API service.
Consumption
Count the number of API calls you have made or have been made to you (via webhook) in the current month, broken out by service. See the example below. The id property defines the ID number of the service used, the name property is the name of the service (endpoint), and the calls is the number of calls that have been made to (or from) that service in the current month. Finally, the total number of calls consumed during this month across all services is summed at the root level as property calls.
}
Service Information
These endpoints provide contextual information about the Aletheia service.
API Version
Get the actively deployed version of the Aletheia API service
Count Entities
Count the number of SEC entities that have been processed and collected.
Parameters
Count Filings
Count the number of SEC filings that have been processed and collected.
Count Transactions
Count the number of transactions that have been processed and collected from from 3, 4, and 5's from the SEC.
Count Fact Contexts
Count the number of Fact Contexts that are available for consumption from the Fundamentals service category.
Count Financial Facts
Count the number of financial data points that have been collected and are available for consumption from the Fundamentals service category. You can count the number of data points in overall or narrow down to data points belonging to a specific company.