A teardown of 40 SaaS pricing pages
northlight-press.example/journal/pricing-page-teardown
Demos / URL Metadata & Open Graph Extractor
Slipway is a small team chat and notes product. Users paste links all day, and a bare URL says nothing about what is behind it. Fetching the page from the user's browser is not possible (cross-origin rules) and fetching it from the product's own servers means maintaining an HTML parser and guarding against requests to internal addresses. Here the backend hands every pasted URL to the API and renders the answer as a preview card. The same record files the link in a shared bookmark list, keyed by its canonical URL so tracking parameters and short links do not create duplicates.
URL Metadata & Open Graph ExtractorBuild it$0.004 for the run shown
Workflow
Trigger
A user sends a message. The backend finds the URLs in it and skips those already in the preview cache.
API call
One call with the new URLs. Each comes back with title, description, Open Graph tags, favicon, canonical and final URL; missing pages are reported and not charged.
Your logic
Prefer ogTitle, ogDescription and ogSiteName, fall back to title, description and the host name; use the compact layout when ogImage is null.
Result
The card is attached to the message and the link is filed in the channel's bookmark list under its canonical URL.
Wired as a background job: when a message is saved, the backend extracts its URLs, calls the API synchronously with all of them and stores one preview per URL, cached by canonical URL. The message appears at once and the cards are added a moment later. An import of an old workspace sends thousands of URLs in one asynchronous run.
Result
With previews
Mirela Oduya10:41
Worth a read before Thursday's pricing review: https://northlight-press.example/journal/pricing-page-teardown
A teardown of 40 SaaS pricing pages
northlight-press.example/journal/pricing-page-teardown
Mirela Oduya10:41
And the webhook reference Tomas asked for: https://docs.tidewater-pay.example/api/webhooks
Webhooks: Tidewater Pay API reference
docs.tidewater-pay.example/api/webhooks
Tomas Lindqvist10:44
Should we send someone to this? https://lnk.quay.example/r/8fk2
Spring Product Day 2027
quayside-meetups.example/2027/spring-product-day
Anouk Verhage10:52
Team bike for the office, from their newsletter: https://fernhill-cycles.example/p/gravel-one?utm_source=newsletter&utm_campaign=nov
Gravel One
fernhill-cycles.example/p/gravel-one
Tomas Lindqvist10:58
Old roadmap for reference: https://wiki.brackenfield-studio.example/roadmap-2024
Before
Mirela Oduya10:41
Worth a read before Thursday's pricing review: https://northlight-press.example/journal/pricing-page-teardown
Mirela Oduya10:41
And the webhook reference Tomas asked for: https://docs.tidewater-pay.example/api/webhooks
Tomas Lindqvist10:44
Should we send someone to this? https://lnk.quay.example/r/8fk2
Anouk Verhage10:52
Team bike for the office, from their newsletter: https://fernhill-cycles.example/p/gravel-one?utm_source=newsletter&utm_campaign=nov
Tomas Lindqvist10:58
Old roadmap for reference: https://wiki.brackenfield-studio.example/roadmap-2024
Five bare URLs. Nobody can tell the article from the shop page without opening each one, and the short link hides its destination.
| Site | Title | Canonical URL | Type | Shared by |
|---|---|---|---|---|
| Northlight Press | A teardown of 40 SaaS pricing pages | northlight-press.example/journal/pricing-page-teardown | Articleby Ines Halvard | Mirela Oduya |
| docs.tidewater-pay.example | Webhooks: Tidewater Pay API reference | docs.tidewater-pay.example/api/webhooks | Docs | Mirela Oduya |
| Quayside Meetups | Spring Product Day 2027 | quayside-meetups.example/2027/spring-product-day | Event | Tomas Lindqvist |
| Fernhill Cycles | Gravel One | fernhill-cycles.example/p/gravel-one | Product | Anouk Verhage2 shares merged |
| wiki.brackenfield-studio.example | Not saved: page not found | — | 404 | Tomas Lindqvist |
The Fernhill Cycles link was shared twice this week, once with newsletter tracking parameters and once without. Both resolve to one canonical URL, so the list holds it once.
Highlighted values are read from the API response. The data is a sample in the API's real output shape; names and figures are illustrative.
Call
One request with this input produces the 5 records the screen above is drawn from. Prices are the ones on the API page; records that fail or come back empty are not charged.
{
"urls": [
"https://northlight-press.example/journal/pricing-page-teardown",
"https://docs.tidewater-pay.example/api/webhooks",
"https://lnk.quay.example/r/8fk2",
"https://fernhill-cycles.example/p/gravel-one?utm_source=newsletter&utm_campaign=nov",
"https://wiki.brackenfield-studio.example/roadmap-2024"
],
"timeoutSecs": 10
}{
"input": "https://northlight-press.example/journal/pricing-page-teardown",
"url": "https://northlight-press.example/journal/pricing-page-teardown",
"finalUrl": "https://northlight-press.example/journal/pricing-page-teardown",
"redirected": false,
"statusCode": 200,
"contentType": "text/html; charset=utf-8",
"title": "A teardown of 40 SaaS pricing pages | Northlight Press",
"description": "We read 40 pricing pages from small software companies and counted what they show: plans, annual discounts, usage limits and where the free tier hides.",
"canonical": "https://northlight-press.example/journal/pricing-page-teardown",
"language": "en",
"favicon": "https://northlight-press.example/favicon.svg",
"ogTitle": "A teardown of 40 SaaS pricing pages",
"ogDescription": "What 40 small software companies put on their pricing page, counted.",
"ogImage": "https://northlight-press.example/media/pricing-teardown-cover.png",
"ogType": "article",
"ogSiteName": "Northlight Press",
"twitterCard": "summary_large_image",
"twitterSite": null,
"jsonLdTypes": [
"Article",
"BreadcrumbList"
],
"publishedTime": "2026-10-28T08:00:00+00:00",
"modifiedTime": "2026-11-02T14:12:00+00:00",
"author": "Ines Halvard",
"robots": "index, follow",
"generator": null,
"h1": "A teardown of 40 SaaS pricing pages",
"h1Count": 1,
"wordCount": 2384,
"linksInternal": 41,
"linksExternal": 46,
"feeds": [
{
"url": "https://northlight-press.example/journal/feed.xml",
"type": "application/rss+xml",
"title": "Northlight Press journal"
}
],
"pageBytes": 148220,
"truncated": false,
"responseTimeMs": 284,
"status": "ok",
"charged": true,
"chargedEvent": "url-metadata",
"source": "selfhosted",
"fetchedAt": "2026-11-12T09:41:07.000Z"
}| Charged event | Count | Price | Total |
|---|---|---|---|
URL metadata recordurl-metadata | 4 | $0.001 | $0.004 |
| This run | $0.004 |
Fields
| Output field | Used for |
|---|---|
ogTitle title | Card headline: the Open Graph title when the page has one, otherwise the HTML title. |
ogDescription description | Card text, with the same fallback. |
ogSiteName favicon | Site line of the card and the small icon next to it; the host name stands in when no site name is set. |
ogImage twitterCard | Large card with the cover image when present, compact card when ogImage is null. |
canonical finalUrl redirected | Cache and bookmark key: short links and tracking parameters collapse to one entry, and the card shows where a short link leads. |
ogType jsonLdTypes author publishedTime | Type label in the bookmark list (article, product, event) and the byline for articles. |
status statusCode error | A not_found link gets a hint instead of a card and is not saved as a bookmark. |
All output fields are listed on the API page.
Build
The job that runs after a message is saved: fetch metadata for the URLs that are not cached yet and store one preview per URL.
const res = await fetch('https://api.apify.com/v2/actors/sfoln~url-metadata/run-sync-get-dataset-items', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.APIFY_TOKEN}`, 'Content-Type': 'application/json' },
body: JSON.stringify({ urls: newUrls, timeoutSecs: 10 }),
});
for (const page of await res.json()) {
if (page.status !== 'ok') { await previews.markUnavailable(page.input, page.status); continue; }
await previews.save(page.input, {
key: page.canonical ?? page.finalUrl,
title: page.ogTitle ?? page.title,
text: page.ogDescription ?? page.description,
site: page.ogSiteName ?? new URL(page.finalUrl).hostname,
icon: page.favicon,
image: page.ogImage, // proxy and resize it yourself before showing it to users
});
}Authentication, the MCP endpoint and the asynchronous variant are on the API page.
More
All demos · URL Metadata & Open Graph Extractor: prices, input and output · /actors/url-metadata.json carries this demo as demo