Skip to main content
POST
/
api
/
stocktwits
/
symbols
/stocktwits/symbols
curl --request POST \
  --url https://api.anysite.io/api/stocktwits/symbols \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "symbol": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "symbol": "<string>",
    "@type": "@stocktwits_symbol_stream",
    "name": "<string>",
    "exchange": "<string>",
    "region": "<string>",
    "instrument_class": "<string>",
    "image": "<string>",
    "watchlist_count": 123,
    "messages": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
symbol
string
required

Ticker symbol

Minimum string length: 1
Examples:

"AAPL"

"TSLA"

"NVDA"

count
integer
required

Max number of messages to return

Required range: x >= 1
Example:

30

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
filter
enum<string> | null

Restrict the stream to a message subset

Available options:
top,
links,
charts

Response

Successful Response

id
integer
required
symbol
string
required
@type
string
default:@stocktwits_symbol_stream
name
string | null
exchange
string | null
region
string | null
instrument_class
string | null
image
string | null
watchlist_count
integer | null
messages
StocktwitsMessage · object[]