Go to example tasks

Extract schema.org JSON-LD and custom fields from a page

Reads a page's schema.org JSON-LD (articles, products, recipes, events) plus any fields you name with CSS selectors, and returns them as JSON. This example pulls the Article JSON-LD, headline and first paragraph from a Wikipedia page. Use it to check structured data or feed pages to an agent.

Try for free
Web Page to JSON & JSON-LD Extractor
Web Page to JSON & JSON-LD Extractormiacx/page-to-json
URL
Status
OK
Fetched
+4 fields
Text
Number
Boolean
List
Object

Input

URLs:https://en.wikipedia.org/wiki/Alan_Turing
Extra fields (optional):{2 fields}

Output fields

URL
Status
OK
Fetched
Title
Canonical
Words
Error

How it works

Sign up on Apify or log in

The Web Page to JSON & JSON-LD Extractor Actor is ready to run with the inputs already set for "Extract schema.org JSON-LD and custom fields from a page". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Extract schema.org JSON-LD and custom fields from a page" task

The Web Page to JSON & JSON-LD Extractor Actor will start running based on the input automatically. You can also change all the input fields, like URLs and extra fields (optional), to match your specific use case.

Receive the "Extract schema.org JSON-LD and custom fields from a page" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as URL, status, OK, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Extract schema.org JSON-LD and custom fields from a page" task via API.

Image

Integrate "Extract schema.org JSON-LD and custom fields from a page" into your workflow

Connect "Extract schema.org JSON-LD and custom fields from a page" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

The JSON-LD extraction task returns each page's parsed JSON-LD blocks, metadata, clean text and the custom fields you defined in extract.

The JSON-LD extraction task takes up to 50 named CSS selectors in extract, such as {"headline":"h1"}. A selector with no match returns null.

The JSON-LD extraction task returns what the page publishes. It doesn't check it against Google's rich result rules.