ToolForte Render API

Headless Chrome renders returning hosted files

GitHub OpenAPI

Operations 13

POST /api/v1/render/html-to-pdf HTML to PDF #
POST /api/v1/render/url-screenshot URL screenshot #
POST /api/v1/render/url-to-pdf URL to PDF #
POST /api/v1/render/pdf-merge PDF merge #
POST /api/v1/render/strip-metadata Remove file metadata #
POST /api/v1/render/pdf-to-docx PDF to Word #
POST /api/v1/render/docx-to-pdf Word to PDF #
POST /api/v1/render/pdf-split PDF split #
POST /api/v1/render/images-to-pdf Images to PDF #
POST /api/v1/render/image-resize Image resize #
POST /api/v1/render/image-convert Image convert #
POST /api/v1/render/image-compress Image compress #
POST /api/v1/render/read-page Read a JavaScript-rendered page #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/toolforte-com:toolforte-com-render-api"
All apis
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.

Get an API 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 Specification

toolforte-com-render-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ToolForte Render API
  version: 1.1.0
  description: 'Deterministic utility endpoints for developers and AI agents: IBAN validation, VAT calculation, Dutch holidays and working days, cron parsing, regex testing, JSON/CSV/Base64 transforms, diffs, UUIDs, and Dutch test data. All endpoints accept POST with a JSON body. Every tool, render, memory and workflow endpoint needs an API key; get one in one request with POST /api/v1/keys/bootstrap, or at https://toolforte.com/developers. A new key carries a free trial of 100 credits a month. An MCP server with these tools plus file render tools (PDF, screenshots, QR) is available at https://toolforte.com/mcp.'
  termsOfService: https://toolforte.com/terms
  contact:
    url: https://toolforte.com/contact
servers:
- url: https://toolforte.com
tags:
- name: render
  description: Headless Chrome renders returning hosted files
