Skip to content

PolicyGrain documentation

PolicyGrain generates ten cited DPDP Act, IT (SPDI), Consumer Protection Act, and CERT-In documents from plain answers, serves a 4.94 KB gzipped equal-choice consent banner, verifies installs in headless Chromium, and seals consent receipts in SHA-256 hash chains with daily Ed25519 Merkle roots.

View .mdOpen llms.txt

Start here

  • Cited Notices

    Deterministic DPDP, IT (SPDI), CPA, and CERT-In documents with inline statutory citations and zero-JS hosting.

  • Consent Banner v2

    Equal-choice Accept/Reject, all 7 Google Consent Mode v2 signals, sync restore, GPC, and Shadow DOM iframe blocking.

  • Evidence Ledger

    Insert-only consent receipts, daily signed Merkle roots, limit-aware JSON/CSV packs, and 10,000 free monthly receipts.

  • CheckMyDPDP Scanner

    Isolated headless Chromium checks before choice, banner parity, and after Reject—plus local Chrome MV3 Inspector.

  • Ecosystem Plugins

    Google Tag Manager template, WordPress plugin, Shopify extension, @policygrain/react & Next.js SDK, Chrome MV3.

  • Coding Agents & API

    Run @policygrain/mcp, policygrain/checkmydpdp CLI, or explore the live OpenAPI 3.1.0 reference in Scalar.

Start in 60 seconds

# 1. Scan any public Indian website (keyless, 3 passes, 11 checks)
curl -X POST https://api.policygrain.com/v1/scans \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.in"}'

Reading these docs with an agent

  • Fetch /llms.txt for the structured index, or /llms-full.txt for the complete concatenated Markdown corpus.
  • Append .md to any page path (or /index.md for this page) for plain Markdown.
  • Fetch /openapi.json for the merged OpenAPI 3.1.0 contract and /SKILL.md for the coding-agent skill.

Planned DPDP s.5(3) rollout — English is live today

Notices and banner text are generated in English now. Hindi comes next, then the other languages of the Eighth Schedule to the Constitution. None of them is live yet.

Hindi (हिन्दी) — status: planned, next after English. Not available in documents or the banner yet.

ISO 639: hi · Script: Devanagari · Live today: English only · DPDP Act s.5(3)