shotkiln-com PDF API
The Pdf API from shotkiln-com — 1 operation(s) for pdf.
The Pdf API from shotkiln-com — 1 operation(s) for pdf.
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/shotkiln-com:shotkiln-com-pdf-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. 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: Shotkiln PDF API
version: 0.1.0
description: 'Screenshots, PDFs and OG images from any public URL or HTML. Plans: Free 100/mo, Starter 2000/mo, Pro 10000/mo, Scale 50000/mo.'
contact:
name: Shotkiln support
email: support@shotkiln.com
servers:
- url: https://shotkiln.com
security:
- ApiKeyHeader: []
- Bearer: []
- {}
tags:
- name: PDF
paths:
/v1/pdf:
get:
operationId: pdfGet
summary: Render a URL or HTML to PDF (query parameters; embeddable in with api_key)
parameters:
- name: url
in: query
required: false
schema:
type: string
format: uri
- name: html
in: query
required: false
schema:
type: string
maxLength: 1000000
description: Raw HTML; use instead of url
- name: format
in: query
required: false
schema:
type: string
enum:
- A3
- A4
- A5
- Letter
- Legal
- Tabloid
default: A4
- name: landscape
in: query
required: false
schema:
type: boolean
default: false
- name: print_background
in: query
required: false
schema:
type: boolean
default: true
- name: margin
in: query
required: false
schema:
type: string
default: 10mm
description: All sides; or margin_top/right/bottom/left
- name: margin_top
in: query
required: false
schema:
type: string
- name: margin_right
in: query
required: false
schema:
type: string
- name: margin_bottom
in: query
required: false
schema:
type: string
- name: margin_left
in: query
required: false
schema:
type: string
- name: delay
in: query
required: false
schema:
type: integer
minimum: 0
maximum: 10000
default: 0
- name: cache_ttl
in: query
required: false
schema:
type: integer
minimum: 0
maximum: 2592000
default: 3600
responses:
'200':
description: Rendered file
content:
application/pdf: {}
headers:
X-Cache:
schema:
type: string
enum:
- HIT
- MISS
- BYPASS
X-Quota-Remaining:
schema:
type: integer
X-RateLimit-Remaining:
schema:
type: integer
'400':
description: 'Invalid parameter or blocked URL (code: invalid_parameter, invalid_url, url_blocked, blocked_url)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Invalid or revoked API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'413':
description: Target page too large
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit, daily limit or monthly quota exceeded (see Retry-After)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'502':
description: Target page failed to load
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Browser capacity temporarily unavailable (see Retry-After)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'504':
description: Render timed out
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- PDF
post:
operationId: pdf
summary: Render a URL or HTML to PDF
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
url:
type: string
format: uri
html:
type: string
maxLength: 1000000
description: Raw HTML; use instead of url
format:
type: string
enum:
- A3
- A4
- A5
- Letter
- Legal
- Tabloid
default: A4
landscape:
type: boolean
default: false
print_background:
type: boolean
default: true
margin:
type: string
default: 10mm
description: All sides; or margin_top/right/bottom/left
margin_top:
type: string
margin_right:
type: string
margin_bottom:
type: string
margin_left:
type: string
delay:
type: integer
minimum: 0
maximum: 10000
default: 0
cache_ttl:
type: integer
minimum: 0
maximum: 2592000
default: 3600
required: []
responses:
'200':
description: Rendered file
content:
application/pdf: {}
headers:
X-Cache:
schema:
type: string
enum:
- HIT
- MISS
- BYPASS
X-Quota-Remaining:
schema:
type: integer
X-RateLimit-Remaining:
schema:
type: integer
'400':
description: 'Invalid parameter or blocked URL (code: invalid_parameter, invalid_url, url_blocked, blocked_url)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Invalid or revoked API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'413':
description: Target page too large
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit, daily limit or monthly quota exceeded (see Retry-After)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'502':
description: Target page failed to load
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Browser capacity temporarily unavailable (see Retry-After)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'504':
description: Render timed out
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- PDF
components:
schemas:
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
required:
- code
- message
securitySchemes:
ApiKeyHeader:
type: apiKey
in: header
name: x-api-key
Bearer:
type: http
scheme: bearer