Alpaca — Commission-Free API First Stock Brokerage

 

API for Stock Trading

Trade with algorithms, connect with apps, build services — all with commission-free stock trading API

Trading

Integrations

Work with us

Community

Commission-Free
Stock Trading API

With Alpaca Securities LLC’s commission-free API, you can run algorithmic trading & portfolio management bots and build your own mobile app with ease.

Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API. Relevant SEC and FINRA fees may apply.

Simple modern API

Built for developers & traders

Registered securities broker

Alpaca Securities LLC is a member of Financial Industry Regulatory Authority, Inc. (FINRA).
You can check the background of Alpaca Securities on FINRA’s BrokerCheck.
Alpaca Securities is also a member of SIPC — securities in your account are protected up to $500,000.
For details, please visit www.sipc.org.

Alpaca is a technology company headquartered in the bay area California that modularizes the world’s asset management activities. We are a team of diverse background individuals with deep financial and technology expertise, backed by some of the top investors in the industry globally. We are proud to be supported by the love of enthusiastic community members on various platforms.

Testimonial Disclosure

These testimonials may not be representative of the experience of other customers and are not a guarantee of future performance or success.

Technology and services are offered by AlpacaDB, Inc.

Built For Makers
In Open source & Community

We truly believe open source changes the financial systems and how we interact with them. Alpaca grows with our community and knowledges we build together.

Technology and services are offered by AlpacaDB, Inc.
Securities are offered through Alpaca Securities LLC

© 2020 Alpaca Securities LLC All rights reserved.
© 2020 AlpacaDB, Inc. All rights reserved.

Brokerage services are provided by Alpaca Securities LLC («Alpaca»), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc.

This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States).

! View Important Disclosures

Commissions Disclosure

No minimums. Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API. Relevant SEC and FINRA fees may apply.

Disclosures

Brokerage services are provided by Alpaca Securities LLC («Alpaca»), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc.

Technology and services are offered by AlpacaDB, Inc.

Brokerage services are provided to customers who can write automated investment code and self direct their own investments. Alpaca brokerage services are only provided to customers who agree to electronically sign agreements and agree to receive messages, confirmations, and statements electronically. Is Alpaca right for me?

This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States).

The Paper Trading API is offered by AlpacaDB, Inc. and does not require real money or permit a user to transact in real securities in the market. Providing use of the Paper Trading API is not an offer or solicitation to buy or sell securities, securities derivative or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, given or in any manner endorsed by AlpacaDB, Inc. or any AlpacaDB, Inc. affiliate and the information made available through the Paper Trading API is not an offer or solicitation of any kind in any jurisdiction where AlpacaDB, Inc. or any AlpacaDB, Inc. affiliate is not authorized to do business.

You should know that the use or granting of any third party access to your account information or place transactions in your account at your direction is solely at your risk. Alpaca does not warrant against loss of use or any direct, indirect or consequential damages or losses to you caused by your assent, expressed or implied, to a third party accessing your account or information, including access provided through any other third party apps, systems, or sites.

Market prices, data and other information available through Alpaca are not warranted as to completeness or accuracy and are subject to change without notice. System response and account access times may vary due to a variety of factors, including trading volumes, market conditions, system performance, and other factors. A more complete description of the impact these factors may have can be found in our risks of automated trading systems section.

All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. Keep in mind that while diversification may help spread risk it does not assure a profit, or protect against loss, in a down market. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing.

There are risks unique to automated trading algorithms that you should know about and plan for. You should setup a method or system of continuous monitoring or alerting to let you know if there is a mechanical failure, such as connectivity issues, power loss, a computer crash, or system quirk. You should also monitor for instances where your automated trading system experiences anomalies that could result in errant, missing, or duplicated orders. A more complete description of these and other risks can be found in our FAQ section.