paths:
  /api/v1/render/html-to-pdf:
    post:
      operationId: render_html_to_pdf
      summary: HTML to PDF
      description: Render an HTML document to a real PDF with headless Chrome (full CSS support). Returns a hosted download URL valid for 24 hours. Needs an API key. A render costs 25 credits from the account's shared monthly balance, the same balance spent by REST calls (1 credit) and AI generations (10 credits).
      tags:
      - render
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - html
              properties:
                html:
                  type: string
                  description: Full HTML document to render (max 1MB)
                format:
                  type: string
                  enum:
                  - A4
                  - Letter
                landscape:
                  type: boolean
            example:
              html: '<html><body><h1>Invoice #42</h1></body></html>'
              format: A4
      responses:
        '200':
          description: Hosted PDF download URL
          content:
            application/json:
              example:
                ok: true
                data:
                  url: https://...signed-url.pdf
                  expiresAt: '2026-08-29T00:00:00.000Z'
                  bytes: 13870
                  contentType: application/pdf
                  metering:
                    source: allowance
                    remaining: 49
        '400':
          description: Missing or invalid html field
        '401':
          $ref: '#/components/responses/ApiKeyRequired'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '413':
          description: HTML larger than 1MB
        '429':
          description: Render limit reached (see error message)
        '502':
          description: Render failed
  /api/v1/render/url-screenshot:
    post:
      operationId: render_url_screenshot
      summary: URL screenshot
      description: 'Take a PNG screenshot of a public web page with headless Chrome. Returns a hosted download URL valid for 24 hours. Same metering as the other render endpoints: needs an API key, 25 credits per render from the shared monthly balance.'
      tags:
      - render
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              properties:
                url:
                  type: string
                  description: Public http(s) URL
                width:
                  type: integer
                  minimum: 320
                  maximum: 1920
                fullPage:
                  type: boolean
            example:
              url: https://example.com
              width: 1280
      responses:
        '200':
          description: Hosted PNG download URL
        '400':
          description: Invalid or private URL
        '401':
          $ref: '#/components/responses/ApiKeyRequired'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          description: Render limit reached
        '502':
          description: Render failed
  /api/v1/render/url-to-pdf:
    post:
      operationId: render_url_to_pdf
      summary: URL to PDF
      description: Render a public web page to PDF with headless Chrome. Returns a hosted download URL valid for 24 hours. Same metering as the other render endpoints.
      tags:
      - render
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              properties:
                url:
                  type: string
                  description: Public http(s) URL
                format:
                  type: string
                  enum:
                  - A4
                  - Letter
                landscape:
                  type: boolean
            example:
              url: https://example.com
              format: A4
      responses:
        '200':
          description: Hosted PDF download URL
        '400':
          description: Invalid or private URL
        '401':
          $ref: '#/components/responses/ApiKeyRequired'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          description: Render limit reached
        '502':
          description: Render failed
  /api/v1/render/pdf-merge:
    post:
      operationId: render_pdf_merge
      summary: PDF merge
      description: Merge 2-10 PDFs (public URLs, max 10MB each) into one PDF. Returns a hosted download URL valid for 24 hours. Same metering as the other render endpoints.
      tags:
      - render
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - urls
              properties:
                urls:
                  type: array
                  minItems: 2
                  maxItems: 10
                  items:
                    type: string
                  description: Public URLs of the PDFs, in merge order
            example:
              urls:
              - https://example.com/a.pdf
              - https://example.com/b.pdf
      responses:
        '200':
          description: Hosted merged PDF download URL
        '400':
          description: Invalid, private, or unreadable input
        '401':
          $ref: '#/components/responses/ApiKeyRequired'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          description: Render limit reached
        '502':
          description: Merge failed
  /api/v1/render/strip-metadata:
    post:
      operationId: render_strip_metadata
      summary: Remove file metadata
      description: 'Remove hidden metadata from a file behind a public URL (JPEG, PNG, WebP, PDF, DOCX, XLSX or PPTX, max 50MB): EXIF, XMP, IPTC and comments from images, the Info dictionary and XMP stream from PDF, author, company, editing time and other document properties from Office files. Content is untouched. Returns a hosted download URL valid for 24 hours plus the list of what was removed. Same metering as the other render endpoints.'
      tags:
      - render
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              properties:
                url:
                  type: string
                  description: Public URL of the file to clean
            example:
              url: https://example.com/photo.jpg
      responses:
        '200':
          description: Hosted cleaned file download URL, with kind, removed and bytesBefore
        '400':
          description: Invalid, private, unsupported or unreadable input
        '401':
          $ref: '#/components/responses/ApiKeyRequired'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          description: Render limit reached
        '502':
          description: Cleaning failed
  /api/v1/render/pdf-to-docx:
    post:
      operationId: render_pdf_to_docx
      summary: PDF to Word
      description: Rebuild the text layer of a PDF (public URL, max 10MB, up to 200 pages) into an editable .docx with paragraphs, headings and page breaks. Scanned PDFs without a text layer are refused (OCR runs in the browser tool only). Returns a hosted download URL valid for 24 hours plus pages, scannedPages and paragraphs. Same metering as the other render endpoints.
      tags:
      - render
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              properties:
                url:
                  type: string
                  description: Public URL of the source PDF
            example:
              url: https://example.com/report.pdf
      responses:
        '200':
          description: Hosted .docx download URL
        '400':
          description: Invalid, private, scanned or unreadable input
        '401':
          $ref: '#/components/responses/ApiKeyRequired'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          description: Render limit reached
        '502':
          description: Conversion failed
  /api/v1/render/docx-to-pdf:
    post:
      operationId: render_docx_to_pdf
      summary: Word to PDF
      description: Convert a Word .docx (public URL, max 20MB) to PDF. Headings, lists, tables and images are laid out on A4 by headless Chrome. Returns a hosted download URL valid for 24 hours. Same metering as the other render endpoints.
      tags:
      - render
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              properties:
                url:
                  type: string
                  description: Public URL of the source .docx
            example:
              url: https://example.com/offer.docx
      responses:
        '200':
          description: Hosted PDF download URL
        '400':
          description: Invalid, private or unreadable input
        '401':
          $ref: '#/components/responses/ApiKeyRequired'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          description: Render limit reached
        '502':
          description: Conversion failed
  /api/v1/render/pdf-split:
    post:
      operationId: render_pdf_split
      summary: PDF split
      description: Extract a 1-indexed, inclusive page range from a PDF (public URL, max 10MB) into a new PDF. 'to' defaults to the last page. Returns a hosted download URL valid for 24 hours. Same metering as the other render endpoints.
      tags:
      - render
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              - from
              properties:
                url:
                  type: string
                  description: Public URL of the source PDF
                from:
                  type: integer
                  minimum: 1
                  description: First page to keep (1-indexed)
                to:
                  type: integer
                  minimum: 1
                  description: Last page to keep (1-indexed, inclusive). Defaults to the last page.
            example:
              url: https://example.com/report.pdf
              from: 2
              to: 5
      responses:
        '200':
          description: Hosted split PDF download URL
        '400':
          description: Invalid, private, unreadable, or out-of-range input
        '401':
          $ref: '#/components/responses/ApiKeyRequired'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          description: Render limit reached
        '502':
          description: Split failed
  /api/v1/render/images-to-pdf:
    post:
      operationId: render_images_to_pdf
      summary: Images to PDF
      description: Combine 1-20 images (public JPEG or PNG URLs, max 15MB each) into one PDF, one image per page. Returns a hosted download URL valid for 24 hours. Same metering as the other render endpoints.
      tags:
      - render
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - urls
              properties:
                urls:
                  type: array
                  minItems: 1
                  maxItems: 20
                  items:
                    type: string
                  description: Public URLs of the JPEG or PNG images, in page order
            example:
              urls:
              - https://example.com/scan1.jpg
              - https://example.com/scan2.jpg
      responses:
        '200':
          description: Hosted PDF download URL
        '400':
          description: Invalid, private, or unreadable input
        '401':
          $ref: '#/components/responses/ApiKeyRequired'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          description: Render limit reached
        '502':
          description: Conversion failed
  /api/v1/render/image-resize:
    post:
      operationId: render_image_resize
      summary: Image resize
      description: Resize an image (public URL, max 15MB) and return a PNG. Give a width, a height, or both; one side keeps the aspect ratio. Returns a hosted download URL valid for 24 hours. Same metering as the other render endpoints.
      tags:
      - render
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              properties:
                url:
                  type: string
                  description: Public URL of the source image
                width:
                  type: integer
                  minimum: 1
                  maximum: 10000
                  description: Target width in pixels
                height:
                  type: integer
                  minimum: 1
                  maximum: 10000
                  description: Target height in pixels
            example:
              url: https://example.com/photo.jpg
              width: 800
      responses:
        '200':
          description: Hosted resized PNG download URL
        '400':
          description: Invalid, private, or unreadable input
        '401':
          $ref: '#/components/responses/ApiKeyRequired'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          description: Render limit reached
        '502':
          description: Resize failed
  /api/v1/render/image-convert:
    post:
      operationId: render_image_convert
      summary: Image convert
      description: Convert an image (public URL, max 15MB) to another format (png, jpeg, bmp, gif, tiff), pixels unchanged. Returns a hosted download URL valid for 24 hours. Same metering as the other render endpoints.
      tags:
      - render
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              - format
              properties:
                url:
                  type: string
                  description: Public URL of the source image
                format:
                  type: string
                  enum:
                  - png
                  - jpeg
                  - bmp
                  - gif
                  - tiff
                  description: Target image format
            example:
              url: https://example.com/photo.png
              format: jpeg
      responses:
        '200':
          description: Hosted converted image download URL
        '400':
          description: Invalid, private, or unreadable input
        '401':
          $ref: '#/components/responses/ApiKeyRequired'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          description: Render limit reached
        '502':
          description: Convert failed
  /api/v1/render/image-compress:
    post:
      operationId: render_image_compress
      summary: Image compress
      description: Re-encode an image (public URL, max 15MB) as JPEG at a chosen quality (1-100, default 70) to shrink it. Returns a hosted download URL valid for 24 hours. Same metering as the other render endpoints.
      tags:
      - render
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              properties:
                url:
                  type: string
                  description: Public URL of the source image
                quality:
                  type: integer
                  minimum: 1
                  maximum: 100
                  description: JPEG quality, 1 (smallest) to 100 (best). Default 70.
            example:
              url: https://example.com/photo.png
              quality: 60
      responses:
        '200':
          description: Hosted compressed JPEG download URL
        '400':
          description: Invalid, private, or unreadable input
        '401':
          $ref: '#/components/responses/ApiKeyRequired'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          description: Render limit reached
        '502':
          description: Compress failed
  /api/v1/render/read-page:
    post:
      operationId: render_read_page
      summary: Read a JavaScript-rendered page
      description: 'Load a page in headless Chrome and return its readable content as text or Markdown. Use when a plain fetch returns an empty shell: single page apps and client-side rendered sites only produce content after scripts run. Navigation, scripts and cookie banners are stripped. Same metering as the other render endpoints.'
      tags:
      - render
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              properties:
                url:
                  type: string
                  description: Public http(s) URL
                format:
                  type: string
                  enum:
                  - markdown
                  - text
                maxChars:
                  type: integer
                  minimum: 1000
                  maximum: 100000
            example:
              url: https://example.com
              format: markdown
      responses:
        '200':
          description: Extracted page content with title and links
        '400':
          description: Invalid or private URL
        '401':
          $ref: '#/components/responses/ApiKeyRequired'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          description: Render limit reached
        '502':
          description: Could not read the page
