{
    "version": "ujb.site-guide/v1",
    "site": "Stocktwits",
    "domain": "stocktwits.com",
    "category": "news",
    "lead": "recipe",
    "status": "working",
    "status_label": "Working",
    "success_rate_7d": 100,
    "checks_7d": 7,
    "last_checked_at": "2026-12-03T23:02:43Z",
    "last_ok_at": "2026-12-03T23:02:43Z",
    "page_types": [
        {
            "page_type": "Public pages",
            "page_kinds": [
                "page"
            ],
            "status": "working",
            "success_rate_7d": 100,
            "checks_7d": 7,
            "endpoint": "/scrape",
            "params": {
                "js": true
            },
            "proxy": "default",
            "measured": true,
            "max_credits": 5,
            "learned_settings": null,
            "example_url": "https://stocktwits.com/symbol/AAPL",
            "playground": "https://ujeebu.com/playground?endpoint=scrape&url=https%3A%2F%2Fstocktwits.com%2Fsymbol%2FAAPL&js=true&autosend=0&uj_from=site-guide",
            "recipes": [
                {
                    "page_kind": "page",
                    "label": "Public pages",
                    "recipe": "stocktwits",
                    "call": "GET https://api.ujeebu.com/scrape?url=https%3A%2F%2Fstocktwits.com%2Fsymbol%2FAAPL&recipe=stocktwits",
                    "credits": 1,
                    "credits_label": "1 credit",
                    "validated_at": "2026-12-03T15:57:39Z",
                    "params": {
                        "js": false
                    },
                    "extract_rules": {
                        "quote": {
                            "type": "fn",
                            "fn": "const e = document.getElementById('__NEXT_DATA__'); if (!e) return null; let d; try { d = JSON.parse(e.textContent); } catch (x) { return null; } const i = ((d.props || {}).pageProps || {}).initialData || {}; const p = i.price_data || i.quote || {}; const f = i.fundamentals || {}; const s = i.initialSentimentCardData || {}; const first = a => Array.isArray(a) && a[0] ? a[0] : null; const sent = first(s.sentiment); const vol = first(s.messageVol); const n = v => v === undefined || v === null || v === '' ? null : String(v); return { symbol: n(i.symbol || p.symbol), name: n(i.title || f.name), exchange: n(i.exchange), currency: n(p.currency_code), price: n(p.last), change: n(p.change), change_percent: p.percent_change !== undefined ? n(p.percent_change) + '%' : null, open: n(p.open), high: n(p.high), low: n(p.low), previous_close: n(p.previous_close), volume: n(p.volume), market_cap_millions: n(f.market_capitalization), pe_ratio: n(f.pe_ratio), eps: n(f.eps), week_52_high: n(f.high_price_last_52_weeks), week_52_low: n(f.low_price_last_52_weeks), sector: n(f.sector_name), industry: n(f.industry_name), sentiment: sent ? sent.label : null, sentiment_score: sent ? n(sent.value) : null, message_volume: vol ? vol.label : null, watchlist_count: n(i.watchlistCount), as_of: n(p.timestamp) };"
                        }
                    },
                    "fields": {
                        "quote.as_of": "date",
                        "quote.change": "text",
                        "quote.change_percent": "text",
                        "quote.currency": "text",
                        "quote.eps": "number (as text)",
                        "quote.high": "number (as text)",
                        "quote.industry": "text",
                        "quote.low": "number (as text)",
                        "quote.market_cap_millions": "number (as text)",
                        "quote.name": "text",
                        "quote.open": "number (as text)",
                        "quote.pe_ratio": "number (as text)",
                        "quote.previous_close": "number (as text)",
                        "quote.price": "number (as text)",
                        "quote.sentiment": "text",
                        "quote.sentiment_score": "number (as text)",
                        "quote.symbol": "text",
                        "quote.volume": "number (as text)",
                        "quote.watchlist_count": "number (as text)",
                        "quote.week_52_high": "number (as text)",
                        "quote.week_52_low": "number (as text)"
                    },
                    "validated_on": [
                        "https://stocktwits.com/symbol/AAPL",
                        "https://stocktwits.com/symbol/INTC"
                    ],
                    "url_pattern": "https://stocktwits.com/symbol/{slug}",
                    "listing_template": null,
                    "pagination": null
                }
            ]
        }
    ],
    "guide_url": "https://ujeebu.com/scrape/stocktwits",
    "note": "Ujeebu scrapes any public website. These guides are a selection of popular sites we test every day, with settings that work today; a site that is not listed works with the same API: try any URL in the Playground (https://ujeebu.com/playground) or send us the URL (https://ujeebu.com/contact) and we will check it.",
    "billing": "Only HTTP 200 and 404 responses are billed.",
    "auth": "Header ApiKey: <your key>",
    "api_base": "https://api.ujeebu.com",
    "how_to_use_recipes": "GET https://api.ujeebu.com/scrape?url=<page>&recipe=<recipe>: the API applies the recipe's extract_rules and params (yours win when you send them) and answers {\"result\": {...}} with the headers Ujb-Recipe and Ujb-Credits. A recipe with \"recipe\": null is not served by name: POST /scrape with url, the params and extract_rules. Docs: https://ujeebu.com/docs/apis/scrape/recipes"
}