Conditional orders may have increased risk as a result of their reliance on trigger processing, market data, and other internal and external systems. Such orders are not sent to the market until specified conditions are met. During that time, issues such as system outages with downstream technologies or third parties may occur. Conditional orders triggering near the market close may fail to execute that day. Furthermore, our executing partner may impose controls on conditional orders to limit erroneous trades triggering downstream orders. Alpaca Securities may not always be made aware of such changes to external controls immediately, which may lead to some conditional orders not being executed. As such, it is important to monitor conditional orders for reasonability. Conditional orders are “Not Held” orders whose execution instructions are on a best efforts basis upon being triggered. Furthermore, conditional orders may be subject to the increased risks of stop orders and market orders outlined above. Given the increased potential risk of using conditional orders, the client agrees that Alpaca Securities cannot be held responsible for losses, damages, or missed opportunity costs associated with market data problems, systems issues, and user error, among other factors. By using conditional orders the client understands and accepts the risks outlined above. Alpaca Securities encourages leveraging the use of Paper accounts to become more comfortable with the intricacies associated with these orders.

ETFs can entail risks similar to direct stock ownership, including market, sector, or industry risks. Some ETFs may involve international risk, currency risk, commodity risk, and interest rate risk. Trading prices may not reflect the net asset value of the underlying securities.

All accounts are opened as margin accounts. You should know that margin trading involves interest charges and risks, including the potential to lose more than deposited or the need to deposit additional collateral in a falling market. Before using margin, customers must determine whether this type of trading strategy is right for them given their specific investment objectives, experience, risk tolerance, and financial situation. For more information please see Alpaca’s Margin Disclosure Statement and Margin Agreement. These disclosures contain information on Alpaca’s lending policies, interest charges, and the risks associated with margin accounts.

Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API. Relevant SEC and FINRA fees may apply.

© 2020 Alpaca Securities LLC. All rights reserved.

11 Best Stock Market APIs to Build Financial Products

The stock market industry has witnessed huge technological adoption in recent years.

This change in the face of the stock market industry is growing so swiftly that it has created a paradigm shift, influencing modern financial institutions. Innovative technologies like cloud-based application programming interface (API) are inflowing the landscape for all the good reasons.

But why is everyone talking suddenly about Stock APIs?

Well, to understand this, let’s zoom out the relevance of stock APIs for financial market data consumers.

Understanding Stock market APIs

Stock market APIs are a boon to traders, investors, and software developers. It is because stock APIs can connect these data consumers effortlessly with accurate and relevant data sources. On top of that, obtaining stock market data through APIs is simple, coherent, and predictable in a properly structured format.

Stock APIs aim at facilitating data sharing, access, and payment transactions. You can retrieve financial data when you need, share data between APIs for consumers, business partners, company employees, and third-party vendors. Besides, you can easily sync data using these APIs across different applications.

So, what happens without a stock API?

In this case, stock market data consumers would have to write complicated codes in order to parse raw data directly from stock exchanges. And this is a tough process due to the availability of stock exchanges in abundance, each with different data transmission processes.

How to leverage stock market data to build financial products?

Stock market APIs come handy for that matter, making everything smooth like cheese by parsing raw market data and presenting in an accessible and clean format.

If you are building your financial products like a trading prediction application, a stock API can prove to be of great help. You can leverage these APIs to know the latest market price and follow historical trends to keep up with instruments like equities, currencies, fixed-income products, and more.

It’s highly essential to know the latest price and trends in real-time so you can leverage them to the maximum potential and calculate risks involved.

Market data that you need for a specific instrument include the latest bid, exchange code, trading venue, and the instrument identifier. It can also add other data such as offer sizes, traded volume, and so on.

Stock APIs help you obtain those time-sensitive data so you can take actionable insights into building your financial products.

However, there are some pitfalls associated with APIs, as all of them are not created equal. So, despite their magic to parse raw stock market data, here are a few factors you should consider.

Available API types

APIs can be of different types – Rest API, FTP, TCP, etc. Choosing the one according to your data requirements and speed would be wise.

While a standard Rest API helps you obtain data in real-time and is relatively fast, if you don’t want to settle for standard speed and instead want a faster alternative, TCP can be your option. With TCP, there’s no need to request for fetching the data, contrary to Rest API.

However, if you are okay with standard data speed, you can go for FTP that provides data at the end of a day. This way, you can save a few bucks as well.

