ToolAssay

Static checks for TradingView Pine Script v5/v6

Static checks for TradingView Pine Script v5/v6. POST /v1/integrity finds what makes a backtest look better than live: future data via lookahead, unconfirmed higher-timeframe values, signals drawn on past bars, realtime-only state, strategy fill assumptions. POST /v1/lint adds syntax and version checks. Each finding has line, code and severity. Never claims the script compiles.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
925 msmedian answer time
$0.005listed price per call
$0.005price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://agent.pocket.network/v1/pine-script-lint-v1

CategoryCode and developer
Provider hostagent.pocket.network
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days20 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.005 927 ms
2026-11-25 valid payment request 402$0.005 925 ms
2026-11-24 valid payment request 402$0.005 913 ms
2026-11-23 valid payment request 402$0.005 897 ms
2026-11-22 valid payment request 402$0.005 1003 ms
2026-11-21 valid payment request 402$0.005 977 ms
2026-11-20 valid payment request 402$0.005 904 ms
2026-11-19 valid payment request 402$0.005 895 ms
2026-11-18 valid payment request 402$0.005 907 ms
2026-11-17 valid payment request 402$0.005 899 ms
2026-11-16 valid payment request 402$0.005 879 ms
2026-11-15 valid payment request 402$0.005 983 ms
2026-11-14 valid payment request 402$0.005 881 ms
2026-11-13 valid payment request 402$0.005 884 ms
2026-11-12 valid payment request 402$0.005 881 ms
2026-11-11 valid payment request 402$0.005 989 ms
2026-11-10 valid payment request 402$0.005 870 ms

Example input (from the provider)

{
  "body": {
    "source": "//@version=6\nindicator(\"y\")\nd = request.security(syminfo.tickerid, \"D\", close, lookahead=barmerge.lookahead_on)\nplot(d)\n"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "description": "The body of POST /v1/lint and POST /v1/integrity (integrity ignores conventions). GET /v1/rules lists every finding code with its severity.",
          "properties": {
            "conventions": {
              "description": "Lint only. Also report style conventions; default false.",
              "type": "boolean"
            },
            "source": {
              "description": "The Pine Script source, up to 200 KiB.",
              "maxLength": 204800,
              "type": "string"
            }
          },
          "required": [
            "source"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "data": {
              "description": "POST /v1/lint answers pine-lint-result/v1 (verdict CLEAN, WARN or FAIL, counts, findings with code, severity, line and message, stats); POST /v1/integrity answers pine-integrity-result/v1 (verdict, counts, findings, checks). Every response is a JSON object.",
              "type": "object"
            },
            "portal": {
              "properties": {
                "provenance": {
                  "const": "third-party-supplier"
                },
                "schemaCheck": {
                  "enum": [
                    "passed",
                    "undeclared",
                    "unchecked"
                  ]
                },
                "serviceId": {
                  "const": "pine-script-lint-v1"
                }
              },
              "required": [
                "provenance",
                "serviceId",
                "schemaCheck"
              ],
              "type": "object"
            }
          },
          "required": [
            "portal",
            "data"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON