{
  "id": 22147017,
  "title": "Audit the JSON-LD on your site with Python",
  "url": "https://urgent.news/2026/11/27/audit-the-json-ld-on-your-site-with-python",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-27T10:28:18.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/proxdigitalagencylondon/audit-the-json-ld-on-your-site-with-python-30p6"
  },
  "original_language": "en",
  "account": "JSON-LD is a structured data format that provides information about web pages to search engines. It is typically contained within a script tag with the type attribute set to \"application/ld+json\". Validators like the Rich Results Test can check the JSON-LD for individual URLs, but this only provides a snapshot of the data at that moment. After launch, as websites evolve with template updates and content changes, it's important to audit the JSON-LD across all pages to ensure accuracy and relevance. This post presents a Python script that automates the process of fetching a list of URLs, extracting all JSON-LD blocks, and identifying common issues that tend to arise after deployment. These issues include invalid JSON types, multiple instances of the same block, missing entities, and events with past dates. The script is not meant to replace Google's validators but rather to provide a convenient and repeatable way to keep track of JSON-LD health over time. It's crucial to maintain accurate structured data because Google emphasizes the need for up-to-date information, warning that rich results may not be displayed if the data is no longer relevant. The script demonstrates how to install the necessary dependencies, create a text file containing URLs, and run the audit process.",
  "summary": "JSON-LD, in this context, is the block of structured data inside a <script type=\"application/ld+json\"> tag that tells search engines what a page describes: a product, an event, an organisation. Validators like the Rich Results Test check one URL at a time. That's fine during development, but it doesn't tell you what's happening across fifty templates six months after launch, when plugins have…",
  "key_points": [
    "JSON-LD provides structured data for web pages to search engines",
    "Validators check JSON-LD for individual URLs, but script audits all pages",
    "Script identifies common issues like invalid JSON types and past event dates"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}