I will answer both of your questions. The API is designed for integrating our alerts software into other applications like trading software. You can't code your own alerts and filters with the API.
Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.