snap-render-com Extract API
The Extract API from snap-render-com — 1 operation(s) for extract.
The Extract API from snap-render-com — 1 operation(s) for extract.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/snap-render-com:snap-render-com-extract-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: SnapRender Screenshot Extract API
description: 'Capture screenshots of any website as PNG, JPEG, WebP, or PDF. To take a screenshot, call GET /v1/screenshot with a url parameter and your API key in the X-API-Key header. Set response_type=json to receive a base64 data URI (recommended for AI agents). Features: device emulation, dark mode, ad blocking, and cookie banner removal. Free tier: 200 screenshots/month, no credit card required.'
version: 1.0.0
contact:
name: SnapRender Support
url: https://snap-render.com
email: support@snap-render.com
servers:
- url: https://app.snap-render.com
description: Production
tags:
- name: Extract
paths:
/v1/extract:
get:
operationId: extractContentGet
summary: Extract content from a web page (GET)
description: 'Extract structured content from any web page. Supports 6 extraction types: markdown (readable content via Readability), text (plain text), html (raw HTML), article (structured with title/author/excerpt), links (all page links), metadata (OG tags, title, description). Uses query parameters for GET requests.'
x-openai-isConsequential: false
parameters:
- name: url
in: query
required: true
schema:
type: string
description: URL to extract content from
- name: type
in: query
schema:
type: string
enum:
- markdown
- text
- html
- article
- links
- metadata
default: markdown
description: 'Extraction type (default: markdown)'
- name: selector
in: query
schema:
type: string
description: CSS selector to scope extraction
- name: block_ads
in: query
schema:
type: string
enum:
- 'true'
- 'false'
default: 'true'
description: 'Block ads (default: true)'
- name: block_cookie_banners
in: query
schema:
type: string
enum:
- 'true'
- 'false'
default: 'true'
description: 'Remove cookie banners (default: true)'
- name: delay
in: query
schema:
type: integer
minimum: 0
maximum: 10000
default: 0
description: Wait after load in ms
- name: max_length
in: query
schema:
type: integer
minimum: 1
maximum: 500000
default: 100000
description: Max content length in chars
- name: cache
in: query
schema:
type: string
enum:
- 'true'
- 'false'
default: 'false'
description: 'Use cached result (default: false)'
- name: cache_ttl
in: query
schema:
type: integer
minimum: 0
maximum: 2592000
default: 86400
description: Cache TTL in seconds
responses:
'200':
description: Content extracted
content:
application/json:
schema:
$ref: '#/components/schemas/ExtractResult'
example:
url: https://example.com
type: markdown
content: '# Example Domain
This domain is for use in documentation examples.'
wordCount: 10
processingTimeMs: 1200
'400':
description: Invalid parameters
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Invalid or missing API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit or quota exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
tags:
- Extract
post:
operationId: extractContentPost
summary: Extract content from a web page (POST)
description: Extract structured content from any web page using a JSON body. Supports the same 6 extraction types as GET. POST is recommended for programmatic use as it accepts native JSON types.
x-openai-isConsequential: false
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- url
properties:
url:
type: string
description: URL to extract content from
type:
type: string
enum:
- markdown
- text
- html
- article
- links
- metadata
default: markdown
description: Extraction type
selector:
type: string
description: CSS selector to scope extraction
block_ads:
type: boolean
default: true
description: Block ads
block_cookie_banners:
type: boolean
default: true
description: Remove cookie banners
delay:
type: integer
minimum: 0
maximum: 10000
default: 0
description: Wait after load in ms
max_length:
type: integer
minimum: 1
maximum: 500000
default: 100000
description: Max content length
cache:
type: boolean
default: false
description: 'Use cached result (default: false)'
cache_ttl:
type: integer
minimum: 0
maximum: 2592000
default: 86400
description: Cache TTL in seconds
examples:
markdown:
summary: Extract as Markdown
value:
url: https://example.com
type: markdown
article:
summary: Extract article structure
value:
url: https://example.com/blog/post
type: article
metadata:
summary: Extract OG metadata
value:
url: https://example.com
type: metadata
responses:
'200':
description: Content extracted
content:
application/json:
schema:
$ref: '#/components/schemas/ExtractResult'
'400':
description: Invalid parameters
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Invalid or missing API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit or quota exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
tags:
- Extract
components:
schemas:
ExtractResult:
type: object
properties:
url:
type: string
description: The URL that was extracted
type:
type: string
enum:
- markdown
- text
- html
- article
- links
- metadata
description: Extraction type used
content:
description: Extracted content. String for markdown/text/html, object for article/metadata, array for links.
wordCount:
type: integer
description: Word count (for text, markdown, article types)
processingTimeMs:
type: integer
description: Processing time in milliseconds
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Error code (e.g., INVALID_URL, RATE_LIMITED, QUOTA_EXCEEDED)
message:
type: string
description: Human-readable error description
status:
type: integer
description: HTTP status code
securitySchemes:
apiKey:
type: apiKey
in: header
name: X-API-Key
description: API key (starts with sk_live_). Get one free at https://app.snap-render.com/auth/signup