Verify Meta Description

Ensure every page has a non-empty meta description tag.

The Problem

Meta descriptions don’t directly affect rankings, but they control your SERP snippet — the text that convinces a human to click. Google rewrites ~70%% of meta descriptions, but having a targeted one still improves CTR. For pSEO, a missing meta description template means thousands of pages with Google-generated snippets that may not match your intent.

The Hard Way

View source, find the <meta name="description"> tag. Multiply by 10,000 pages and you need a crawler.

The SEODiff Way

One API call. Results in under 2 seconds.

POST https://seodiff.io/api/v1/agent/evaluate

{"urls": ["https://example.com/landing/city-page"], "assertions": [{"rule": "has_meta_description"}]}

Code Examples

Copy-paste examples in your preferred language:

cURL

See the full evaluation example in cURL →

Python

See the full evaluation example in Python →

Node.js

See the full evaluation example in Node.js →

Go

See the full evaluation example in Go →

PHP

See the full evaluation example in PHP →

Related Assertions

has_h1

Ensure every page has exactly one H1 heading tag.

has_schema

Ensure every page has valid JSON-LD schema markup for rich results.

no_noindex

Ensure pages are indexable and don't have stray noindex directives.

Use in CI/CD

Add this assertion to your deployment pipeline. Works with any CI platform:

🐙 GitHub Actions

Block bad deployments with automated SEO checks in your GitHub Actions CI/CD pipeline.

🦊 GitLab CI

Add automated SEO quality gates to your GitLab CI/CD pipelines.

▲ Vercel

Automatically validate SEO on every Vercel preview deployment before promoting to production.

Start testing in 30 seconds

Get an API key and run your first evaluation with a single cURL command.

Get API Key or Read full API docs