Web Resurrect
v1.4.0Resurrect expired domains: scrape Wayback, AI-rewrite, generate images, publish to WordPress.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_credits
Return the current credit balance, account email, and member-since date.
create_project
Create a project for an expired domain. Starts an async URL-fetch job from the Wayback Machine and returns a job_id.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Expired domain to analyze (e.g. example.fr) |
name | string | Project name (defaults to domain) |
list_projects
List projects with their page counts and pagination.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page (default 20, max 100) |
page | integer | Page number (default 1) |
get_project
Get project details including page-count stats and scrape/rewrite/publish progress.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project UUID |
delete_project
Delete a project and cascade-delete all its pages. Irreversible.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project UUID |
list_pages
List pages of a project with filters, search, sort, and pagination. Each page carries a `source` field: 'wayback' (scrapeable from the archive) or 'haloscan' (no Wayback snapshot, Wisewand-rewrite only). Does not include the rewritten body — use get_page_content for that.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project UUID |
exclude_system | boolean | Exclude legal/info pages (contact, mentions-legales, CGV, CGU, privacy, a-propos, about, sitemap). These are kept in the DB with excluded_from_redirects=true so they remain reachable on the target sit… |
has_data | string | Keep only pages with SEO data: haloscan (traffic>0 OR keywords), majestic (backlinks>0), any (either). |
limit | integer | Items per page (default 50, max 100) |
order | string | Sort order (default desc) |
page | integer | Page number (default 1) |
search | string | Search by URL or title |
sort | string | Sort field |
source | string | Filter by page origin. 'wayback' = discovered via the Wayback Machine CDX API. 'haloscan' = discovered via Haloscan with no Wayback snapshot. |
status | string | Filter by page status. 'empty' = scraped but no content on Wayback. 'failed' = scrape error. 'haloscan' = Haloscan-origin pages with no Wayback snapshot. 'rewritable_wisewand' = every page eligible fo… |
get_page
Get full page details: scrape status, rewrite status, SEO data (traffic, keywords, backlinks), WordPress publish status, and featured image URL.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | Page UUID |
update_page
Update a page's WordPress category, author, or post link. Use to (a) override the auto-assigned category/author or (b) attach a manually-created WordPress post via wordpress_post_id so redirect export can map it. Set any field to null to clear.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | Page UUID |
author_id | WordPress author ID to assign (null to clear) | |
category_id | WordPress category ID to assign (null to clear) | |
category_name | string | null | WordPress category name (set alongside category_id) |
wordpress_post_id | Manually link this page to an existing WordPress post ID. Sets posted_to_wordpress=true. Null to clear. | |
wordpress_post_url | string | null | WordPress post URL (paired with wordpress_post_id). Null to clear. |
get_page_content
Fetch the rewritten content (title + HTML + meta) for a page. Returns source='wisewand' or 'openai'. Page must be in status='rewritten'.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | Page UUID (must be rewritten) |
scrape_page
Scrape a single page from the Wayback Machine archive. Costs 1 credit. Async — returns a job_id. Pages with status='haloscan' have no Wayback snapshot and cannot be scraped (use rewrite_page with wisewand=true instead).
| Parameter | Type | Description |
|---|---|---|
page_id * | string | Page UUID to scrape |
content_type | string | Content extraction type (default: article) |
scrape_bulk
Scrape multiple pages in one async job. Costs 1 credit per page. Max 100 pages. Returns a job_id. Pass either page_ids directly, or pass project_id to auto-select pending pages (filtered by has_data and excluding system pages by default). Haloscan-origin pages are skipped automatically (no Wayback snapshot).
| Parameter | Type | Description |
|---|---|---|
content_type | string | Content extraction type (default: article) |
exclude_system | boolean | Skip legal/info pages (contact, mentions-legales, CGV, privacy, a-propos, ...) when auto-selecting via project_id. Default true. |
has_data | string | Filter auto-selected pages by SEO data. Requires project_id. haloscan=traffic>0 OR keywords, majestic=backlinks>0, any=either. Pages with zero SEO data will not rank again — filtering avoids wasting… |
limit | integer | Max pages to scrape when using project_id (default 50) |
page_ids | array | Array of page UUIDs to scrape |
project_id | string | Project UUID — auto-selects pending pages (use instead of page_ids) |
enrich_project
Enrich a project with SEO data from Haloscan (free; traffic + keyword rankings) and/or Majestic (10 credits flat; backlinks). Async — returns a job_id. Sources can be combined to get both datasets in a single job.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project UUID |
sources | array | Data sources. Defaults to ["haloscan"]. ["haloscan","majestic"] gives the full SEO picture (traffic + keywords + backlinks). |
rewrite_page
Rewrite a single page. Basic mode (default, 1 credit) requires a scraped page. Wisewand mode (wisewand=true, 5 credits or 1 with own key, 2-4 hours) handles scraped pages AND auto-falls-back to synthetic content (slug + ranked keywords) when the page has no scraped content — covers Haloscan-origin and scrape-failed pages. Async — returns a job_id.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | Page UUID. Must be scraped for basic mode. Wisewand mode also accepts Haloscan-origin pages. |
article_params | object | Additional Wisewand parameters (type, lang, country, target_keyword, keywords_secondary, additional_information, etc.). For Haloscan pages these fill in after the AI prep. |
instructions | string | Custom rewrite instructions (basic mode only) |
subject | string | Custom subject / main keyword (Wisewand mode). Overrides AI extraction. For Haloscan-origin pages, skips the AI prep call. |
wisewand | boolean | Use Wisewand for premium SEO-optimized rewrite (5 credits, 1 with own key). Required for Haloscan-origin pages. |
wisewand_api_key | string | Caller's own Wisewand API key (implies wisewand=true, reduces cost to 1 credit) |
rewrite_bulk
Rewrite multiple pages in one async job. Basic mode (1 credit/page) covers SCRAPED pages only. Wisewand mode (wisewand=true, 5 credits/page or 1 with own key, 2-4 hours) covers scraped pages plus Haloscan-origin and scrape-failed/empty pages via synthetic-content fallback (slug + keywords). Max 50 pages per batch. Returns a job_id and a breakdown {wayback_count, haloscan_count, scrape_failed_count}.
| Parameter | Type | Description |
|---|---|---|
page_ids * | array | Array of page UUIDs to rewrite. Basic mode requires scraped pages; Wisewand mode also accepts Haloscan-origin pages. |
article_params | object | Default Wisewand parameters applied to every page (type, lang, country, etc.). For Haloscan-origin pages, per-page AI prep fills in missing fields. |
wisewand | boolean | Use Wisewand for premium SEO-optimized rewrite (5 credits/page, 1 with own key). Required to include Haloscan-origin pages. |
wisewand_api_key | string | Caller's own Wisewand API key (implies wisewand=true, reduces cost to 1 credit/page) |
generate_image
Generate an AI featured image for a page. Costs 1 credit. The page must be rewritten first. Async — returns a job_id.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | Page UUID (must be rewritten first) |
generate_image_bulk
Generate AI featured images for multiple pages in one async job. 1 credit per page. Max 50 pages. Pages must be rewritten. Returns a job_id.
| Parameter | Type | Description |
|---|---|---|
page_ids * | array | Array of page UUIDs (must be rewritten first) |
categorize_pages
AI-suggest a WordPress category for 1-50 pages based on content. Free. Saves the assigned category on each page. Requires a category-author mapping (wordpress_set_mapping) to exist for the domain.
| Parameter | Type | Description |
|---|---|---|
page_ids * | array | Page UUIDs (1 to 50) |
wordpress_domain * | string | WordPress domain (e.g. example.com) |
wordpress_plugin_check
Check whether the Web Resurrect Connector plugin is installed and active on a WordPress site. Returns categories and authors when connected.
| Parameter | Type | Description |
|---|---|---|
domain * | string | WordPress domain to check (e.g. example.com) |
wordpress_configure
Configure a WordPress connection. Two modes: plugin mode (mode='plugin') uses the Web Resurrect Connector plugin; Basic Auth mode requires username + app_password.
| Parameter | Type | Description |
|---|---|---|
site_url * | string | WordPress site URL (e.g. https://example.com) |
app_password | string | WordPress application password (Basic Auth only) |
mode | string | Set to 'plugin' for plugin mode. Omit for Basic Auth. |
post_as_draft | boolean | Publish as draft by default (default: true) |
username | string | WordPress username (Basic Auth only) |
wordpress_validate
Validate an existing WordPress connection: tests the credentials and confirms the site is reachable.
| Parameter | Type | Description |
|---|---|---|
domain * | string | WordPress domain to validate (e.g. example.com) |
wordpress_get_mapping
Get the current category-to-author mapping for a WordPress domain. The mapping determines which author is assigned when publishing a page in a given category.
| Parameter | Type | Description |
|---|---|---|
domain * | string | WordPress domain (e.g. example.com) |
wordpress_set_mapping
Set the category-to-author mapping for a WordPress domain. Replaces any existing mapping. The mapping is consumed by categorize_pages and the publish tools to auto-resolve the author for each post.
| Parameter | Type | Description |
|---|---|---|
domain * | string | WordPress domain (e.g. example.com) |
mappings * | array | Array of category-to-author mappings |
default_author_id | integer | Default author ID when no mapping matches |
default_category_id | integer | Default category ID when a page has no category assigned |
wordpress_categories
List WordPress categories for a configured domain.
| Parameter | Type | Description |
|---|---|---|
domain * | string | WordPress domain (e.g. example.com) |
wordpress_authors
List WordPress authors for a configured domain.
| Parameter | Type | Description |
|---|---|---|
domain * | string | WordPress domain (e.g. example.com) |
wordpress_publish
Publish a page to WordPress. Async — returns a job_id. Free (no credit cost). In plugin mode the original URL is preserved (no redirect) and the URL mapping is pushed automatically.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | Page UUID to publish |
wordpress_domain * | string | Target WordPress domain |
author_id | integer | WordPress author ID (overrides mapping) |
category_id | integer | WordPress category ID (overrides mapping) |
post_type | string | WordPress post type (default: post) |
remove_links | boolean | Remove links from content (default: false) |
status | string | Publish status (default: draft) |
use_rewritten_content | boolean | Use rewritten content if available (default: true) |
wordpress_publish_bulk
Publish multiple pages to WordPress in one async job. Free. Supports plugin mode and Basic Auth mode. Plugin mode preserves original URLs and pushes URL mappings automatically. Returns a job_id.
| Parameter | Type | Description |
|---|---|---|
page_ids * | array | Array of page UUIDs to publish |
wordpress_domain * | string | Target WordPress domain |
author_id | integer | WordPress author ID (overrides mapping) |
category_id | integer | WordPress category ID (overrides mapping) |
post_type | string | WordPress post type (default: post) |
remove_links | boolean | Remove links from content (default: false) |
status | string | Publish status (default: draft) |
use_rewritten_content | boolean | Use rewritten content if available (default: true) |
export_redirects
Export URL mappings (old URL → new WordPress URL) for all published pages. Two formats: 'redirection' (John Godley plugin JSON) or 'rankmath' (Rank Math import). In plugin mode this is unnecessary because URL mappings are pushed automatically during publish.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project UUID |
format | string | Export format: 'redirection' (default) or 'rankmath'. |
push_redirects
Push URL redirects to the Web Resurrect Connector plugin. Two modes: (a) without `urls`: replaces ALL existing redirects — published pages serve at their original URLs, non-published ones 301 to homepage (or `redirect_to`); (b) with `urls`: redirects only the specified paths and does NOT replace existing redirects.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project UUID |
wordpress_domain * | string | Target WordPress domain |
redirect_to | string | Custom redirect target URL (default: homepage). Example: "https://example.com/new-landing/" |
urls | array | Specific URLs or paths to redirect (e.g. ["/old-page.html", "/category/sub/"]). Omit to redirect all non-published project pages. |
get_job
Get the status, progress, result, and credit usage of an async job.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job UUID |
list_jobs
List recent jobs with optional status and type filters.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page (default 20) |
page | integer | Page number (default 1) |
status | string | Filter by job status |
type | string | Filter by job type (scrape, rewrite, publish, enrich, etc.) |
cancel_job
Cancel a pending or processing job. Reserved-but-unused credits are refunded.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job UUID to cancel |
wait_for_job
Block until an async job reaches a terminal state (completed / failed / cancelled), polling server-side. Useful after any tool that returns a job_id, in lieu of manually looping get_job. If the job is still running after timeout_seconds, returns the current progress with timed_out=true. Typical durations: - URL fetching (create_project): 10-60s - Haloscan/Majestic enrichment: 30-180s - Scrape single page: 10-30s - Scrape bulk (50 pages): 2-5 min - Basic rewrite: 10-30s - Wisewand rewrite: 2-4 hours (use a long timeout or poll get_job periodically) - Image generation: 20-60s - WordPress publis…
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job UUID to wait for |
poll_interval_seconds | integer | Poll interval (default 5). Larger values reduce API load on long jobs. |
timeout_seconds | integer | Max time to wait before returning current progress (default 300 = 5 min, max 3600 = 1 hour). |
get_project_overview
Single-call pipeline status for a project: counts for pending / scraped / scrape_failed / scrape_empty / rewritten / wisewand_pending / wisewand_completed / wisewand_failed / published pages, plus SEO totals (traffic, keywords, backlinks) and scrape/rewrite/publish progress percentages.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project UUID |