Docs

Validate OpenRTB from the CLI

One install, no runtime dependencies: the CLI is a single Rust binary that runs the full rule set locally.

Install and run

cargo install rtblint

rtblint validate request.json
rtblint validate --type response response.json
rtblint validate --type response --request request.json response.json
rtblint validate --version 2.5 --format json request.json
cat request.json | rtblint validate --stdin

Exit codes are CI-ready: 0 valid, 1 validation errors, 2 usage or I/O error. --format json emits machine-readable findings with stable rule ids, so you can gate on specific ids from the rule reference.

Cross-validate responses against their request

--request supplies the originating bid request, and every bid's impid, mtype, markup, deal id, seat, and currency are checked against what that request actually offered. Batch mode pairs one request against many response lines.

Pin the spec version

--version accepts every tracked snapshot from 2.0 through 3.0, including the dated 2.6 snapshots, so deprecation and moved-field findings match the revision your partner actually runs. The CI guide shows the GitHub Actions wiring end to end.

Prefer a library? The same core ships for Node.js and Rust, or paste one-offs into the online tester.