| Format / Edge Case | How Scrape-Anything Handles It | Failure / Mismatch Outcome | Verified Rate |
|---|---|---|---|
| Multi-sheet binary `.xlsx` | Reads all sheets with exact sheet names & header rows | Malformed ZIP or corrupt XML -> `billed_micros = 0` | $0.020 (20,000 micros) |
| Sparse empty cells (`A2`, `D2`) | Maps Excel column letters to exact 0-based indices | Missing required cell fails JSON Schema -> `$0` | Zero column shift |
| Shared strings & inline strings | Resolves `t="s"` index lookup and `t="inlineStr"` text | UTF-8 safe across international SKUs | Included |
| CSV / TSV auto-delimiter | `csv.Sniffer` + fallback delimiter detector (`,`, `\t`, `;`) | Headerless/empty payload -> `billed_micros = 0` | $0.020 (20,000 micros) |
| Type coercion & bounds | Validates `minimum`, `maximum`, `enum`, `pattern`, `required` | Uncoercible string in numeric column -> `schema_valid: false`, `$0` | Strict contract gate |
{
"type": "object",
"required": [
"sheets"
],
"properties": {
"sheets": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"name",
"rows"
],
"properties": {
"name": {
"type": "string"
},
"rows": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"sku",
"unit_price"
],
"properties": {
"sku": {
"type": "string",
"minLength": 2
},
"unit_price": {
"type": "number",
"minimum": 0
}
}
}
}
}
}
}
}
}
curl -fsSL -X POST "https://scrape.fastmesh.dev/v1/extract" \
-H "Content-Type: application/json" \
-d '{
"content_text": "sku,unit_price,currency\nSCRAPE-15,15.00,USD\nSCRAPE-59,59.00,USD",
"content_type": "text/csv",
"format_hint": "spreadsheet"
}'
curl -fsSL -X POST "https://scrape.fastmesh.dev/mcp" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":6,"method":"tools/call","params":{"name":"scrape_spreadsheet","arguments":{"content_text":"sku,unit_price\nA-1,19.5","content_type":"text/csv"}}}'
Paste any public URL, HTML table, JSON-LD, CSV, or fake-200 shell at scrape.fastmesh.dev or top up once with never-expiring Creem prepaid credits ($15 Starter / $59 Growth / $199 Scale — $0/mo recurring).
Yes. Supply the public HTTPS URL to `/v1/extract` (or `scrape_spreadsheet` via `/mcp`), or pass `content_base64` with `content_type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"`.
Because Scrape-Anything validates against your `json_schema` before billing, schema drift returns `schema_valid: false`, detailed `validation_errors`, and `billed_micros: 0` instead of silently ingesting nulls.
No. Scrape-Anything uses pure Python 3 standard library `zipfile` and `xml.etree.ElementTree`, achieving millisecond cold start and deterministic parsing.