An Interactive Brokers trading account with a minimum 10K USD deposit will get you access to their trading API. If you can deposit 25K, you'll be OK with pattern day-trader status and gain 4x leverage for your account.
They also offer a paper-trading account for testing purposes. They give you $1M in funny money to trade with to test your algos.