# Stock Screener

Screen Finviz stocks by view and filter tokens. Returns ticker, company, sector, industry, country, market cap, P/E, price, change, volume and every typed numbers column, with total count and page.

- **Documentation:** [https://scrappa.co/docs/finviz-api/finviz_screener](https://scrappa.co/docs/finviz-api/finviz_screener)
- **API group:** Finviz API
- **Endpoint:** `GET https://scrappa.co/api/finviz/screener`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `view` | string | No | Finviz view code, for example 111 Overview or 152 Custom. |
| `filters` | string | No | Comma-separated Finviz filter tokens, for example sec_technology,cap_large. |
| `signal` | string | No | Finviz signal preset, for example ta_topgainers. |
| `order` | string | No | Sort token; a leading - means descending. |
| `page` | integer | No | Page number, 20 rows per page. Default 1. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/finviz/screener?view=111&filters=sec_technology&page=1"
```

## Example response

```json
{
    "rows": [
        {
            "ticker": "AAPL",
            "company": "Apple Inc.",
            "sector": "Technology",
            "marketCap": 2980000000000,
            "price": 198.42,
            "change": 1.25,
            "volume": 48234567
        }
    ],
    "page": 1,
    "page_size": 20,
    "source": "finviz"
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | No rows | No rows matched or the echo guard rejected a dropped token. |
|  | Service error | The upstream request failed. No credit is charged. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
