PDFConversionAPI Stored files API
Results kept with `StoreFile=true`: download them, or delete them before their link expires.
Results kept with `StoreFile=true`: download them, or delete them before their link expires.
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/pdfconversionapi-com:pdfconversionapi-com-stored-files-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: PDFConversion Stored files API
version: '2'
summary: 'File conversion REST API: post a file as a multipart form, get the converted files back as JSON.'
description: 'REST API for 556 file conversions: documents, spreadsheets, presentations, images, CAD drawings, e-mail, e-books and PDF tools.
Send a file to `POST /v2/convert/{from}/to/{to}` as `multipart/form-data` with `Authorization: Bearer `. A successful conversion returns HTTP 200 and JSON with each output file base64-encoded in `Files[].FileData`, or a download link that works for 3 hours with `StoreFile=true`. Every request is synchronous; there are no background jobs or webhooks.
Free plan: 250 conversions every month, no card, with files up to 10 MB and 1 conversion at a time. Get a free key by signing in with Google or GitHub at https://app.pdfconversionapi.com. Paid plans from $19 a month raise those limits, and every plan stops at its monthly limit, with no overage bills. Pricing
Errors are JSON with the status in `Code` and the reason in `Message`. Retry 429 and 503 after the `Retry-After` seconds. Every response from the API carries an `x-request-id` header.
Docs: Quickstart · Authentication · Requests · Responses · Errors · Limits · Stored files · Conversions'
termsOfService: https://pdfconversionapi.com/legal/terms
contact:
name: PDFConversionAPI support
url: https://pdfconversionapi.com/contact
email: support@pdfconversionapi.com
servers:
- url: https://api.pdfconversionapi.com
security:
- bearerAuth: []
tags:
- name: Stored files
description: 'Results kept with `StoreFile=true`: download them, or delete them before their link expires.'
paths:
/v2/d/{id}/{name}:
get:
operationId: downloadStoredFile
tags:
- Stored files
summary: Download a stored file
description: 'The file behind a `Url` from a `StoreFile=true` conversion. No key needed: anyone with the link can download the file until it expires, 3 hours after it was stored, so treat it like a password. Downloads don''t use up the link and don''t count toward the rate limit. Range requests aren''t supported; every download is the whole file. Stored files'
security: []
parameters:
- name: id
in: path
required: true
description: The `FileId` from the conversion response.
schema:
type: string
pattern: ^[0-9a-f]{32}$
example: 32001ff088d5c35e10e4bc6f6ddf09a9
- name: name
in: path
required: true
description: The `FileName`, percent-encoded. Any other name gets a 404.
schema:
type: string
minLength: 1
maxLength: 255
example: season-guide-1.jpg
responses:
'200':
description: The file. `Content-Type` is set from the extension (for example `application/pdf`, `image/jpeg`); other types are sent as `application/octet-stream`.
headers:
x-request-id:
$ref: '#/components/headers/RequestId'
Content-Disposition:
description: '`attachment` with the file''s name, so a browser saves it.'
schema:
type: string
example: attachment; filename*=UTF-8''season-guide-1.jpg
Content-Length:
description: The size in bytes, the same as `FileSize`.
schema:
type: integer
Cache-Control:
schema:
type: string
const: private, no-store
Content-Security-Policy:
description: Scripts in an HTML or SVG result don't run if it is opened in a browser.
schema:
type: string
const: sandbox
content:
'*/*':
schema:
type: string
format: binary
contentMediaType: application/octet-stream
'404':
description: The link has expired, the file was deleted, or the id or name is wrong.
headers:
x-request-id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
Code: 404
Message: not found
'500':
$ref: '#/components/responses/InternalError'
/v2/d/{id}:
delete:
operationId: deleteStoredFile
tags:
- Stored files
summary: Delete a stored file early
description: Deletes one stored file at once; send one request per `FileId`. It needs a key of the account that created the file. Deletes don't count toward the rate limit. Delete a file early
parameters:
- name: id
in: path
required: true
description: The `FileId` from the conversion response.
schema:
type: string
pattern: ^[0-9a-f]{32}$
example: 32001ff088d5c35e10e4bc6f6ddf09a9
responses:
'204':
description: Deleted. No body; the link now answers 404.
headers:
x-request-id:
$ref: '#/components/headers/RequestId'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
description: 'Nothing to delete: the id is unknown, the file was already deleted or cleaned up, or it belongs to another account. The answer is the same in each case.'
headers:
x-request-id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
Code: 404
Message: not found
'500':
$ref: '#/components/responses/InternalError'
components:
responses:
Unauthorized:
description: The key is missing or unknown, or it was replaced or its account deleted.
headers:
x-request-id:
$ref: '#/components/headers/RequestId'
WWW-Authenticate:
description: Always `Bearer`.
schema:
type: string
const: Bearer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
Code: 401
Message: 'a valid API key is required (Authorization: Bearer <key>)'
InternalError:
description: A failure on our side. Retry once; if it fails again, write to support with the `x-request-id`.
headers:
x-request-id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
Code: 500
Message: internal error
headers:
RequestId:
description: A random id for this request, on every response from the API, errors and downloads included. Send it with any question about a request. A response without it came from the network in front of the API. [Errors](https://pdfconversionapi.com/docs/errors#the-request-id-x-request-id)
schema:
type: string
format: uuid
schemas:
Error:
type: object
description: 'Most errors have this JSON body. `Message` is written for a person and can change between releases: branch on the status code, and log the message.'
required:
- Code
- Message
properties:
Code:
type: integer
description: The HTTP status, repeated.
Message:
type: string
description: The reason, naming the parameter, the limit or the file at fault.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Your API key, in `Authorization: Bearer <key>`. Get a free key by signing in with Google or GitHub at https://app.pdfconversionapi.com. A key in the URL''s query string is not read. Keys are 16 to 256 characters. [Authentication](https://pdfconversionapi.com/docs/authentication)'
externalDocs:
description: Docs
url: https://pdfconversionapi.com/docs