HTML Table Data Scraper avatar

HTML Table Data Scraper

Pricing

$0.80 / 1,000 html table row saveds

Go to Apify Store
HTML Table Data Scraper

HTML Table Data Scraper

Extract public server-rendered HTML tables with merged cells and multi-row headers. Export normalized data to JSON and CSV.

Pricing

$0.80 / 1,000 html table row saveds

Rating

0.0

(0)

Developer

Min. H

Min. H

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

21 hours ago

Last modified

Categories

Features

Limited permissions

Share

Extract public server-rendered HTML tables with merged cells and multi-row headers. Export normalized data to JSON and CSV.

Try the offline example

The prefilled input uses a bundled synthetic example. It makes zero target network requests and zero billing events. examples/sample-input.json contains the exact fixture input. store/sample-output.json is the observed fixture output, labeled SYNTHETIC_FIXTURE.

Use permitted live targets

Provide up to 25 explicit HTTPS URLs you own or have permission to process. Hostnames are required. Remove credentials, query strings, explicit ports and fragments from user input. The per-target request and elapsed-time limits apply to DNS, robots, redirects and source reads. Redirects and source requests stay on the same HTTPS origin.

{
"mode": "live",
"urls": [
"https://www.w3.org/WAI/tutorials/tables/irregular/"
],
"maxUrls": 1,
"maxRows": 30,
"timeoutSecs": 15
}

Demo basis: W3C WAI publishes teaching examples under its permissive-use notice; the robots rules allow the tutorial path. Live verification uses this page once.

Expands colspan and rowspan within row groups, including rowspan=0. Uses thead or a leading header-only row; joins multi-level headings and suffixes duplicates. Nested tables are separate. The flat dataset contains valuesJson; wide table CSV files are also written for spreadsheet use. JavaScript-rendered tables are outside the scope.

Outputs

The Dataset, OUTPUT.json and OUTPUT.csv contain the same records. CSV protects spreadsheet formula-like strings with a leading apostrophe and uses empty cells for nulls. Read JSON for verbatim values. The grouped statuses are COMPLETE, PARTIAL, and UNKNOWN. SUMMARY reports coverage, duplicates, requests, response size and billing state. PPE-AUDIT contains only counts and safe response categories. Wide CSV files are stored as TABLE-1.csv, TABLE-2.csv, and so on in output order.

FieldMeaning
targetCanonical supplied HTTPS target without credentials or query.
sourceExecution source.
statusCoverage of the supplied target. Partial can contain valid rows.
errorCodeSafe failure code for an unreadable target.
pageUrlFinal same-origin page URL
tableNumberTable ordinal on the source page
rowNumberOne-based data row within a table
captionTable caption when present
valuesJsonJSON-serialized mapping of normalized headers to expanded cell values

Pay-per-event pricing

The rate is $0.0008 per saved table row using html-table-row-saved. A billable row is a usable, unique observation saved successfully across the result exports and Dataset. Synthetic, duplicate, failed and UNKNOWN rows are free. A PARTIAL target can include valid saved rows. Only those delivered unique observations count toward billing. UNKNOWN results and rows lost to failures are free. The run respects the lower of the platform and SDK caps. An indeterminate charge stops without resending the request. There are no automatic start or Dataset charges. Platform usage costs are included in the per-event price.

Access and limitations

The Actor uses read-only public HTTPS without credentials, proxy bypass, account access or session cookies. It honors robots rules, rejects private DNS results and cross-origin redirects, validates TLS and keeps cloud inputs and storage restricted. Full-site crawling, page rendering and access-control bypass are unavailable. Confirm source terms and redistribution rights for your use case. Treat extracted text as untrusted input in any downstream AI system.

Local development

Use Node.js 24. npm ci, npm test, and npm run scan -- examples/sample-input.json ./sample-results run locally. npm start supports the Apify SDK local INPUT.json storage convention. The local CLI does not charge PPE.