# Prerender

Prerender.io is a service that pre-renders JavaScript-heavy websites to improve SEO by serving static HTML versions to search engine crawlers.

- **Category:** developer tools
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 10
- **Triggers:** 0
- **Slug:** `PRERENDER`
- **Version:** 20260227_00

## Tools

### Change Recache Speed

**Slug:** `PRERENDER_CHANGE_RECACHE_SPEED`

Tool to adjust the rendering speed of Manual/API and Automatic rendering queues. Use when you need to control how fast Prerender processes URLs in the recache queue.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `urls_per_hour` | integer | Yes | Number of URLs to recache per hour. Use 0 for automatic delay, or a value between 3600 and 36000 (where 36000 is fastest). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Check Health

**Slug:** `PRERENDER_CHECK_HEALTH`

Tool to check the health status of the Prerender API service. Use when you need to verify service availability or monitor system health.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Clear Cache

**Slug:** `PRERENDER_CLEAR_CACHE`

Tool to clear Prerender cache using SQL-like wildcard patterns. Schedules a cache clear job. Only one cache clear job can be scheduled per user at a time. Use when you need to invalidate cached pages for a URL pattern.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | Yes | SQL-like pattern for URLs to clear from cache. Use '%' as wildcard. Example: 'https://example.com%' deletes all URLs starting with that prefix. Use 'https://example.com%' to clear all cached pages for a domain. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create SEO Audit Report

**Slug:** `PRERENDER_CREATE_SEO_AUDIT_REPORT`

Tool to generate SEO audit reports for a specific URL. Use when you need to analyze SEO performance metrics for a web page. The report will be sent to the provided email address.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | Full URL of the page to audit. Must include scheme (http/https). The audit will analyze SEO performance metrics for this page. |
| `email` | string | Yes | Email address where the SEO audit report will be sent. Must be a valid email format. |
| `lastName` | string | Yes | Last name of the person requesting the audit report. |
| `firstName` | string | Yes | First name of the person requesting the audit report. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Cache Clear Status

**Slug:** `PRERENDER_GET_CACHE_CLEAR_STATUS`

Tool to check the status of a cache clear job. Use when you need to verify if a cache clearing operation is still in progress or has completed.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `token` | string | Yes | Your Prerender API token. Used in the URL path to identify the cache clear job. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Prerendered Page

**Slug:** `PRERENDER_GET_PRERENDERED_PAGE`

Tool to fetch a prerendered HTML page. Use when you need a static snapshot of a page before dynamic rendering.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | Full URL of the page to prerender. Include scheme (http/https). URL will be percent-encoded as needed. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Healthz

**Slug:** `PRERENDER_LIST_HEALTHZ`

Tool to check Prerender API health and availability. Use when you need to verify the API is operational before making requests.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List V3

**Slug:** `PRERENDER_LIST_V3`

Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Recache URL

**Slug:** `PRERENDER_RECACHE_URL`

Tool to cache or recache URLs in Prerender. Use when you need to refresh cached pages or cache new URLs. Supports single URL or batch operations (up to 1000 URLs).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No | Single URL to cache or recache. Include scheme (http/https). Use this parameter for a single URL, or use 'urls' for multiple URLs. Either 'url' or 'urls' must be provided, but not both. |
| `urls` | array | No | Array of URLs to cache or recache. Maximum 1000 URLs per request. Include scheme (http/https) for each URL. Use this parameter for multiple URLs, or use 'url' for a single URL. Either 'url' or 'urls' must be provided, but not both. |
| `adaptive_type` | string ("desktop" | "mobile") | No | Rendering device type for caching. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Search Cached URLs

**Slug:** `PRERENDER_SEARCH_CACHED_URLS`

Tool to search for cached URLs in your Prerender account and view their cache status. Supports pagination (200 URLs per page) and filtering by desktop/mobile adaptive type. Use when you need to find specific cached pages or check cache status across your account.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | No | Performs a 'contains' query on URLs. Searches for URLs containing this string. If both query and exact_match are provided, only exact_match is used. |
| `start` | integer | No | Pagination offset. Search returns 200 URLs per page. Use 0 for first page, 200 for second page, 400 for third page, etc. |
| `exact_match` | string | No | Returns results where the URL is fully identical to this value. Takes precedence over query parameter if both are provided. |
| `adaptive_type` | string ("mobile" | "desktop") | No | Type of adaptive rendering for cached pages. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
