relyon PDF API

The Pdf API from relyon — 1 operation(s) for pdf.

Operations 1

POST /pdf/{pdfid} Count PDF pages #

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/0codekit:0codekit-pdf-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

0codekit-pdf-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: relyon PDF API
  version: '2026-10-15'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-15: 7 operation(s) read from 15 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; relyon has published no machine-readable contract that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 0
    documentation: 7
    pages-with-code: 0
    pages-read: 15
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-15'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.0codekit.com/api/mcp-get
  - https://docs.0codekit.com/api/docs-get
  - https://docs.0codekit.com/api/mcp-list-get
  - https://docs.0codekit.com/api/mcp-call-post
  - https://docs.0codekit.com/api/mcp-info-post
  - https://docs.0codekit.com/api/pdf-html-post
  - https://docs.0codekit.com/api/ai-pdfocr-post
  - https://docs.0codekit.com/api/pdf-count-post
  - https://docs.0codekit.com/api/pdf-merge-post
  - https://docs.0codekit.com/api/pdf-split-post
  - https://docs.0codekit.com/api/image-blur-post
  - https://docs.0codekit.com/api/image-crop-post
  - https://docs.0codekit.com/api/image-exif-post
  - https://docs.0codekit.com/api/image-flip-post
  - https://docs.0codekit.com/api/image-html-post
security:
- ipaas: []
tags:
- name: PDF
paths:
  /pdf/{pdfid}:
    post:
      operationId: post_pdf_pdfid
      tags:
      - PDF
      summary: Count PDF pages
      x-source: https://docs.0codekit.com/api/pdf-count-post
      parameters:
      - name: pdfid
        in: path
        required: true
        schema:
          type: string
      - name: ipaas
        in: header
        required: false
        schema:
          type: string
        description: ipaas
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostPdfPdfidRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostPdfPdfidResponse'
      x-evidence:
        kind: documentation
        collapsed_from: 4 example path(s) differing only at pdfId
components:
  schemas:
    PostPdfPdfidResponse:
      type: object
      properties:
        '200':
          type: string
          description: Success
        pageCount:
          type: number
          description: The number of pages in the PDF.
        '400':
          type: string
          description: Bad Request
        status:
          type: number
          description: status
        errorMessage:
          type: string
          description: errorMessage
    PostPdfPdfidRequest:
      type: object
      properties:
        url:
          type: string
          description: The PDF URL.
        buffer:
          type: string
          description: The PDF as a Base64-encoded buffer. Can be specified instead of url.
      required:
      - url
  securitySchemes:
    ipaas:
      type: apiKey
      in: header
      name: ipaas
      x-source: https://docs.0codekit.com/main/api-keys/