← Back to Web & Frontend Development

quodd

Fetch real-time stock quotes via Quodd API

0
Source Code

Quodd Stock Quotes

Fetch real-time stock quotes for US equities via the Quodd API.

For more information, visit: https://www.quodd.com/stock-and-etf-data

Quick Start

# Get a quote for Apple
python scripts/quote.py AAPL

# Get quotes for multiple tickers
python scripts/quote.py AAPL MSFT META

Prerequisites

Set the following environment variables:

export QUODD_USERNAME="your_username"
export QUODD_PASSWORD="your_password"

Usage

Single Ticker

python scripts/quote.py AAPL

Multiple Tickers

python scripts/quote.py AAPL MSFT META GOOGL

JSON Output

python scripts/quote.py AAPL --format json

Force Token Refresh

python scripts/quote.py AAPL --no-cache

Output Format

Text (Default)

Quodd Stock Quotes
Symbol   Date        Time      High      Low     Close    AH Time     AH Price
-------------------------------------------------------------------------------
AAPL     01/29/26    14:30    185.50   180.25   182.63   17:45:30     182.80

JSON

{
  "quotes": [
    {
      "symbol": "AAPL",
      "date": "01/29/26",
      "time": "14:30",
      "high": 185.50,
      "low": 180.25,
      "close": 182.63,
      "after_hours_time": "17:45:30",
      "after_hours_price": 182.80
    }
  ]
}

Output Fields

  • Symbol - Stock ticker symbol
  • Date - Quote date
  • Time - Quote time
  • High - Day high price
  • Low - Day low price
  • Close - Last traded price
  • AH Time - After hours trade time
  • AH Price - After hours price

Notes

  • Authentication tokens are cached at ~/.openclaw/credentials/quodd-token.json for 20 hours
  • Use --no-cache if you encounter authentication errors after credential changes