API calls ️

Many data vendors limit the API call frequency that a buyer can make in a minute in order to get the data. They do so to maintain their competitive edge.

Hence, you need to think about what frequency you want and quote accordingly. For example, if you request for one call/minute, they will update data only after every minute.

Latency

Some latency might follow in-between data updates. The delay can range from some milliseconds to seconds.

Hence, before you buy an API, make sure you clear this aspect; otherwise, they can sneak some data, and you will never know.

Now, it’s time to find some of the stock market APIs in the next section!

Marketstack

Whether you want historical market data, intraday, or real-time data, Marketstack is there for you!

Get an easy to use REST API interface to obtain stock market data. To facilitate simplicity, it allows you to request data through HTTP GET and get response data in JSON format. Here, you have the flexibility to use a free or paid version according to your necessity.

With Marketstack, you can get 30+ years of precise historical data to drive meaningful insights. Integrate this API easily and utilize over 125,000 stock tickers across the globe from 72 stock exchanges, including NYSE, Nasdaq, ENX, TYO, ASX, and more.

The REST API of Marketstack is simple yet scalable and robust, capable of delivering up to 100% uptime. Just get started within 5 minutes and continue exploring new horizons. If you want to use its free plan, you don’t need a credit card, payment, or contract. You can get instant access to the API and enjoy up to 1000 requests per month with end-of-day stock data, even in the free plan.

Marketstack leverages state-of-the-art technologies with great scalability of cloud infrastructure to build the stock API. As a result, it can effortlessly handle request volumes of different sorts – from hundreds to millions on a single day.

When it comes to security, Marketstack offers bank-level security by encrypting each byte with industry-level 256-bit HTTPS encryption. With extensive documentation like code examples and demo requests available on API, you can start using it without any hassle.

Finnhub

Utilize the powerful stock market API of Finnhub Stock API to obtain data for building your financial products. It gives you real-time WebSocket and RESTful APIs for stock data, cryptocurrencies, and fiat currencies.

Finnhub provides financial statements in detail for companies across the globe from the past 30+ years. You can get the complete list of all the shareholders that are categorized based on institutions and individuals.

They also give you earning notifications in real-time, upgrades or downgrades, price targets, and historical surprises that you can use to further shape your financial products. Besides, you also get dividends data of 30 years.

Get historical data of 25 years for the US stock market in real-time, connect with more than 10 Forex brokers, and access over 15 crypto brokers. It also gives a complete pre-computed technical analysis, pattern recognition, support or resistance levels, and aggregate indications. You can access to call transcripts of over 20 years of earnings and download audio.

Do you want to know the history of acquisitions and mergers?

The API makes it possible!

It provides current stock market news to understand all the happenings at present. Study the COVID-19 disruptions on the market through the real-time statistics of the pandemic. Furthermore, Finnhub promises 99.99% uptime, along with an SLA and automatic scalability.

Barchart

Build your products with deeper insights into the stock market using the Barchart OnDemand. It provides you with flexible and cloud-based APIs to strengthen your workflows, products, and applications.

With Barchart, you can get power charts representing historical and real-time market data. Integrating data into a website is simple, and you can use the data to shape your present business strategy. In addition, you can create dynamic tools and applications without hassle.

With build-in scalability with the cloud, you can accelerate your workflows. Barchart uses Amazon Web Services (AWS) to maintain data centers in the United States and ensures maximum data redundancy and reliability.

In addition to cloud, Barchart maintains physical data centers as well to meet specific client requirements. Those are Equinox-based centers with low latency and physical backups. Thus, you have the freedom to choose any of the data center models you want.

Utilizing built-in security systems and server virtualization, Barchart helps scale up its services in no time. It supports both POST, GET, and SOAP requests and can deliver data in several formats, including CSV, JSON, XML, and supports WebSockets as well.

Barchart OnDemand is compatible with multiple operating systems such as Linux, Windows, Android, and iOS. It also works on different programming languages like Java, Python, PHP, ASP.NET, and R.

When it comes to pricing, Barchart charges based on your data usage. It offers versatile plans that you can choose based on the scale of your business and pay for only what you use.

