GET /community/scripts/library

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/tradingview/community/scripts/libraryCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Top library scripts.

Parameters

nameintypedescription
offsetqueryintoptionalOffset
example: 0
countqueryintoptionalRows
example: 3

Response

type: object
data key: results
cursor key: next
pagination: cursor
sample: {
  "results": "array[3]",
  "next": "str"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/tradingview/community/scripts/library?offset=0&count=3"