Market Losers
curl --request GET \
--url https://stocks-dev.up.railway.app/api/v1/market/losersimport requests
url = "https://stocks-dev.up.railway.app/api/v1/market/losers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://stocks-dev.up.railway.app/api/v1/market/losers', 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://stocks-dev.up.railway.app/api/v1/market/losers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://stocks-dev.up.railway.app/api/v1/market/losers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://stocks-dev.up.railway.app/api/v1/market/losers")
.asString();require 'uri'
require 'net/http'
url = URI("https://stocks-dev.up.railway.app/api/v1/market/losers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"losers": [
{
"symbol": "<string>",
"name": "<string>",
"price": 123,
"change": 123,
"changesPercentage": 123,
"volume": 123,
"marketCap": 123
}
],
"timestamp": "<string>"
}Market Data
Market Losers
Get the biggest stock market losers of the day
GET
/
api
/
v1
/
market
/
losers
Market Losers
curl --request GET \
--url https://stocks-dev.up.railway.app/api/v1/market/losersimport requests
url = "https://stocks-dev.up.railway.app/api/v1/market/losers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://stocks-dev.up.railway.app/api/v1/market/losers', 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://stocks-dev.up.railway.app/api/v1/market/losers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://stocks-dev.up.railway.app/api/v1/market/losers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://stocks-dev.up.railway.app/api/v1/market/losers")
.asString();require 'uri'
require 'net/http'
url = URI("https://stocks-dev.up.railway.app/api/v1/market/losers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"losers": [
{
"symbol": "<string>",
"name": "<string>",
"price": 123,
"change": 123,
"changesPercentage": 123,
"volume": 123,
"marketCap": 123
}
],
"timestamp": "<string>"
}Endpoint
GET /api/v1/market/losers
curl "https://stocks-dev.up.railway.app/api/v1/market/losers"
import requests
response = requests.get("https://stocks-dev.up.railway.app/api/v1/market/losers")
data = response.json()
const response = await fetch('https://stocks-dev.up.railway.app/api/v1/market/losers');
const data = await response.json();
Response
array
string
Response timestamp in ISO format
Example Response
{
"losers": [
{
"symbol": "CVNA",
"name": "Carvana Co.",
"price": 45.23,
"change": -8.97,
"changesPercentage": -16.54,
"volume": 12450000,
"marketCap": 8500000000
},
{
"symbol": "ROKU",
"name": "Roku, Inc.",
"price": 62.18,
"change": -7.82,
"changesPercentage": -11.17,
"volume": 8900000,
"marketCap": 6800000000
},
{
"symbol": "NFLX",
"name": "Netflix, Inc.",
"price": 425.67,
"change": -45.33,
"changesPercentage": -9.63,
"volume": 5600000,
"marketCap": 189000000000
}
],
"timestamp": "2025-06-28T18:42:12.471731"
}
Use Cases
Market Sentiment Analysis
Market Sentiment Analysis
Monitor overall market sentiment by tracking the biggest losers:
response = requests.get("/api/v1/market/losers")
losers = response.json()["losers"]
# Calculate average decline
avg_decline = sum(stock["changesPercentage"] for stock in losers) / len(losers)
print(f"Average decline among top losers: {avg_decline:.2f}%")
Contrarian Investment Strategy
Contrarian Investment Strategy
Identify potential buying opportunities in oversold stocks:
def find_oversold_opportunities(losers, min_volume=1000000):
opportunities = []
for stock in losers:
if (stock["changesPercentage"] < -10 and
stock["volume"] > min_volume and
stock["marketCap"] > 1000000000): # Large cap only
opportunities.append(stock)
return opportunities
Risk Management
Risk Management
Monitor portfolio holdings for significant declines:
portfolio = ["AAPL", "MSFT", "GOOGL"]
losers_symbols = [stock["symbol"] for stock in losers]
portfolio_losers = [symbol for symbol in portfolio if symbol in losers_symbols]
if portfolio_losers:
print(f"Portfolio holdings in today's losers: {portfolio_losers}")
Related Endpoints
Market Gainers
Get the biggest market gainers
Most Active
Find the most actively traded stocks