Skip to main content
GET
https://stocks-dev.up.railway.app
/
api
/
v1
/
market
/
losers
Market Losers
curl --request GET \
  --url https://stocks-dev.up.railway.app/api/v1/market/losers
{
  "losers": [
    {
      "symbol": "<string>",
      "name": "<string>",
      "price": 123,
      "change": 123,
      "changesPercentage": 123,
      "volume": 123,
      "marketCap": 123
    }
  ],
  "timestamp": "<string>"
}

Endpoint

GET /api/v1/market/losers

Response

losers
array
Array of stocks with the biggest price decreases
timestamp
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

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}%")
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
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}")