# Schema.org Scraper: Recipes, Events, Jobs & Page Metadata (`pikoulas/page-metadata`) Actor

Any site's schema.org data as clean rows: recipes (ingredients, steps, times, calories), events (date, venue, price), job postings (salary, employer, place), FAQs, articles, businesses or any type, across a crawl. Plus each page's meta tags, Open Graph and an SEO score.

- **URL**: https://apify.com/pikoulas/page-metadata.md
- **Developed by:** [Spyridon Pikoulas](https://apify.com/pikoulas) (community)
- **Categories:** SEO tools, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 page reads

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Schema.org Scraper: Recipes, Events, Jobs & Page Metadata

The data sites publish for search engines, from any page, a list of pages or a whole site, as
clean rows in JSON, CSV or Excel: recipes, events, job postings, FAQs, articles, local businesses,
courses or any other schema.org type, one row per object. And everything each page says about
itself, with an SEO score.

- **Structured data:** give the schema.org types you want in **Structured data to extract**, and
  each object of those types on the pages read comes as its own row, its main fields flat and the
  whole object beside them:
  - **Recipe:** ingredients, steps, prep, cook and total minutes, servings, calories, category,
    cuisine, rating and its count, author.
  - **Event:** start and end, status, online or in person, venue, address, city, coordinates,
    price or price range, currency, availability, organizer, performer.
  - **JobPosting:** employer, date posted, closing date, employment type, city, region, country,
    remote, salary from and to, its currency and period.
  - **FAQPage:** each question with its answer.
  - **Any type:** name, description, URL, image, dates, author and publisher, brand, SKU, GTIN,
    offers, rating, address, opening hours, video length and more, as the object has them.
    A type takes in the types under it: `Event` gives concerts (`MusicEvent`) and matches
    (`SportsEvent`), `LocalBusiness` gives restaurants, dentists and the 128 others. An object comes
    once a run, however many pages carry it.
- **SEO audit:** each page scored 0 to 100, with its issues named: title or description missing or
  of a length search results cut, no `<h1>` or several, broken JSON-LD, `noindex`, no canonical or
  one pointing elsewhere, no `lang`, no viewport, Open Graph title, description or image missing,
  images without alt text, no Twitter card, no structured data, no favicon.
- **Site crawl:** with **Pages to crawl per site**, it reads on through each site's links to its own
  pages, and closes with a row per site: its average score, how many pages have each issue, the
  titles and descriptions several pages share, links that lead to an error page and where they
  are, and its lowest-scoring pages.
- **The basics:** title, description, `<h1>` headings, language, canonical URL, robots meta,
  author, published and modified dates, site name, keywords and generator, images and those
  without alt text, internal and external links counted.
- **Link previews:** every Open Graph and Twitter card tag, and the preview image.
- **Markup as given:** every JSON-LD object as the page gives it, `@graph` included, the
  schema.org types in it, the microdata types, and how many JSON-LD blocks don't parse.
- **Brand:** favicon, every icon with its size (largest first), the logo from the site's
  Organization markup, the web app manifest, and theme colour.
- **Links out:** RSS, Atom and JSON feeds, hreflang alternates, and the site's social profiles
  (from its links and its `sameAs`).
- **Watching:** with **Only changed pages**, a scheduled run gives only the pages whose metadata
  changed since the last run, or that stopped answering.

It costs **$1.50 per 1,000 pages** on Apify's paid plans and $2 on the free plan, its objects
included: 1,000 recipes from a recipe site crawled are about $1.50 to $3. A page that answers an
error, isn't HTML, or that its site keeps out, is free.

### What people use it for

- **Recipe datasets:** a cooking site's recipes with ingredients, steps, times and nutrition, for
  a meal planner, a nutrition app or a model's training set.
- **Event listings:** the concerts, talks and matches venues and promoters publish, with dates,
  venues and ticket prices, for a city guide or a calendar.
- **Job feeds:** the job postings career sites publish for Google for Jobs, with salary and place,
  from any company's site.
- **Local business data:** opening hours, address, coordinates, price range and rating from
  businesses' own sites.
- **Link previews:** title, description, image and icon of each URL for a chat app, a CMS or a
  bookmark manager.
- **SEO audits:** a site's pages scored with what to fix first, for an agency's client, a
  prospect's site before a sales call, or a competitor's; duplicate titles and broken links across
  the site.
- **Markup checks:** which pages carry which schema.org types, broken JSON-LD, missing Open
  Graph tags, canonicals and hreflang.
- **Brand and company data:** a company's logo, icons, social profiles and feeds from its home page.
- **Monitoring:** told when a page's title, description, structured data or preview changes.

### How to read pages

1. Click **Try for free**; Apify's free plan covers a first run.
2. Paste the **URLs**, and to read on through their sites, set **Pages to crawl per site**.
   For data, list the types in **Structured data to extract**, and turn on **Only the structured
   data** to leave the page rows out.
3. Click **Start**, then open the results from the **Output** tab, or download them as JSON, CSV
   or Excel.
4. To watch them, turn on **Only changed pages** and add a **Schedule** to the task.

An input with every option:

```json
{
  "urls": ["https://www.budgetbytes.com/", "https://www.python.org/"],
  "dataTypes": ["Recipe", "Event", "JobPosting", "FAQPage"],
  "onlyData": false,
  "crawlPages": 100,
  "onlyChanged": false,
  "memory": "default"
}
```

### Output

A recipe, from a recipe page with **Structured data to extract** at `Recipe` (`data`, the object
as the page gives it, cut):

```json
{
  "dataType": "Recipe",
  "schemaType": "Recipe",
  "pageUrl": "https://www.budgetbytes.com/cream-of-broccoli-replacement/",
  "name": "Cream of Broccoli Soup",
  "description": "This easy Cream of Broccoli Soup is a gluten-free 1:1 replacement for canned soup. It’s creamy, flavorful, and comes together fast with just a few simple ingredients.",
  "url": "https://www.budgetbytes.com/cream-of-broccoli-replacement/#recipe",
  "image": "https://www.budgetbytes.com/wp-content/uploads/2025/11/Cream-of-Broccoli-Overhead.jpg",
  "datePublished": "2025-02-09T23:49:00+00:00",
  "author": "Jess Rice",
  "recipeCategory": "Soup",
  "recipeCuisine": "American",
  "prepMinutes": 5,
  "cookMinutes": 25,
  "totalMinutes": 30,
  "calories": 807,
  "ingredients": ["2 Tbsp salted butter ($0.22)", "1 cup frozen broccoli florets (thawed and diced very small, (4.3 oz) $0.58*)", "1 tsp garlic powder ($0.05)", "1 tsp onion powder ($0.05)", "½ tsp salt ($0.01)", "..."],
  "instructions": ["Gather ingredients.", "Dice broccoli into very small pieces.", "Melt butter and add broccoli, garlic powder, onion powder, salt and sauté 6-8 minutes.", "..."],
  "keywords": "Cream of Broccoli soup",
  "data": {"@type": "Recipe", "name": "Cream of Broccoli Soup", "recipeIngredient": ["..."], "nutrition": {"@type": "NutritionInformation", "calories": "807 kcal", "...": "..."}, "...": "..."},
  "readAt": "2026-11-21T22:54:16Z"
}
```

`dataType` is the type asked for and `schemaType` the object's own (`MusicEvent` for `Event`).
A field the object doesn't have is left out of its row. Prices and salaries are numbers,
durations in minutes, `availability` and `eventStatus` as schema.org names them (`InStock`,
`EventScheduled`). The **Structured data**, **Recipes**, **Events** and **Jobs** views of the
results show their columns.

A page's row:

```json
{
  "url": "https://www.python.org/",
  "status": 200,
  "finalUrl": "https://www.python.org/",
  "contentType": "text/html; charset=utf-8",
  "responseTimeMs": 21,
  "title": "Welcome to Python.org",
  "description": "The official home of the Python Programming Language",
  "language": "en",
  "canonical": null,
  "siteName": "Python.org",
  "type": "website",
  "image": "https://www.python.org/static/opengraph-icon-200x200.png",
  "favicon": "https://www.python.org/static/favicon.ico",
  "logo": null,
  "icons": [
    {"url": "https://www.python.org/static/apple-touch-icon-144x144-precomposed.png", "rel": "apple-touch-icon-precomposed", "sizes": "144x144", "type": null}
  ],
  "feeds": [
    {"url": "https://www.python.org/downloads/feed.rss", "type": "rss", "title": "Python Releases"}
  ],
  "hreflang": [],
  "socialProfiles": ["https://www.linkedin.com/company/python-software-foundation", "https://twitter.com/ThePSF"],
  "openGraph": {"type": "website", "site_name": "Python.org", "title": "Welcome to Python.org",
                "image": "https://www.python.org/static/opengraph-icon-200x200.png"},
  "twitter": {},
  "schemaTypes": [],
  "jsonLd": [],
  "jsonLdErrors": 0,
  "microdataTypes": [],
  "h1": ["Functions Defined", "All the Flow You’d Expect", "Compound Data Types", "Intuitive Interpretation", "Quick & Easy to Learn"],
  "viewport": "width=device-width, initial-scale=1.0",
  "images": 1,
  "imagesWithoutAlt": 0,
  "internalLinks": 64,
  "externalLinks": 63,
  "score": 84,
  "issues": [
    {"check": "description-length", "severity": "warning", "message": "The description is 52 characters; 70 to 160 show whole."},
    {"check": "several-h1", "severity": "warning", "message": "5 <h1> headings."},
    {"check": "no-canonical", "severity": "warning", "message": "No canonical link."},
    {"check": "no-twitter-card", "severity": "notice", "message": "No twitter:card."}
  ],
  "readAt": "2026-11-20T10:33:38Z"
}
```

The score is 100 less 15 for each error, 5 for each warning and 1 for each notice. Errors:
`no-title`, `no-description`, `no-h1`, `broken-json-ld`. Warnings: `title-length` (outside 15 to
60 characters), `description-length` (outside 70 to 160), `several-h1`, `noindex`, `no-canonical`,
`no-language`, `no-viewport`, `no-og-title`, `no-og-description`, `no-og-image`,
`images-without-alt`. Notices: `canonical-elsewhere`, `no-twitter-card`, `no-structured-data`,
`no-favicon`. A crawled page also has `linkedFrom`, the page whose link led to it.

A site's row, from a crawl of python.org with **Pages to crawl per site** at 30, which took 23
seconds:

```json
{
  "site": "https://www.python.org",
  "pagesRead": 31,
  "pagesNotRead": 0,
  "averageScore": 86,
  "issueCounts": {"no-twitter-card": 31, "no-canonical": 30, "description-length": 29, "several-h1": 16, "title-length": 1, "no-description": 1, "...": 1},
  "duplicateTitles": [],
  "duplicateDescriptions": [
    {"description": "The official home of the Python Programming Language", "pages": 27, "urls": ["https://www.python.org/", "https://www.python.org/jobs/", "..."]}
  ],
  "brokenLinks": [],
  "lowestScores": [{"url": "https://policies.python.org/python.org/code-of-conduct/", "score": 63}, {"url": "https://www.python.org/", "score": 84}, "..."],
  "readAt": "2026-11-20T10:33:38Z"
}
```

`brokenLinks` are the crawled links whose page answered an error, with the page that links there;
lists hold up to 20 URLs, `lowestScores` 10. The site rows come last and aren't charged.

A tag that repeats, such as several `og:image`, comes as a list. A page not read has `errorType`:
`status` (an error answer, with `status`), `not-html`, `dns`, `tls`, `timeout`, `connection`,
`redirects` (a loop or more than 10), `robots`, `refused`, `check-page`, `not-public` or `invalid`,
and `error` says why. **Only changed pages** adds `change` (`new` or `changed`), to a page's rows and to the rows of its
objects; an unchanged page's objects aren't given again.

### Use it as an API

One call runs it and returns the results as JSON (for runs under 5 minutes; longer ones start a
run and read its dataset). Apify's Python and JavaScript clients, and its Make, Zapier and n8n
integrations, work the same way.

```bash
curl -X POST "https://api.apify.com/v2/acts/pikoulas~page-metadata/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://www.python.org/", "https://stripe.com/"]}'
```

AI agents can call it as a tool through Apify's MCP server: `https://mcp.apify.com?tools=pikoulas/page-metadata`.

### How much does it cost?

A page read is $0.0015, so 1,000 pages cost $1.50 ($2 on Apify's free plan), crawled or given,
with all the objects on them; a site's summary row is free. A page read is charged whether or not
it carries objects of the types asked for, so a crawl that reads listing pages to reach recipes
pays for those too. With **Only changed
pages**, every page read is charged, also those that didn't change and so aren't given. A page
not read is free. Set a spending limit on a run and it stops there.

### Good to know

- **No one's personal details:** a `Person` object is never given as a row, nor the names of
  reviewers, commenters and people organizing an event; an article's or recipe's byline and an
  event's performers are given as the page publishes them.
- **Structured data is read from JSON-LD,** the form Google recommends and most sites use;
  microdata and RDFa objects are only named in a page's `microdataTypes`. An object nested in
  another one asked for (an event's venue) is in that one's `data`, not a row of its own.
- **No emails or phone numbers,** but a company's own: they're kept only on an `Organization` object
  itself, or one of its schema.org subtypes (`LocalBusiness`, `Restaurant`, `Corporation` and the
  rest), and taken out of every other JSON-LD object (a `Person`, a
  `ContactPoint`, an event) and out of Open Graph's contact tags.
- **Each site is read politely:** two requests a second at most, or the crawl delay its
  `robots.txt` asks for (up to 10 seconds), while many sites are read at once. A page its
  `robots.txt` refuses isn't read, and that holds for every site a redirect leads to.
- **A site that refuses is left alone:** a 401, 402, 403, 429 or 451 answer, or a verification
  page, and that site's other pages aren't read in the run (free, with `errorType: "refused"`). It
  doesn't try to get past a refusal, names itself in its User-Agent and uses no proxy, so sites
  that turn away automated visitors answer it so.
- **It reads the HTML the server sends,** the first 3 MB of it, without running JavaScript: a page
  that sets its tags only in the browser shows what its server sent.
- **Only public addresses are reached,** redirects included: not private networks, and only web
  ports among those below 1024.
- It gives the URLs of images, icons and logos, and downloads none of them.
- **A crawl** follows links to the host the site's first page ended on, in the order it finds them,
  and leaves out links with a query string (`?page=2`, filters) and links to files (PDFs, images,
  archives). A link that redirects to another host is read, but not crawled on from. **Pages to
  crawl per site** counts the pages beyond those given, and is shared by the URLs given on one
  site.
- A run that has a timeout stops shortly before it and finishes as succeeded with what it has
  read; the log says how many pages were left.
- **Contact.** The Actor keeps nothing itself: results and its memory sit in the storage of
  whoever ran it. Questions or requests go to spyridwn.pd@gmail.com.

### FAQ

#### How do I get all the recipes from a cooking site?

Give its home page or a category page, set **Structured data to extract** to `Recipe`, turn on
**Only the structured data**, and set **Pages to crawl per site** to about twice the recipes you
want, as the crawl also reads category and tag pages on its way. Open the **Recipes** view.

#### How do I get the events or jobs a site lists?

Give the listing page, `Event` or `JobPosting` as the type, and a crawl if each event or job has
its own page. Sites publish this markup for Google's event and job search, so most event and
career pages carry it.

#### How do I get a link preview for a URL?

Give the URL and read `title`, `description`, `image` and `favicon`; `openGraph` and `twitter`
hold every tag if you need more. Through the API, `run-sync-get-dataset-items` returns them in
one call.

#### How do I audit a whole site?

Give its home page and set **Pages to crawl per site**, 200 for example. Each page comes with its
`score` and `issues`, and the site's last row sums them up: open the **Sites** view of the results,
and the **SEO audit** view for the pages.

#### How do I check a site's structured data?

Give its pages and look at `schemaTypes` for what each carries and `jsonLdErrors` for blocks that
don't parse; `jsonLd` holds the objects themselves. Google's Rich Results Test then tells whether
a type qualifies for rich results.

#### How do I get a company's logo?

Give its home page: `logo` is the one in its Organization markup, where it has one; `icons` lists
every icon it declares, largest first, and `image` its preview image.

#### Is it legal to read page metadata?

It reads each page once, as a browser or a link preview does, keeps to each site's `robots.txt`,
and gives what the page publishes about itself for previews and search engines, without people's
emails or phone numbers. What you do with the results is your own responsibility; if you're
unsure, ask a lawyer. Apify's [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)
is a good start.

#### Something missing or not working?

Open an issue on the **Issues** tab with the input you used, or ask there for a field you need.

If it does what you need, a review on the **Reviews** tab helps others find it.

# Actor input Schema

## `urls` (type: `array`):

The pages to read, any number: recipe, event, job or product pages, or a site's home page to crawl from. A bare domain such as example.com is read as https://example.com/. Redirects are followed to the final page.

## `dataTypes` (type: `array`):

A row per schema.org object of these types on the pages read, with its main fields flat (Recipe: ingredients, steps, times, calories; Event: dates, venue, address, price; JobPosting: employer, place, salary; FAQPage: its questions and answers) and the object itself in data. A type takes in those under it: Event gives MusicEvent and SportsEvent, LocalBusiness gives Restaurant and Dentist. Others: Article, Product, Course, VideoObject, Organization, Review, HowTo, Book, Movie, SoftwareApplication. A Person is never given.

## `onlyData` (type: `boolean`):

Give the objects' rows alone, not each page's metadata and SEO audit. Every page read is still charged, also one without objects of those types.

## `crawlPages` (type: `integer`):

Read on through each site's links to its own pages, up to this many pages more than those given, and close with a summary row per site: its average score, the issues counted, titles and descriptions shared by several pages, and links that lead to an error. 0 reads only the URLs given. Each page read is charged.

## `onlyChanged` (type: `boolean`):

Give only the pages whose metadata, or whose error, differs from the last run with the same memory name, or that are new to it. Run it on a schedule to be told when a title, Open Graph tag or structured data changes. Every page read is still charged.

## `memory` (type: `string`):

Runs with the same memory name compare against each other. Use another name for each list you watch. The memory is a key-value store named page-metadata-memory in your account.

## Actor input object example

```json
{
  "urls": [
    "https://www.budgetbytes.com/cream-of-broccoli-replacement/",
    "https://www.python.org/",
    "https://www.theverge.com/"
  ],
  "dataTypes": [
    "Recipe",
    "Event",
    "JobPosting",
    "FAQPage"
  ],
  "onlyData": false,
  "crawlPages": 5,
  "onlyChanged": false,
  "memory": "default"
}
```

# Actor output Schema

## `data` (type: `string`):

No description

## `recipes` (type: `string`):

No description

## `events` (type: `string`):

No description

## `jobs` (type: `string`):

No description

## `overview` (type: `string`):

No description

## `audit` (type: `string`):

No description

## `sites` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://www.budgetbytes.com/cream-of-broccoli-replacement/",
        "https://www.python.org/",
        "https://www.theverge.com/"
    ],
    "dataTypes": [
        "Recipe",
        "Event",
        "JobPosting",
        "FAQPage"
    ],
    "crawlPages": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("pikoulas/page-metadata").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": [
        "https://www.budgetbytes.com/cream-of-broccoli-replacement/",
        "https://www.python.org/",
        "https://www.theverge.com/",
    ],
    "dataTypes": [
        "Recipe",
        "Event",
        "JobPosting",
        "FAQPage",
    ],
    "crawlPages": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("pikoulas/page-metadata").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://www.budgetbytes.com/cream-of-broccoli-replacement/",
    "https://www.python.org/",
    "https://www.theverge.com/"
  ],
  "dataTypes": [
    "Recipe",
    "Event",
    "JobPosting",
    "FAQPage"
  ],
  "crawlPages": 5
}' |
apify call pikoulas/page-metadata --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pikoulas/page-metadata"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ENwkqrbg8y0cHL52t/builds/gFLbUUkReYnB9JetA/openapi.json