EOD Historical Data

Obtain stock market data by utilizing the affordable and flexible services of EOD Historical Data. It offers historical and delayed data, end-of-day, technical, fundamental, dividends, and splits.

It supports 60+ stock exchanges worldwide at the moment. For fundamental data, it supports major stock exchanges, both US-based and non-US, and brings data from 20+ years. They also have ten years or last 20 quarters of data belonging to some minor exchanges.

 

With a rich 30+ years of EOD History covering indices, 45k+ mutual funds, US stocks, and ETFs, you can execute better data analysis. It provides accurate and reliable data from 15+ sources, covering a large number of stock exchanges.

To test the integrity of data, they also use several sources to compare the data and deliver only the best to you. Get super-fast support anytime via chat and email in case anything goes wrong. They usually solve 99.99% of issues in 24 hours or less.

EOD Historical Data facilitates flexible prices where you have to pay for the services you use. Its pricing starts from $19.99/month for 100,000 API requests/day, 1000+ Forex pairs, 100+ indexes, and more.

Alpha Vantage

Alpha Vantage is a major provider of historical and real-time stock APIs along with cryptocurrency, Forex, ETF, mutual funds data feeds along with 50+ technical indicators. It is backed by Y Combinator, focuses on data access democratizing, and is product-oriented and a technology-driven company.

Alpha Vantage ensures smooth API integration without friction. It supports Python, PHP, Java, Javascript, and more. You also get official add-ons you can use for Google Sheets and Excel in case you prefer to access data through spreadsheets.

You also have the option to get data in JSON formats. Get started and start building your financial products using the raw and accurate data Alpha Vantage offers you. You can browse the API documentation to understand their API library and keep exploring.

IEX Cloud API

Building financial products and scaling them is easy with IEX Cloud API as it provides straightforward ways to obtain and use accurate market data. Empower your developers with curated institutional-level data, including real-time, fundamentals, international equities, ownership, mutual funds, and other data.

You get the complete coverage to the US market with 95k+ securities, 100+ currencies, and from 20+ exchanges. It allows you access data in no time, so your entire focus can be on building the API with impeccable features useful for your users.

Pay for exactly what you use with the flexible and scalable pricing model of IEX Cloud without requiring any long-term contract or huge upfront payments. Integrate the tools you already use with the API, so you don’t have to start over with a different method.

With IEX Cloud API, you get over 2 billion messages per day with 28ms latency on average. All your data is tightly secured with PCI and DSS compliance. Its platform is reliable, with 99.95% SLA, allowing you to build products without worries.

Premium partners of IEX Cloud constantly supply powerful enterprise-level data. You can also seek premium support by upgrading your plan.

Tiingo

Whether you are an individual developer, a technology firm, or have hedge funds, Tiingo can power your financial products.

To deliver precise end-of-day prices, it uses a proprietary framework for error-checking to collect clean data. This framework also helps them with missing events and for creating redundant feeds. Tiingo News feeds contain 16 million useful articles curated based on years of research.

These articles are a treasure with historical market data from 20+ years. The news feed is a source of tagged content containing financial and non-traditional news. Tiingo’s Crypto API includes multiple exchanges with a stream of valuable data, both historical and intraday data.

You can segment exchanges and currencies to use data the better way. With Forex and FX feed, you can access tier-1 banks along with institutional-level liquidity. Access their cross-connect to get IEX stock API in real-time, exhibiting high performance and minimal latency.

Tiingo deploys fast servers and consistent uptime with optimized memory caching. It also continuously performs data audits to provide uninterrupted data delivery.

Access historical and intraday data with top-of-book updates through REST APIs, while for real-time data with top-of-book updates, use WebSockets.

Intrinio

Intrinio provides end-of-day, historical, intraday, and real-time data you can utilize in your financial product building. It allows you to download precise historical market data from the past 5-50 years.

If you are looking for market data on a subscription basis for shaping your investment strategies and building applications, Intrinio’s offerings are varied. You can get pricing data associated with different asset classes, financial statement information and analysis, estimates, projections, and ratings.

