Pine Check API v0.2.1

Every time your AI writes or edits Pine code, one call tells you where the backtest will lie — future data, unconfirmed higher-timeframe values, fills and costs live trading will not reproduce — with the line, the rule, and what was not checked.

Try it (no key, 30 checks a day)

curl -X POST https://pine.pokt-agent.com/v1/integrity -H "content-type: application/json" \
  -d '{"source":"//@version=6\nindicator(\"t\")\nh = request.security(syminfo.tickerid, \"D\", high, lookahead=barmerge.lookahead_on)\nplot(h)"}'

→ FAIL, P201 on line 3: the daily high is read from the future on historical bars. Fix: high[1] inside the call.

EndpointPurpose
POST /v1/integritybacktest-vs-live checks only (P201–P212)
POST /v1/lintadds syntax and version checks (v4 remnants in v5/v6 scripts, brackets, strings, limits)
GET /v1/rulesrule catalogue
GET /openapi.jsonOpenAPI 3 spec

Plans

PlanPriceIncluded
Free trial030 checks / day, no key
Pilot₩19,000 (≈ $14)100 checks / 14 days
Solo₩49,000 (≈ $35) / month300 checks / month
Team₩99,000 (≈ $71) / month1,000 checks / month

Send the key as Authorization: Bearer pk_.... Responses carry X-Quota-Remaining and X-Request-Id. Get a key: open a request with the plan you want; we reply there with payment details. Pilots are invoiced while card checkout is being set up.

What it is, and is not

Service id pine-script-lint-v1, also served on Pocket Network.