{ "openapi": "3.1.0", "info": { "title": "Eldwren API (Wayback Machine Scraper: Website History)", "version": "1.0.0", "summary": "💰 $0.80 per 1,000 snapshot rows, $3 per 1,000 site histories; never-archived URLs and archive errors free.", "description": "💰 $0.80 per 1,000 snapshot rows, $3 per 1,000 site histories; never-archived URLs and archive errors free. Wayback Machine scraper on the official Internet Archive CDX API: first and last capture, archive age, every snapshot or every archived URL of a domain. Monitor mode returns only new captures.\n\nRuns the Eldwren Actor (`cybermax/wayback-machine`) on Apify with the caller's own Apify API token and returns its dataset. Pricing (pay per event, billed by Apify):\n- Website history summarized: $0.003\n- Snapshot or archived URL listed: $0.0008\n\nPublisher: CyberMax. Catalog: https://cybermax-tools-cybermax.static.hf.space/market/catalog.json", "contact": { "name": "CyberMax", "url": "https://apify.com/cybermax/wayback-machine" }, "x-logo": { "url": "https://cybermax-tools-cybermax.static.hf.space/favicon.ico" } }, "x-cybermax-referral": { "program": "CyberMax affiliate and referral program", "status": "open", "ratePct": 30, "appliesTo": "Digital products sold through CyberMax's own Stripe checkout (store downloads, app Pro plans, API plans, bundles, data briefs).", "basis": "net amount CyberMax receives for the order (after payment fees, refunds and chargebacks)", "recurring": "the first 12 months of a subscription; one-time orders once", "attributionWindowDays": 60, "passRef": { "queryParam": "ref", "stripeParam": "client_reference_id", "stripeValue": "aff_", "example": "https://buy.stripe.com/?client_reference_id=aff_" }, "payouts": "Paid manually by CyberMax once a month for eligible sales whose 14-day refund window has closed (owner approval 10 Oct 2026).", "terms": "https://cybermaxtools.com/affiliates/", "details": "https://cybermaxtools.com/.well-known/referral.json", "note": "Runs of this tool are billed by Apify on Apify's checkout, so they are not covered by the CyberMax referral program; it covers CyberMax Stripe checkout sales (store, API plans, bundles)." }, "externalDocs": { "description": "Apify Store page", "url": "https://apify.com/cybermax/wayback-machine" }, "servers": [ { "url": "https://api.apify.com", "description": "Apify API" } ], "security": [ { "apifyToken": [] } ], "tags": [ { "name": "Eldwren", "description": "💰 $0.80 per 1,000 snapshot rows, $3 per 1,000 site histories; never-archived URLs and archive errors free." } ], "paths": { "/v2/acts/cybermax~wayback-machine/run-sync-get-dataset-items": { "post": { "operationId": "runEldwrenSync", "tags": [ "Eldwren" ], "summary": "Eldwren: run and return results", "description": "💰 $0.80 per 1,000 snapshot rows, $3 per 1,000 site histories; never-archived URLs and archive errors free. Waits for the run to finish (up to 300 s) and returns the output records.", "parameters": [ { "name": "timeout", "in": "query", "required": false, "description": "Run timeout in seconds (max 300 for synchronous runs).", "schema": { "type": "integer", "minimum": 1, "maximum": 300 } }, { "name": "clean", "in": "query", "required": false, "description": "Omit empty records and hidden fields.", "schema": { "type": "boolean", "default": true } } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Input" }, "example": { "urls": [ "apify.com" ], "maxResultsPerUrl": 20 } } } }, "responses": { "201": { "description": "Run finished; body is the list of output records.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/OutputRecord" } } } } }, "400": { "description": "Invalid input.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApifyError" } } } }, "401": { "description": "Missing or invalid Apify token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApifyError" } } } }, "402": { "description": "Apify account has no credit left for this run.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApifyError" } } } }, "408": { "description": "The run did not finish within the synchronous timeout; start it asynchronously instead.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApifyError" } } } }, "429": { "description": "Rate limited by Apify.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApifyError" } } } } } } }, "/v2/acts/cybermax~wayback-machine/runs": { "post": { "operationId": "startEldwrenRun", "tags": [ "Eldwren" ], "summary": "Eldwren: start an asynchronous run", "description": "Starts a run and returns immediately. Poll GET https://api.apify.com/v2/actor-runs/{runId} and read items from GET https://api.apify.com/v2/datasets/{defaultDatasetId}/items.", "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Input" } } } }, "responses": { "201": { "description": "Run started.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RunStarted" } } } }, "400": { "description": "Invalid input.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApifyError" } } } }, "401": { "description": "Missing or invalid Apify token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApifyError" } } } }, "402": { "description": "Apify account has no credit left for this run.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApifyError" } } } }, "429": { "description": "Rate limited by Apify.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ApifyError" } } } } } } } }, "components": { "securitySchemes": { "apifyToken": { "type": "http", "scheme": "bearer", "description": "Your Apify API token (https://console.apify.com/settings/integrations). Runs are billed to your Apify account." } }, "schemas": { "Input": { "type": "object", "properties": { "urls": { "type": "array", "title": "Domains or URLs", "description": "One per line: a domain (example.com) or a page (example.com/pricing). The scheme and www. are ignored, as in the Wayback Machine.", "examples": [ [ "apify.com" ] ], "items": { "type": "string" } }, "mode": { "type": "string", "title": "What to return", "description": "summary is charged per URL with captures ($0.003); snapshots and archived URLs are charged per row ($0.0008).", "default": "summary", "enum": [ "summary", "captures", "urls" ], "x-enumTitles": [ "History summary: one record per URL (first/last capture, archive age, years online)", "Snapshots: every capture of the URL (status, type, digest, archive link)", "Archived URLs: every URL of the domain the archive holds" ] }, "maxResultsPerUrl": { "type": "integer", "title": "Max rows per URL", "description": "For snapshots and archived URLs: stop after this many rows per input.", "default": 100, "minimum": 1, "maximum": 1000000 }, "collapse": { "type": "string", "title": "One snapshot per", "description": "Snapshots mode: thin out captures. 'Content change' returns a capture only when the page content changed.", "default": "day", "enum": [ "none", "hour", "day", "month", "year", "digest" ], "x-enumTitles": [ "Every capture", "Hour", "Day", "Month", "Year", "Content change (new digest)" ] }, "from": { "type": "string", "title": "From date", "description": "Optional, e.g. 2015 or 2020-06-01." }, "to": { "type": "string", "title": "To date", "description": "Optional, e.g. 2023-12-31." }, "statusFilter": { "type": "string", "title": "HTTP status filter", "description": "Optional: 200, 2xx, 3xx, !404 (comma-separated)." }, "mimeFilter": { "type": "string", "title": "MIME type filter", "description": "Optional, e.g. text/html or application/pdf (archived URLs mode: find every archived PDF of a domain)." }, "matchType": { "type": "string", "title": "URL match", "description": "Archived URLs mode defaults to domain.", "default": "exact", "enum": [ "exact", "prefix", "host", "domain" ], "x-enumTitles": [ "Exact URL", "Everything under this path (prefix)", "Whole host", "Host and all subdomains" ] }, "timeoutSecs": { "type": "integer", "title": "Timeout per archive request (s)", "description": "The archive is slow for very large domains; requests are retried with back-off.", "default": 90, "minimum": 20, "maximum": 300 }, "maxConcurrency": { "type": "integer", "title": "URLs in parallel", "description": "Kept low to stay within the archive's rate limits.", "default": 2, "minimum": 1, "maximum": 4 }, "monitor": { "type": "boolean", "title": "Monitor mode: new captures only", "description": "For scheduled runs. Summary mode returns a URL only when it has a capture newer than last time; snapshots and archived-URL modes return only rows newer than the last monitor run. Nothing new = nothing charged.", "default": false }, "monitorKey": { "type": [ "string", "null" ], "title": "Watchlist name", "description": "Optional name for this watchlist's saved state." } }, "title": "Eldwren input", "required": [ "urls" ], "additionalProperties": false }, "OutputRecord": { "type": "object", "properties": { "target": { "description": "URL" }, "archived": { "description": "Archived" }, "firstCapture": { "description": "First capture" }, "lastCapture": { "description": "Last capture" }, "archiveAgeYears": { "description": "Archive age (years)" }, "daysSinceLastCapture": { "description": "Days since last capture" }, "monthsWithCaptures": { "description": "Months archived" }, "yearsWithCaptures": { "description": "Years archived" }, "gapYears": { "description": "Gap years" }, "lastStatus": { "description": "Last status" }, "firstCaptureUrl": { "description": "First snapshot" }, "lastCaptureUrl": { "description": "Last snapshot" }, "change": { "description": "Change (monitor)" }, "error": { "description": "Error" }, "url": { "description": "URL" }, "capturedAt": { "description": "Captured" }, "statusCode": { "description": "Status" }, "mimeType": { "description": "MIME" }, "bytes": { "description": "Bytes" }, "digest": { "description": "Digest" }, "archiveUrl": { "description": "Snapshot" }, "rawArchiveUrl": { "description": "Raw file" } }, "x-inferredFrom": "the Actor dataset view field list (types not declared)" }, "RunStarted": { "type": "object", "properties": { "data": { "type": "object", "properties": { "id": { "type": "string" }, "status": { "type": "string" }, "defaultDatasetId": { "type": "string" } } } } }, "ApifyError": { "type": "object", "properties": { "error": { "type": "object", "properties": { "type": { "type": "string" }, "message": { "type": "string" } } } } } } } }