components:
  responses:
    PaymentRequired:
      description: The key's monthly credits and purchased credits are used up. The body carries the prices that refill the balance.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
              code:
                type: string
              tool:
                type: string
              plan:
                type: string
              message:
                type: string
              credits:
                type: object
                properties:
                  monthly_allowance:
                    type: integer
                  remaining_allowance:
                    type: integer
                  remaining_purchased:
                    type: integer
              price:
                type: object
                properties:
                  currency:
                    type: string
                  topup:
                    type: object
                    properties:
                      credits:
                        type: integer
                      amount:
                        type: integer
                  pro:
                    type: object
                    properties:
                      credits:
                        type: integer
                      amount:
                        type: integer
                      period:
                        type: string
              pay_url:
                type: string
              pro_url:
                type: string
              docs_url:
                type: string
              resets_at:
                type: string
          example:
            error: payment_required
            code: credits_exhausted
            tool: validate_iban
            plan: free
            message: This account has used its 100 monthly credits and has no purchased credits left. Buy credits at https://toolforte.com/account (100 for EUR 1), or upgrade to Pro at https://toolforte.com/pricing (7,500 credits for EUR 19 a month).
            credits:
              monthly_allowance: 100
              remaining_allowance: 0
              remaining_purchased: 0
            price:
              currency: EUR
              topup:
                credits: 100
                amount: 1
              pro:
                credits: 7500
                amount: 19
                period: month
            pay_url: https://toolforte.com/account
            pro_url: https://toolforte.com/pricing
            docs_url: https://toolforte.com/developers
            resets_at: '2026-12-01T00:00:00.000Z'
    ApiKeyRequired:
      description: The call came without an API key. The body carries the one request that creates a key.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
              code:
                type: string
              tool:
                type: string
              message:
                type: string
              bootstrap:
                type: object
                properties:
                  method:
                    type: string
                  url:
                    type: string
                  body:
                    type: object
                    properties:
                      email:
                        type: string
              signup_url:
                type: string
              docs_url:
                type: string
          example:
            error: api_key_required
            code: api_key_required
            tool: validate_iban
            message: 'This call needs a ToolForte API key. Get one in one request: POST https://toolforte.com/api/v1/keys/bootstrap with {"email":"you@example.com"}. The key is emailed to that address, never returned in the response; read the email, then send the key as Authorization: Bearer tf_... A new key carries a free trial of 100 credits a month.'
            bootstrap:
              method: POST
              url: https://toolforte.com/api/v1/keys/bootstrap
              body:
                email: you@example.com
            signup_url: https://toolforte.com/developers
            docs_url: https://toolforte.com/developers
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key (tf_...). Create one with POST /api/v1/keys/bootstrap or at https://toolforte.com/developers. It carries a monthly balance of credits shared by the REST API, the MCP server and the AI tools: 1 credit per call, 10 per AI generation, 25 per render. ToolForte Pro raises the monthly balance, and extra credits can be bought at any time without a subscription.'
externalDocs:
  description: API documentation and API keys
  url: https://toolforte.com/developers