PDF Slim API

PDF Slim API as documented publicly: 5 operations. Contract generated from the documentation by API Evangelist (2026-11-20); not the provider's own document.

GitHub OpenAPI

Operations 5

POST /api/v1/compress POST /api/v1/compress #
GET /api/v1/health Health check #
POST /api/v1/inspect Page count / size / password check #
POST /api/v1/optimize Lossless optimization #
POST /mcp Model Context Protocol (JSON-RPC) #

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/pdfslim-app:pdfslim-app-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

pdfslim-app-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: PDF Slim API
  version: '2026-11-20'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-20: 5 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; PDF Slim has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 1
    documentation: 4
    pages-with-code: 1
    pages-read: 1
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-20'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://api.pdfslim.app
paths:
  /api/v1/compress:
    post:
      operationId: post_api_v1_compress
      tags:
      - Api
      summary: POST /api/v1/compress
      x-source: https://api.pdfslim.app
      parameters:
      - name: target
        in: query
        required: false
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST \"https://api.pdfslim.app/api/v1/compress?target=500000\"  -H \"Authorization: Bearer YOUR_KEY\"  --data-binary\
          \ @input.pdf  -o output.pdf \n AI usage \n Point your MCP client at https://api.pdfslim.app/mcp and call compress_pdf . \n Anonymous:\
          \ 20 PDFs/day per IP, max 10MB — free for AI agents to try. API keys (up to 100MB files, higher quotas) at Ko-fi . Full docs at pdfslim.app/api\
          \ ."
  /api/v1/health:
    get:
      operationId: get_api_v1_health
      tags:
      - Api
      summary: Health check
      x-source: https://api.pdfslim.app
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/inspect:
    post:
      operationId: post_api_v1_inspect
      tags:
      - Api
      summary: Page count / size / password check
      x-source: https://api.pdfslim.app
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/optimize:
    post:
      operationId: post_api_v1_optimize
      tags:
      - Api
      summary: Lossless optimization
      x-source: https://api.pdfslim.app
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /mcp:
    post:
      operationId: post_mcp
      tags:
      - Mcp
      summary: Model Context Protocol (JSON-RPC)
      x-source: https://api.pdfslim.app
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Mcp