In addition, you get aggregated, industrial, and economic data. Get data for holdings, metadata, and analytics for ETFs.

But if you just need to download historical market data for one time only to power your backtesting theories or machine learning algorithms, Intrinio has features for you too.

Besides, you get the financial data of the US Municipality for 2017 that includes entity ID, names, items, and so on. It also offers 18+ years of Forex data, including all the market activities and prices.

Quandl

Use a single API of Quandl and keep getting 20+ million of stock market data from 500+ sources without any hassle. The simplicity of this API makes data collection easy in CSV file format.

They constantly add new data every week. It also gives you the option to request data by emailing them. You can even change data formats from CSV or JSON to XML. Besides, you can set starting and ending dates, request the exact number of columns or rows.

Try to pre-process data such as sorting time-series stock data by date, change sample frequency, and perform elementary data calculations. Get your API key and access free datasets, free trials to test all the premium services, and unlimited API usage. Use the full documentation to understand how Quandl works.

Polygon

Give more power to your developers through Polygon API to help them with raw and accurate financial data, including cryptocurrencies, Forex, and stock data.

Whether you want historical or real-time data, you can get unlimited access to them. Polygon offers 24k+ symbols and full market coverage, real-time WebSockets including aggregates, trades, quotes, trading halts, and limit up/down.

Get reference data RESTful APIs for markets, locales, market status and holidays, stock splits, dividends, and financials; tickers with its types, news, and details.

Polygon also provides currency APIs that include data from 1000+ Forex pairs and ten banking organizations.

You can build applications in multiple languages like Java, C, C++, Javascript, Python, etc. It saves your developmental time that you can invest in integration. To simplify things, Polygon offers sample codes in different languages.

Polygon gives you reliable and fast data with ultra-low latency of less than one millisecond. It offers fast Equinix NY data centers with multiple redundancies and the capability of sending 1+ million messages in a second.

For 100% stock market coverage, including 16 US-based stock exchanges and dark pools, it costs $199/month for personal use. Similarly, it costs $49/month for 1000+ Forex pairs plus tick-by-tick updates and $49/month for Level 1& two crypto data access from big banking institutions and exchanges.

Alpaca

Leverage the commission-free API of Alpaca to build your financial products. Your developers can easily manage stocks, algorithms, and capital using the single integrated system. Its trade API is a REST interface connecting applications with brokerage service in real-time.

Access account data, orders, assets, positions, and many more. It’s paper trading API also allows you to test your codes, algorithm resets, etc. and offers a Streaming API that uses WebSockets to deliver real-time updates regarding trades.

It offers 2-factor authentication to secure all your API. You can also benefit from short selling and margins with advanced investing options, and it also supports trading strategies. Using a testing environment, you can check your codes and work before product deployment or making the changes live.

Alpaca facilitates efficient trading by allowing you to trade directly from the TradingView chart, which requires no tab switching or extra clicks. It offers powerful tools to boost your production like advanced order types like OCO, MOO, IOC, and MOC.

Conclusion

Obtaining market data through stock APIs is easy, simple, and predictable. But you also need to ensure you get the updated and accurate data at the right time. The APIs mentioned above come in handy to meet this requirement and shape your financial products the way you have desired.

If you are building financial products, you should also consider integrating news with the help of these Global News APIs.

The world’s most comprehensive cryptocurrency API

Because we believe data should be democratized

Reliable

Solid team of cryptocurrency specialists working hard to bring top notch cryptocurrency data

Comprehensive

All the info you’ll ever need at your fingertips

Trusted by industry leaders

The CoinGecko data market APIs are a set of robust APIs that developers can use to not only enhance their existing apps and services but also to build advanced crypto market apps. The team is also responsive to feedback and the occasions that we did these were quickly implemented into their api services.

Being in crypto space, our users expect us to provide the best service in the space. This includes having streaming crypto prices, price charts based on different time variations and providing these thousands of data points in a fast and secure manner. This is why MEW use coingecko as they are the best in the cryptospace for all crypto pricing API needs.

