# Website Metadata, Logo & Social Links Extractor (`1stbtln/website-metadata-extractor`) Actor

Turn a list of URLs into clean metadata: title, description, Open Graph & Twitter cards, favicon, company logo, social profiles (LinkedIn, X, Instagram, YouTube, GitHub…), JSON-LD types, RSS feeds, language. Fast HTTP, no browser. $1 per 1,000 pages.

- **URL**: https://apify.com/1stbtln/website-metadata-extractor.md
- **Developed by:** [Ethan Wagner](https://apify.com/1stbtln) (community)
- **Categories:** Lead generation, SEO tools, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 page metadata extracteds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Website Metadata, Logo & Social Links Extractor

Paste a list of websites and get **clean, structured metadata for each one**: title, meta description, Open Graph and Twitter card tags, **favicon**, **company logo**, **official social media profiles**, JSON-LD (schema.org) types, RSS feeds, language, canonical URL and more.

Good for **lead enrichment** (logo + LinkedIn/X for a list of company domains), **link previews**, **SEO audits** (missing titles or OG images), competitor research, and building directories or AI datasets.

**$1 per 1,000 pages.** Failed or non-HTML URLs are free. Fast plain HTTP with no headless browser, and no proxy needed for most sites.

### What you get per URL

| Field | Description |
|---|---|
| `title`, `description`, `h1`, `keywords`, `robots` | Core SEO tags (plus their lengths) |
| `openGraph`, `twitterCard`, `ogImage` | All `og:*` and `twitter:*` tags, image URLs made absolute |
| `favicon`, `appleTouchIcon`, `icons` | All declared icons, falling back to `/favicon.ico` |
| `logo`, `logoSource` | Best logo guess: schema.org Organization logo, then an `<img>` marked "logo", then the apple-touch-icon |
| `socialProfiles` | Company profiles linked from the page or JSON-LD `sameAs`: LinkedIn, X/Twitter, Facebook, Instagram, YouTube, GitHub, TikTok, Pinterest, Discord, Threads, Bluesky, Mastodon |
| `siteName`, `language`, `canonicalUrl`, `themeColor`, `generator` | Site identity and tech hints (e.g. "WordPress 6.8") |
| `jsonLdTypes` (+ full `jsonLd` optional) | e.g. `Organization`, `Product`, `Article`, `LocalBusiness` |
| `rssFeeds`, `hreflangs` | RSS/Atom feeds and language alternates |
| `statusCode`, `finalUrl` | After redirects |

### Input

```json
{ "urls": ["https://apify.com", "stripe.com", "linear.app"] }
```

### Output example (shortened)

```json
{
  "url": "https://apify.com",
  "domain": "apify.com",
  "title": "Apify: Marketplace of ready-to-run tools…",
  "logo": "https://apify.com/img/apify-logo/apify-symbol-200x200.svg",
  "logoSource": "json-ld",
  "favicon": "https://apify.com/favicon.ico?favicon.2653ilt32bing.ico?dpl=3840e8ff7a",
  "socialProfiles": {
    "github": "https://github.com/apify",
    "linkedin": "https://www.linkedin.com/company/apify",
    "twitter": "https://x.com/apify",
    "tiktok": "https://www.tiktok.com/@apifytech",
    "discord": "https://discord.com/invite/jyEM2PRvMU"
  },
  "jsonLdTypes": ["Organization", "WebSite", "SoftwareApplication"],
  "statusCode": 200
}
```

Export to CSV, Excel or JSON, or call it from the API, Make, Zapier, n8n, Clay-style workflows or AI agents (MCP).

### Pricing

Pay per event: **$0.001 per page** extracted. HTTP errors, timeouts and non-HTML responses are returned with an `error` field and **not charged**. Set a max spend per run and the Actor stops cleanly when it's reached.

### Notes

- Reads only public HTML. No login, and no personal data such as emails or phone numbers is collected.
- Pages that render all content with JavaScript may return fewer fields.

# Actor input Schema

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

Pages or domains, one per line. Bare domains get https:// added.

## `includeJsonLd` (type: `boolean`):

Also return the raw structured data (schema.org JSON-LD) found on each page.

## `maxConcurrency` (type: `integer`):

Pages fetched at once.

## `timeoutSecs` (type: `integer`):

Per-page request timeout.

## `proxyConfiguration` (type: `object`):

Optional. Most sites work without a proxy; enable Apify Proxy for sites that block data-center IPs.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "stripe.com"
  ],
  "includeJsonLd": false,
  "maxConcurrency": 10,
  "timeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `pages` (type: `string`):

One row per URL with title, description, Open Graph / Twitter tags, favicon, logo, social profile links, JSON-LD types, RSS feeds and more. Failed URLs (HTTP errors, non-HTML) are listed with an error and not charged.

# 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://apify.com",
        "stripe.com"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("1stbtln/website-metadata-extractor").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://apify.com",
        "stripe.com",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("1stbtln/website-metadata-extractor").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://apify.com",
    "stripe.com"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call 1stbtln/website-metadata-extractor --silent --output-dataset

```

## MCP server setup

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

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/lfTR78HUYce1lbT8e/builds/S97W601cxaclONQny/openapi.json
