GET /pine/is_auth_to_get/{script_id}/{version}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/tradingview/pine/is_auth_to_get/{script_id}/{version}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeWhether a script is anonymously readable.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
script_id | path | str | required | Script id example: STD;RSI |
version | path | str | required | Version number example: 1 |
Response
type: scalar
pagination: none
sample: {
"value": "bool"
}
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/pine/is_auth_to_get/STD;RSI/1"