Skip to main content
Glama
DataLeadsPRO

website-to-json

by DataLeadsPRO

Website to JSON API (Schema Extraction)

Turn any webpage into structured JSON with CSS-selector schemas - strings select text, attributes, or HTML.

Part of the DataLeads API suite (Data category). Requests render in a real browser with anti-bot handling and protected-page support built in - no proxies to manage, no infrastructure to run.

Endpoints

Method

Path

Description

POST

/website-to-json

V1 Website To Json

Related MCP server: @aegis-ai/mcp-scraper

Quick start

curl -X POST https://data.dataleads.pro/v1/website-to-json \
  -H 'Content-Type: application/json' \
  -d '{"clientKey": "YOUR_CLIENT_KEY", "url": "https://news.ycombinator.com", "schema": {"titles": ".titleline"}}'

Replace YOUR_CLIENT_KEY with your key. Get one at https://data.dataleads.pro - free tier included.

MCP server

  • Remote (Streamable HTTP): https://data.dataleads.pro/mcp/website-to-json

  • Stdio (Docker): docker run -e DATALEADS_API_KEY=yourkey ghcr.io/dataleads/website-to-json-mcp:latest

Pricing

Tier

Price

Requests

Free

$0

500/mo

Starter

$9/mo

5,000

Pro

$29/mo

25,000

Business

$99/mo

100,000

Enterprise

custom

custom

Full plan details at https://data.dataleads.pro.

License

MIT - see LICENSE.

Related MCP Connectors

Related MCP Servers