Run the same correctness engine behind the site from your own tool, marketplace or CI. One endpoint validates code for any of the 7 platforms and returns the Strategy Health Score™, every finding, and a verifiable fingerprint. The deterministic validators are free & open — generous per-key quotas, no card.
Create a key in your Account (free, up to 10). Send it on every request as X-API-Key: fck_… (or Authorization: Bearer fck_…). Keep it secret — a key acts as you.
Body: platform (one of the 7 ids below), code (the source), and optional share:true to mint a public badge + verify page.
curl -X POST https://forexcodes.com/api/v1/validate \
-H "X-API-Key: fck_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"platform": "pine",
"code": "//@version=6\nindicator(\"x\")\nplot(close)",
"share": false
}'200 · application/json
{
"platform": "pine",
"score": 96,
"band": "clean",
"verified": true,
"counts": { "critical": 0, "high": 0, "medium": 0, "info": 1 },
"findings": [
{
"severity": "info",
"code": "IN",
"rule": "Style",
"line": 2,
"message": "…",
"fix": "…"
}
],
"fingerprint": "sha256 hex of the normalized code",
"quota": { "limit": 500, "remaining": 499, "resets": "daily" }
}Public, no key. Confirm any badge is real and read what it attests to — the score, the pass/fail seal, and the code fingerprint. This is how a marketplace or prop firm can trust a “Verified by ForexCodes” badge on a listing.
{
"id": "AbC12dEf",
"platform": "pine",
"score": 96,
"verified": true,
"counts": { "critical": 0, "high": 0, "medium": 0, "info": 1 },
"fingerprint": "…",
"issued_at": "2027-01-01T00:00:00Z",
"verify_url": "https://forexcodes.com/r/AbC12dEf",
"badge_url": "https://forexcodes.com/r/AbC12dEf/badge"
}Sign in, create a key, and make your first call in a minute.
Correctness only — never a claim of profitability. Software & education, not financial advice.