Schema.org JSON-LD & Semantic Web Distiller for AI Agents
Pricing
from $8.00 / 1,000 webpage distilled into structured schema.org json-ld, microdata, opengraph & mcp briefs
Schema.org JSON-LD & Semantic Web Distiller for AI Agents
Deterministic Schema.org JSON-LD, Microdata & OpenGraph distiller for AI agents. Extracts structured products, orgs, jobs, and articles with 95%+ token compression.
Pricing
from $8.00 / 1,000 webpage distilled into structured schema.org json-ld, microdata, opengraph & mcp briefs
Rating
0.0
(0)
Developer
Dysen K
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
17 days ago
Last modified
Categories
Features
Share
🌐 Universal Schema.org JSON-LD & Semantic Web Distiller for AI Agents (MCP)
Deterministic 95%+ LLM token reduction engine. Distills Google-validated W3C Schema.org JSON-LD, HTML5 Microdata, and OpenGraph metadata from any webpage into structured facts and token-optimized MCP briefs (<400 tokens).
⚡ The Problem: Raw Web Scraping Destroys LLM Context
When AI agents (Claude 3.7 / 3.5 Sonnet, Cursor, OpenAI GPT-4o, Windsurf, Copilot, DeepSeek) need information from external websites, general scrapers dump 30,000 to 80,000 tokens of raw HTML, hydration scripts, marketing tracking pixels, and CSS styles directly into the context window.
This leads to:
- 💸 Massive Cost Inflation: Burning $0.15 to $0.50 per page in input tokens.
- ⏳ High Latency: Ingesting 200KB of DOM trees slows agent response times by 5–15 seconds.
- 📉 Attention Drift & Hallucination: LLMs lose needle-in-a-haystack focus when reading minified JavaScript bundles and SVG icons instead of facts.
- 🛑 Context Overflow: Multi-page research tasks quickly hit context limits.
🚀 The Solution: 100% Deterministic Semantic Distillation
Over 60% of modern web pages (e-commerce storefronts, SaaS homepages, tech documentation, blogs, job boards, real estate listings) already embed Google-validated, machine-readable structured metadata directly inside their initial HTML payload via:
- W3C Schema.org JSON-LD (
<script type="application/ld+json">) - HTML5 Microdata (
[itemscope],[itemprop]) - OpenGraph Tags (
og:title,og:description,og:price:amount, etc.) - Twitter Cards (
twitter:card,twitter:title, etc.)
Schema.org Semantic Distiller deterministically extracts and normalizes these semantic structures into pure, clean facts, cutting LLM token usage by 95% to 99% with zero LLM cost and zero hallucination risk.
[ Raw Webpage HTML (45,000 Tokens) ]│▼ Fast Deterministic Extraction (JSON-LD + Microdata + OpenGraph)[ Canonical Normalized Entity + MCP Markdown Brief (180 Tokens) ]│▼ 99.6% Token Reduction Saved!
🌟 Key Architecture & Capabilities
1. Robust JSON-LD Extraction & Graph Flattening
- Handles nested
@grapharrays (common in WordPress, Yoast, Shopify, and modern enterprise schemas). - Handles top-level arrays, embedded entity nodes (
mainEntity,offers,author,publisher). - Self-healing parser for malformed JSON-LD (strips CDATA blocks, decodes HTML entities like
", cleans trailing commas).
2. Microdata & OpenGraph Fallback
- If JSON-LD is absent or partial, automatically extracts HTML5
[itemscope]/[itemprop]Microdata attributes (content,href,src,datetime). - Fallback to canonical OpenGraph (
og:*) and Twitter Card metadata.
3. Canonical Entity Normalization
Automatically normalizes complex schemas into standardized objects:
- Product:
name,brand,sku,gtin(barcode),price,currency,availability(InStock/OutOfStock),ratingValue,reviewCount,description. - Organization:
name,legalName,url,logo,sameAs(social/GitHub links),telephone,email,address. - Software / SaaS:
name,applicationCategory,operatingSystem,softwareVersion,pricing,ratingValue,description. - Article / News:
headline,author,datePublished,dateModified,publisher,description. - Job Posting:
title,hiringOrganization,jobLocation,employmentType,baseSalary,datePosted. - Event:
name,startDate,endDate,location,organizer,price,currency.
4. Real-Time Token Savings Metrics
Computes exact LLM token efficiency for every URL:
rawHtmlTokensEst: Estimated tokens in raw HTML response (ceil(chars / 4)).distilledBriefTokensEst: Estimated tokens in distilled brief (<400 tokens).tokensSaved: Net context tokens saved.compressionPercentage: Context reduction percentage (typically 94%–99%).
🤖 AI Agent Integration (Cursor, Claude, Windsurf, Cline)
Option 1: Direct Context Injection via MCP_PROMPT
This Actor saves a combined, zero-noise Markdown prompt in the Apify Key-Value Store under the key MCP_PROMPT. You can feed this directly into your system prompt:
### 🌐 [Linear App](https://linear.app)- **Domain**: `linear.app` | **HTTP**: `200` | **Entities**: `Organization, SoftwareApplication`- **Context Compression**: ⚡ **98.4% saved** (Raw: ~18,500 tokens → Distilled: ~210 tokens)#### 💻 Software / SaaS: Linear App- **Category**: `ProjectManagementApplication` | **OS**: `Web, macOS, iOS, Android` | **Pricing**: `0 USD`- **Rating**: ⭐ **4.95/5.0** (1200 reviews)- **Description**: The issue tracking tool you will actually enjoy using. Streamline projects, sprints, and tasks.#### 🏢 Organization: Linear Orbit, Inc.- **Location**: San Francisco, CA- **Profiles**: [twitter.com/linear](https://twitter.com/linear) · [github.com/linear](https://github.com/linear)
Option 2: Model Context Protocol (MCP) Tool
Connect your AI Agent through the Apify MCP server. The agent passes target URLs and receives structured facts instantly:
{"name": "distill_webpage_semantics","arguments": {"urls": ["https://stripe.com", "https://linear.app"]}}
⚙️ Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
urls | Array<string> | ["https://stripe.com", ...] | Required. List of web page URLs to fetch, parse, and semantically distill. |
includeRawJsonLd | boolean | true | Include complete unflattened raw JSON-LD blocks in dataset items. |
includeMicrodata | boolean | true | Extract HTML5 Microdata (itemscope/itemprop) as fallback. |
includeOpenGraph | boolean | true | Extract OpenGraph (og:*) and Twitter Card metadata tags. |
concurrency | integer | 5 | Concurrent fetch workers (range: 1 to 20). |
timeoutSecs | integer | 15 | Per-request timeout in seconds (range: 3 to 60). |
customHeaders | object | {} | Optional custom headers (e.g. Cookie, Authorization). |
📊 Dataset Output Schema
Each item pushed to the default dataset contains:
{"url": "https://store.example.com/products/k8-keyboard","httpStatus": 200,"title": "Ergonomic Mechanical Keyboard | Keychron","description": "Wireless custom mechanical keyboard with hot-swappable switches.","canonicalUrl": "https://store.example.com/products/k8-keyboard","domain": "store.example.com","detectedEntityTypes": ["Product", "Offer", "Organization", "AggregateRating"],"normalizedProduct": {"name": "Ergonomic Mechanical Keyboard","brand": "Keychron","sku": "K8-PRO-RGB","gtin": "0850012345678","price": 119.99,"currency": "USD","availability": "InStock","ratingValue": 4.8,"reviewCount": 320,"description": "Wireless custom mechanical keyboard with hot-swappable switches."},"normalizedOrganization": {"name": "Keychron","url": "https://store.example.com","sameAs": ["https://twitter.com/keychron", "https://instagram.com/keychron"]},"openGraph": {"title": "Ergonomic Mechanical Keyboard","type": "product","image": "https://store.example.com/images/k8.jpg"},"tokenSavingsStats": {"rawHtmlBytes": 142850,"rawHtmlTokensEst": 35712,"distilledBriefTokensEst": 245,"tokensSaved": 35467,"compressionPercentage": 99.3},"compressionPercentage": 99.3,"mcpMarkdownBrief": "### 🌐 [Ergonomic Mechanical Keyboard](https://store.example.com/products/k8-keyboard)...","crawledAt": "2026-11-06T15:20:00.000Z"}
💰 Pay-Per-Event (PPE) Pricing
This Actor utilizes transparent Pay-Per-Event (PPE) pricing:
- Charged only per successfully distilled URL (
url-semantically-distilled). - Failed or unreachable URLs are never charged.
- 100% deterministic execution with zero LLM API costs.
📜 License
Apache-2.0 License. Built with ❤️ for the AI Agent & Semantic Web developer community.