/finviz/screener
curl --request POST \
--url https://api.anysite.io/api/finviz/screener \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"timeout": 300
}
'import requests
url = "https://api.anysite.io/api/finviz/screener"
payload = {
"count": 2,
"timeout": 300
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({count: 2, timeout: 300})
};
fetch('https://api.anysite.io/api/finviz/screener', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/finviz/screener",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'count' => 2,
'timeout' => 300
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/finviz/screener"
payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/finviz/screener")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/finviz/screener")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 2,\n \"timeout\": 300\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"@type": "FinvizScreenerStock",
"name": "<string>",
"sector": "<string>",
"industry": "<string>",
"country": "<string>",
"exchange": "<string>",
"index": "<string>",
"price": 123,
"prev_close": 123,
"open": 123,
"high": 123,
"low": 123,
"change_percent": 123,
"target_price": 123,
"market_cap": 123,
"enterprise_value": 123,
"income": 123,
"sales": 123,
"pe": 123,
"forward_pe": 123,
"peg": 123,
"ps": 123,
"pb": 123,
"pc": 123,
"pfcf": 123,
"ev_ebitda": 123,
"ev_sales": 123,
"book_per_share": 123,
"cash_per_share": 123,
"dividend_ttm": 123,
"dividend_est": 123,
"dividend_est_yield_percent": 123,
"dividend_ex_date": "<string>",
"dividend_growth_1y_percent": 123,
"dividend_growth_3y_percent": 123,
"dividend_growth_5y_percent": 123,
"payout_percent": 123,
"eps_ttm": 123,
"eps_next_q": 123,
"eps_this_y_percent": 123,
"eps_next_y_percent": 123,
"eps_past_3y_percent": 123,
"eps_past_5y_percent": 123,
"eps_next_5y_percent": 123,
"eps_qoq_percent": 123,
"eps_yoy_ttm_percent": 123,
"eps_surprise_percent": 123,
"sales_past_3y_percent": 123,
"sales_past_5y_percent": 123,
"sales_qoq_percent": 123,
"sales_yoy_ttm_percent": 123,
"sales_surprise_percent": 123,
"shares_outstanding": 123,
"shares_float": 123,
"float_percent": 123,
"insider_own_percent": 123,
"insider_trans_percent": 123,
"inst_own_percent": 123,
"inst_trans_percent": 123,
"short_float_percent": 123,
"short_ratio": 123,
"short_interest": 123,
"roa_percent": 123,
"roe_percent": 123,
"roic_percent": 123,
"current_ratio": 123,
"quick_ratio": 123,
"debt_eq": 123,
"lt_debt_eq": 123,
"gross_margin_percent": 123,
"operating_margin_percent": 123,
"profit_margin_percent": 123,
"perf_week_percent": 123,
"perf_month_percent": 123,
"perf_quarter_percent": 123,
"perf_half_year_percent": 123,
"perf_year_percent": 123,
"perf_ytd_percent": 123,
"perf_3y_percent": 123,
"perf_5y_percent": 123,
"perf_10y_percent": 123,
"beta": 123,
"atr": 123,
"rsi": 123,
"volatility_week_percent": 123,
"volatility_month_percent": 123,
"sma20_percent": 123,
"sma50_percent": 123,
"sma200_percent": 123,
"high_50d_percent": 123,
"low_50d_percent": 123,
"high_52w_percent": 123,
"low_52w_percent": 123,
"all_time_high_percent": 123,
"all_time_low_percent": 123,
"change_from_open_percent": 123,
"gap_percent": 123,
"recommendation": 123,
"avg_volume": 123,
"rel_volume": 123,
"volume": 123,
"employee_count": 123,
"earnings": "<string>",
"ipo_date": "<string>",
"asset_type": "<string>",
"holdings_count": 123,
"aum": 123,
"expense_percent": 123,
"flows_1m": 123,
"flows_1m_percent": 123,
"flows_3m": 123,
"flows_3m_percent": 123,
"flows_ytd": 123,
"flows_ytd_percent": 123,
"return_1y_percent": 123,
"return_3y_percent": 123,
"return_5y_percent": 123
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/finviz
/finviz/screener
Screen stocks by exchange, index, sector, market cap, recommendation, dividend yield, and price
Price: 10 credits per 20 results
POST
/
api
/
finviz
/
screener
/finviz/screener
curl --request POST \
--url https://api.anysite.io/api/finviz/screener \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"timeout": 300
}
'import requests
url = "https://api.anysite.io/api/finviz/screener"
payload = {
"count": 2,
"timeout": 300
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({count: 2, timeout: 300})
};
fetch('https://api.anysite.io/api/finviz/screener', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/finviz/screener",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'count' => 2,
'timeout' => 300
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/finviz/screener"
payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/finviz/screener")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/finviz/screener")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 2,\n \"timeout\": 300\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"@type": "FinvizScreenerStock",
"name": "<string>",
"sector": "<string>",
"industry": "<string>",
"country": "<string>",
"exchange": "<string>",
"index": "<string>",
"price": 123,
"prev_close": 123,
"open": 123,
"high": 123,
"low": 123,
"change_percent": 123,
"target_price": 123,
"market_cap": 123,
"enterprise_value": 123,
"income": 123,
"sales": 123,
"pe": 123,
"forward_pe": 123,
"peg": 123,
"ps": 123,
"pb": 123,
"pc": 123,
"pfcf": 123,
"ev_ebitda": 123,
"ev_sales": 123,
"book_per_share": 123,
"cash_per_share": 123,
"dividend_ttm": 123,
"dividend_est": 123,
"dividend_est_yield_percent": 123,
"dividend_ex_date": "<string>",
"dividend_growth_1y_percent": 123,
"dividend_growth_3y_percent": 123,
"dividend_growth_5y_percent": 123,
"payout_percent": 123,
"eps_ttm": 123,
"eps_next_q": 123,
"eps_this_y_percent": 123,
"eps_next_y_percent": 123,
"eps_past_3y_percent": 123,
"eps_past_5y_percent": 123,
"eps_next_5y_percent": 123,
"eps_qoq_percent": 123,
"eps_yoy_ttm_percent": 123,
"eps_surprise_percent": 123,
"sales_past_3y_percent": 123,
"sales_past_5y_percent": 123,
"sales_qoq_percent": 123,
"sales_yoy_ttm_percent": 123,
"sales_surprise_percent": 123,
"shares_outstanding": 123,
"shares_float": 123,
"float_percent": 123,
"insider_own_percent": 123,
"insider_trans_percent": 123,
"inst_own_percent": 123,
"inst_trans_percent": 123,
"short_float_percent": 123,
"short_ratio": 123,
"short_interest": 123,
"roa_percent": 123,
"roe_percent": 123,
"roic_percent": 123,
"current_ratio": 123,
"quick_ratio": 123,
"debt_eq": 123,
"lt_debt_eq": 123,
"gross_margin_percent": 123,
"operating_margin_percent": 123,
"profit_margin_percent": 123,
"perf_week_percent": 123,
"perf_month_percent": 123,
"perf_quarter_percent": 123,
"perf_half_year_percent": 123,
"perf_year_percent": 123,
"perf_ytd_percent": 123,
"perf_3y_percent": 123,
"perf_5y_percent": 123,
"perf_10y_percent": 123,
"beta": 123,
"atr": 123,
"rsi": 123,
"volatility_week_percent": 123,
"volatility_month_percent": 123,
"sma20_percent": 123,
"sma50_percent": 123,
"sma200_percent": 123,
"high_50d_percent": 123,
"low_50d_percent": 123,
"high_52w_percent": 123,
"low_52w_percent": 123,
"all_time_high_percent": 123,
"all_time_low_percent": 123,
"change_from_open_percent": 123,
"gap_percent": 123,
"recommendation": 123,
"avg_volume": 123,
"rel_volume": 123,
"volume": 123,
"employee_count": 123,
"earnings": "<string>",
"ipo_date": "<string>",
"asset_type": "<string>",
"holdings_count": 123,
"aum": 123,
"expense_percent": 123,
"flows_1m": 123,
"flows_1m_percent": 123,
"flows_3m": 123,
"flows_3m_percent": 123,
"flows_ytd": 123,
"flows_ytd_percent": 123,
"return_1y_percent": 123,
"return_3y_percent": 123,
"return_5y_percent": 123
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Required range:
x >= 1Required range:
20 <= x <= 1500Available options:
amex, cboe, nasd, nyse Available options:
sp500, ndx, dji, rut Available options:
basicmaterials, communicationservices, consumercyclical, consumerdefensive, energy, financial, healthcare, industrials, realestate, technology, utilities Available options:
mega, large, mid, small, micro, nano Available options:
strong_buy, buy, hold, sell, strong_sell Available options:
none, positive, high, very_high, over_1, over_2, over_3, over_5 Available options:
under_5, under_10, under_20, under_50, over_5, over_10, over_20, over_50 Response
Successful Response