CoinGecko is one of our favorite teams in this space and using their API has been a huge improvement for our new beta.mycrypto.com. There are few reliable sources of this information and CoinGecko’s data is extensive and easy to implement.

Awesome services that are using CoinGecko cryptocurrency API

Wallets

Block Explorers

Data Aggregators

Media & Platforms

Explore the API

Access CoinGecko data such as live pricing, trading volume, tickers, exchanges, historical data, coin info & images, developer & community stats, events, global markets, and CoinGecko Beam coins & exchanges status updates directly.

Use our API to power your applications at no cost!

We would appreciate any link or mention of ‘Powered by CoinGecko API’ on your awesome application!

All our data is provided for free, and as-is without any warranty.

Timestamp returned by this API are in UTC Timezone.

You may refer to our branding guide as a reference.

For additional information about our API visit https://www.coingecko.com/api

Rate Limit: 100 requests/minute

Clients (Unofficial)

07 September 2020: Added public_notice and alert_notice output to v3/exchanges/ endpoint.

17 August 2020: Added v3/search/trending endpoint.

03 August 2020: Added category filter (limited to decentralized_finance_defi at the moment) to v3/coins/markets endpoint.

15 July 2020: Added v3/coins//ohlc endpoint.

23 April 2020: Added atl , atl_change_percentage and atl_date to coins/markets endpoint.

31 March 2020: When querying the coins/ /tickers API endpoint. The value returned under converted_last should be in terms of the price per coin of the . For example, if you query coins/tether/tickers and under the results there is a BTC/USDT ticker pair; in the old version you would see converted_last usd returning 6491.51. After this update, it will return 1, which is the actual market price of Tether itself. If you are using converted_last data for calculation, this change will most likely lead to breaking changes. Action needs to be taken on your end. If you are only displaying converted_last data, this change will more accurately reflect what you intended to display. No action needed on your end. This update will take place on April 14th, 2020 .

9 January 2020:Updated include_tickers param for /derivatives/ and /derivatives/exchanges/:id , check the doc for the available values

8 November 2019: added finance and derivatives endpoints (BETA), feel free to check them out! Any suggestions are welcome!

22 July 2019: added v3/exchanges//volume_chart (data returned will be in BTC.)

13 June 2019: allow order param for v3/coins//tickers and v3/exchanges//tickers , defaults to trust_score_desc

12 June 2019: added trust_score to tickers ( v3/coins//tickers and v3/exchanges//tickers )

10 June 2019: added last_traded_at and last_fetched_at to tickers, timestamp will be retained for compatibility (which observes last_traded_at value), timestamp may be deprecated in the future, please update to your app to utilize the new fields.

10 Apr 2019: exchange_ids optional params added for v3/coins//tickers

10 Apr 2019: coin_ids optional params added for v3/exchanges//tickers

24 Jan 2019: v3/exchanges/list added

18 Jan 2019: To reduce bandwidth wastage, our v3/coins/markets now defaults to top 100 coins by market_cap when param ids is blank

10 Dec 2018: We realized /coins (paginated) is not as useful due to the inability to query for selected coins thus we have it hidden from the DOC to prevent new users using it. Fret not, it WILL NOT be removed/deprecated in the near future however we recommend you to switch to /coins/list and coins/

7 Dec 2018: Due to the overwhelming requests we are receiving, we are updating the api rate to 100/minute, that is more than 4 million requests per month! nn 30 Nov 2018: We released our /simple endpoints, with simplified response after hearing requests from our users for lower api payloads, more simple endpoints to come

13 Nov 2018: To maintain the uptime and scale of this API, we are only able to return up to 100 tickers for a given exchange for the /exchanges/ endpoint. Please use the /exchanges//tickers paginated API to retrieve more tickers.

7 Nov 2018: To maintain the uptime and scale of this API, we are only able to return up to 100 tickers for a given exchange for the /coins/ endpoint. Please use the /coins//tickers paginated API to retrieve more tickers.

http://alpaca.markets/
http://geekflare.com/best-stock-market-api/
http://www.coingecko.com/ru/api

Тинькофф DRIVE [credit_cards][sale]

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *