Straitstimes scraper
ExtractHub extractors are versioned web scrapers: each one is a saved scraper for one kind of page that returns structured JSON through an API. For Straitstimes (straitstimes.com) there are 3 public extractors: The Straits Times - article, The Straits Times - section page and The Straits Times - home page. Together they return fields such as url, headline, description, section, datePublished, dateModified, author, authorUrl and 9 more fields. Call one with your API key and a pinned extractor_id, from the REST API, the Batch API or an AI agent over MCP.
Straitstimes scrapers on ExtractHub
-
straitstimes.com · @extracthub1/straitstimes-article@1 (v1.0.0)
An article of The Straits Times (www.straitstimes.com/<section>/<slug>): headline, description, section, published and modified time, author, free / premium flag, lead image, paragraphs, the full text and the whole body as Markdown (ads and inline promos removed). Plain fetch through a Singapore proxy.
Fields:
The Straits Times - article scraper: fields, versions and examples →url,headline,description,section,datePublished,dateModified,author,authorUrl,isAccessibleForFree,imageand 4 more -
straitstimes.com · @extracthub1/straitstimes-section@1 (v1.0.0)
Stories of a section page of The Straits Times (www.straitstimes.com/singapore, /asia, /world, /business, ...): headline and link in page order, plus the page title and link and the sections of the menu. Plain fetch through a Singapore proxy. Pairs with @extracthub1/straitstimes-article.
Fields:
The Straits Times - section page scraper: fields, versions and examples →pageTitle,url,sections,stories -
straitstimes.com · @extracthub1/straitstimes-home@1 (v1.0.0)
Stories of The Straits Times home page (www.straitstimes.com): headline and link in page order, plus the page title and link and the sections of the menu (Singapore, Asia, World, Opinion, Life, Business, Sport). Plain fetch through a Singapore proxy. Pairs with @extracthub1/straitstimes-section and @extracthub1/straitstimes-article.
Fields:
The Straits Times - home page scraper: fields, versions and examples →pageTitle,url,sections,stories
How to call the Straitstimes scraper API
Every call needs your API key (X-API-Key) and a pinned extractor_id. This example uses
@extracthub1/straitstimes-article@1 (The Straits Times - article); open an extractor's page for its batch, Python and Node examples.
curl -X POST "https://api.extracthub.io/api/extractor/extract" \
-H "X-API-Key: $EXTRACTHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"extractor_id": "@extracthub1/straitstimes-article@1",
"target": { "url": "https://straitstimes.com/..." }
}' Use ExtractHub to extract https://straitstimes.com/... with @extracthub1/straitstimes-article@1 {
"tool": "extract",
"arguments": {
"extractor_id": "@extracthub1/straitstimes-article@1",
"url": "https://straitstimes.com/..."
}
} See the web scraping API reference and the web scraping MCP server setup.
Need another Straitstimes page type?
Build your own Straitstimes scraper with an AI agent and the extractor builder skill, or in ExtractHub Studio. It stays private until you release it.
Straitstimes scraper: frequently asked questions
Is there a ready-made Straitstimes scraper?
Yes. ExtractHub lists 3 public extractors for straitstimes.com. An extractor is a versioned web scraper for one kind of page: its owner released it as an immutable version with an output schema, and you call that version with your own API key.
What data can I scrape from Straitstimes?
The Straits Times - article returns url, headline, description, section, datePublished, dateModified and 8 more. The Straits Times - section page returns pageTitle, url, sections and stories. The Straits Times - home page returns pageTitle, url, sections and stories. Every field is listed on the extractor's page with a sample response.
How do I call the Straitstimes scraper API?
Send GET or POST https://api.extracthub.io/api/extractor/extract with your API key in the X-API-Key header, extractor_id=@extracthub1/straitstimes-article@1 and the URL of a straitstimes.com page as the target. For many URLs use POST https://api.extracthub.io/api/extractor/batch. AI agents call the same extractor through the extract tool of the ExtractHub MCP server at https://api.extracthub.io/mcp.
Can I build my own Straitstimes scraper?
Yes. Build an extractor for any Straitstimes page type in ExtractHub Studio, or let an AI agent such as Claude Code build, test and release it with the open-source extractor builder skill. New extractors are private until you release them.