APIs / Finance / Stocktwits

1 credit per call3 endpoints8 datapointsChecked working 25 Nov 2026

Stocktwits API

Stocktwits API for symbol search, a ticker's message stream and trending symbols as JSON, with users, prices and watchlist counts. 1 credit per successful call.

Stocktwits
GET/v1/stocktwits/symbols-search?q=apple
{
  "data": {
    "results": [
      {
        "type": "symbol",
        "title": "Apple Inc",
        "symbol": "AAPL",
        "exchange": "NASDAQ",
        "weight_offset": 10,
        "watchlist_count": 1002132,
        "country": "US",
        "id": 686
      },
      {
        "type": "symbol",
        "title": "dog with apple in mouth",
        "symbol": "APPLE.X",
        "exchange": "CRYPTO",
        "weight_offset": 2,
        "watchlist_count": 24,
        "country": "",
        "id": 38860
      },
      {
        "type": "symbol",
        "title": "Apple Hospitality REIT Inc",
        "symbol": "APLE",
        "exchange": "NYSE",
        "weight_offset": 6,
        "watchlist_count": 3844,
        "country": "US",
        "id": 12660
      }
    ],
    "count": 12
  },
  "success": true,
  "meta": {
    "duration_ms": 556,
    "endpoint_family": "stocktwits_symbols_search",
    "request_id": "req_58cb194396df447fb6841e8404d8e028",
    "credits_charged": 1,
    "credits_remaining": 995
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of symbols-search: the fields and shapes you will get, shortened to 3 items.

#typestringtitlestringsymbolstringexchangestringweight_offsetintegerwatchlist_countintegercountrystringidinteger
1symbolApple IncAAPLNASDAQ101002132US686
2symboldog with apple in mouthAPPLE.XCRYPTO22438860
3symbolApple Hospitality REIT IncAPLENYSE63844US12660

Recorded from our API · 3 items shown · 8 datapoints per itemGET /v1/stocktwits/symbols-search?q=apple

8 datapoints

Identity

  • typestring
  • titlestring
  • idinteger

Location

  • countrystring

Other

  • symbolstring
  • exchangestring
  • weight_offsetinteger
  • watchlist_countinteger

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/stocktwits/symbols-search?q=apple" \
  -H "X-API-Key: $API_KEY"

Stocktwits · 3 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/stocktwits/stream-symbol
symbol+3 optional
messagessymbolrequest
1 credit
GET/v1/stocktwits/symbols-search
q
typetitlesymbolexchangeweight_offsetwatchlist_count+2 more
1 credit
GET/v1/stocktwits/symbols-trending
none
idsymbolsymbol_micsymbol_displayexchangeregion+21 more
1 credit

Overview

About the Stocktwits API

What you can get

The Stocktwits API returns Stocktwits symbols and messages as JSON through 3 endpoints.

  • Symbol search: symbols-search takes a q.
  • Message stream: stream-symbol takes a symbol, with limit, max and since.
  • Trending: symbols-trending takes no parameters.

The recorded symbols-search for "apple" returns results and a count of 12. Each result has type, title, symbol, exchange, watchlist_count, country and id. The first is Apple Inc, symbol AAPL on NASDAQ, with a watchlist_count of 1,002,132. The recorded stream-symbol for AAPL with a limit of 30 returns 30 messages, each with id, body, created_at, user, prices and symbols, plus a cursor with more, since and max.

How a call works

Find the ticker, then read what people post about it: GET /v1/stocktwits/symbols-search?q=apple, with your key in the X-API-Key header, returns the symbol AAPL. Pass it to GET /v1/stocktwits/stream-symbol?symbol=AAPL&limit=30. When cursor.more is true, send cursor.max back as max for the next page of older messages. Every successful call costs 1 credit; failed calls cost nothing.

FinanceJSONRESTMCP

More finance APIs

Use cases

Follow the message stream for a watchlist of tickers

Use the Stocktwits API to follow the message stream for a watchlist of tickers

Collect posts about a symbol for sentiment analysis

Use the Stocktwits API to collect posts about a symbol for sentiment analysis

Check which symbols are trending, with `trending_score` and `rank`

Use the Stocktwits API to check which symbols are trending, with `trending_score` and `rank`

Resolve a company name to its ticker and exchange with `symbols-search`

Use the Stocktwits API to resolve a company name to its ticker and exchange with `symbols-search`

FAQ

Questions

How much does the Stocktwits API cost?

Each successful call costs one credit, whichever endpoint you call. New accounts get free credits to start, and credit packs bring the price down as you scale.

How do I get more messages for a symbol?

Read the `cursor` in the `stream-symbol` response. If `more` is true, pass its `max` value as `max` to page back through older messages. Pass `since` to fetch only messages newer than one you already have.

What do trending symbols include?

Each entry in `symbols` carries the `symbol`, `title`, `exchange`, `sector`, `industry`, `trending_score`, `rank` and `watchlist_count`. The recorded call returned 30 symbols.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Is this the official Stocktwits API?

No. Perceptlayer is an independent service and is not affiliated with Stocktwits. It returns Stocktwits data as JSON with a Perceptlayer key, so there is no Stocktwits developer account, app review or partner approval to get first. It only reads data: if Stocktwits has an official API and you need to act on your own Stocktwits account, such as posting, managing orders or reading private data, use that one.

Should I build a Stocktwits scraper instead?

You can, but a Stocktwits scraper is code you maintain: page changes break it, requests get blocked, and Stocktwits's terms govern how you collect data. The Stocktwits API gives you 3 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Stocktwits API with 100 free credits

No credit card. Failed calls are never billed.