The Sydney Morning Herald scraper API: search results and articles as JSON
Send any The Sydney Morning Herald page URL with recipe=smh and get title, url, image and 2 more fields as JSON. No selectors to write, no proxies to pick.
- 2 page types
- 5 fields
- 5 credits a page · $0.50 per 1,000
- Working · 100% in 7 days
5,000 free credits for 7 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.smh.com.au/world' \
--data-urlencode 'recipe=smh/listing'
{
"result": {
"title": "‘It is ours’: The far-right Israeli settlers..."
},
"success": true
}
What you get from The Sydney Morning Herald
The fields of each page type and a real sample from our last validation, shortened.
Search and listing pages recipe=smh/listing 5 credits a page
| Field | Type | Example |
|---|---|---|
articles | list of 3+ items | |
articles[].url | URL | https://www.smh.com.au/world/north-america/mexican-men-sentenced-to... |
articles[].title | text | Mexican men sentenced to 158 years in prison for murdering Australi... |
articles[].image | URL | https://static.ffx.io/images/$zoom_0.661875%2C$multiply_0.5515%2C$r... |
Sample answer, validated 2026-11-02
{
"articles": [
{
"url": "https://www.smh.com.au/world/middle-east/it-is-ours-the-far-right-israeli-settlers-who-want-to-build-homes-in-gaza-20261026-p618bk.html",
"title": "‘It is ours’: The far-right Israeli settlers who want to build homes in Gaza",
"image": "https://static.ffx.io/images/$zoom_0.5515625%2C$multiply_0.5515%2C$ratio_1.776846%2C$width_1059%2C$x_0%2C$y_0/t_crop_custom/q_86%2Cf_auto/434736d922b00567282..."
},
{
"url": "https://www.smh.com.au/world/north-america/trump-s-election-rallies-are-getting-weirder-and-looser-and-more-racist-20261026-p618j3.html",
"title": "Trump’s election rallies are getting weirder and looser – and more racist",
"image": "https://static.ffx.io/images/$zoom_0.2522%2C$multiply_0.254%2C$ratio_1%2C$width_378%2C$x_21%2C$y_26/t_crop_custom/q_86%2Cf_auto/2c42df3d36adab777a7ff21381667..."
}
]
}
Articles recipe=smh/detail 5 credits a page
| Field | Type | Example |
|---|---|---|
title | text | Your guide to the AFL grand final |
description | text | From Wharfie Time to Country Roads, this is your one-stop shop for... |
image | URL | https://static.ffx.io/images/$zoom_0.3201%2C$multiply_0.7554%2C$rat... |
url | URL | https://www.theage.com.au/sport/afl/your-guide-to-the-afl-grand-fin... |
published | date | 2026-09-24T21:55:31+10:00 |
Sample answer, validated 2026-11-02
{
"title": "Your guide to the AFL grand final",
"description": "From Wharfie Time to Country Roads, this is your one-stop shop for all things Fremantle and Brisbane Lions in the lead-up to the grand final.",
"image": "https://static.ffx.io/images/$zoom_0.3201%2C$multiply_0.7554%2C$ratio_1.777778%2C$width_1059%2C$x_0%2C$y_17/t_crop_custom/q_86%2Cf_auto/9345f7b5b342397924bdc...",
"url": "https://www.theage.com.au/sport/afl/your-guide-to-the-afl-grand-final-20260924-p6107o.html",
"published": "2026-09-24T21:55:31+10:00"
}
One call
Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on The Sydney Morning Herald (JavaScript rendering).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.smh.com.au/world' \
--data-urlencode 'recipe=smh/listing'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://www.smh.com.au/world", "recipe": "smh/listing"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
print(r.json()["result"])
const params = new URLSearchParams({
url: "https://www.smh.com.au/world",
recipe: "smh/listing",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
console.log((await res.json()).result);
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Other page types: recipe=smh/detail, or recipe=smh and the API picks the page type from the URL. Your own parameters always win over the recipe.
What people build with The Sydney Morning Herald data
Media monitoring
Track the articles published on the topics and companies you follow.
Learn moreContent for AI and RAG
Collect headlines, dates and summaries as structured input for search and LLM pipelines.
Learn morePublishing timeline
Measure when and how often a site publishes, by section.
Price
Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
| Page type | Credits a page | Per 1,000, Starter | Per 1,000, Pro |
|---|---|---|---|
| Search results, Article | 5 | $0.82 | $0.50 |
FAQ
What does the The Sydney Morning Herald recipe return?
JSON with 5 fields from search results (recipe=smh/listing) and article (recipe=smh/detail), for example title, url, image. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape The Sydney Morning Herald?
5 credits a page ($0.50 per 1,000 on Pro, $0.82 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
Do I need proxies or a headless browser?
No. The recipe brings the settings that work on The Sydney Morning Herald: JavaScript rendering. Send only the URL and recipe=smh/listing.
What happens when The Sydney Morning Herald changes its pages?
We check The Sydney Morning Herald every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.
Can I change the fields?
Yes. Send your own extract_rules or any setting (js, proxy_type, wait_for) and it wins over the recipe. The developer guide shows the recipe rules to start from.
Related recipes
- SubstackArticle · 5 credits
Yahoo FinancePage · 5 credits
Yahoo NewsSearch results, Article · 5 credits
AFP Fact CheckArticle · 5 credits
Al JazeeraArticle · 5 credits
Ars TechnicaSearch results, Article · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with The Sydney Morning Herald.
Get The Sydney Morning Herald data as JSON today.
5,000 free credits for 7 days. No card.