# Stock screener API for algo traders

Let your agent find every stock that fit your strategy on any past day or range, as the market stood.

Page: https://tickerbot.io/solutions/algo-traders/

## What you’ll build: Connect Claude or ChatGPT to test your rules

- **Ask in plain English.** Entry rules, filters and dates, written in plain English.

## How you’ll build it: From plain English to a backtest

1. **Get a free API key.** Sign up in a minute, with no card required.
2. **Connect Claude or ChatGPT.** Add our MCP server in a few clicks, with no code to write.
3. **Ask.** Each set of rules becomes one screen, across any range of days.

## Example outcomes: You test entries across any range since 2000

- Which large caps beat earnings estimates by over 20% in the July 2023 season? **9.**
- Which large caps turned oversold in December 2018? **444 in the month.**
- Which large caps made new 52-week highs from Nov 1 to 14, 2023? **132.**
- Which large caps bounced off support on double volume in October 2023? **161.**
- Which large caps grew revenue over 20% at under 20 times earnings at the March 2020 low? **22.**

The call behind the first answer:

POST /v3/screen/tickers

```bash
curl -X POST https://api.tickerbot.io/v3/screen/tickers \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{
    "where": "becomes(earnings_surprise_pct() > 20) AND market_cap() > 5e10",
    "from": "2023-07-10",
    "to": "2023-08-11",
    "select": ["ticker", "earnings_surprise_pct()"],
    "order": "t asc",
    "limit": 3
  }'
```

```json
{
  "from": "2023-07-10T20:00:00Z",
  "to": "2023-08-11T20:00:00Z",
  "data": [
    { "ticker": "PLD", "t": "2023-07-18T20:00:00Z", "earnings_surprise_pct()": 32.3 },
    { "ticker": "SHW", "t": "2023-07-25T20:00:00Z", "earnings_surprise_pct()": 22.3 },
    { "ticker": "DXCM", "t": "2023-07-28T20:00:00Z", "earnings_surprise_pct()": 47.8 }
  ],
  "count": 3,
  "next_cursor": "c2Nhbjoz",
  "_meta": { … }
}
```


## Get started

- Get a free API key: https://tickerbot.io/signup/
- Connect your agent over MCP: https://tickerbot.io/docs/mcp/ (setup for coding agents: https://tickerbot.io/agent-setup/SKILL.md)
- Docs: https://tickerbot.io/docs/ (Markdown: https://tickerbot.io/docs.md)
