# Stock screener API for market data APIs

Add a screening endpoint your customers’ agents can call, over every US stock and ETF on any date or range of dates.

Page: https://tickerbot.io/solutions/market-data-apis/

## What you’ll ship: Add screening to your API

- **Your customers send any screen.** Your customers’ agents send a where clause, on any past day or across a range, and get the matches back from your API.

## How you’ll ship it: One endpoint behind yours

1. **Get an Enterprise key.** One contract covers your customers and your volume.
2. **Forward the where clause.** Your endpoint passes each customer’s query on to ours.
3. **Meter it with the rest.** Count and bill screening calls like your other endpoints.

## Example outcomes: Your customers’ agents ask about any date since 2000

- Which $50 billion companies hit new 52-week lows the week of Feb 24, 2020? **15.**
- Which large caps made a golden cross on Jan 20, 2023? **10.**
- Which large caps gapped up over 5% on triple volume on May 25, 2023? **7.**
- Which large caps turned oversold in December 2018? **444 in the month.**
- Which mega caps were down over 5% at 10:30 on Aug 5, 2024? **7.**

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(price <= low(252d)) AND market_cap() > 5e10",
    "from": "2020-02-24",
    "to": "2020-02-28",
    "select": ["ticker"],
    "order": "t asc",
    "limit": 3
  }'
```

```json
{
  "from": "2020-02-24T21:00:00Z",
  "to": "2020-02-28T21:00:00Z",
  "data": [
    { "ticker": "CVX", "t": "2020-02-24T21:00:00Z" },
    { "ticker": "EPD", "t": "2020-02-24T21:00:00Z" },
    { "ticker": "CSCO", "t": "2020-02-25T21:00:00Z" }
  ],
  "count": 3,
  "next_cursor": "c2Nhbjoz",
  "_meta": { … }
}
```


## Get started

- Contact sales: https://tickerbot.io/enterprise/
- Docs: https://tickerbot.io/docs/ (Markdown: https://tickerbot.io/docs.md)
