PDF Extractor 2.0 avatar

PDF Extractor 2.0

Try for free

7 days trial then $30.00/month - No credit card required now

Go to Store
PDF Extractor 2.0

PDF Extractor 2.0

jupri/pdf-extractor-2-0
Try for free

7 days trial then $30.00/month - No credit card required now

💫 Extract PDF Document Contents including Metadata, Images, Pages, Tables, Attachments, etc.

You can access the PDF Extractor 2.0 programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.1",
5    "x-build-id": "XX3Tu2pgertfJmizs"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/jupri~pdf-extractor-2-0/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-jupri-pdf-extractor-2-0",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/jupri~pdf-extractor-2-0/runs": {
50      "post": {
51        "operationId": "runs-sync-jupri-pdf-extractor-2-0",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/jupri~pdf-extractor-2-0/run-sync": {
93      "post": {
94        "operationId": "run-sync-jupri-pdf-extractor-2-0",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "properties": {
134          "password": {
135            "title": "🔑 Password",
136            "type": "string",
137            "description": "💡 Document Password"
138          },
139          "url": {
140            "title": "🕮 URL",
141            "type": "array",
142            "description": "💡 Document URL Location",
143            "items": {
144              "type": "string"
145            }
146          },
147          "content": {
148            "title": "Content Format",
149            "enum": [
150              "text",
151              "svg",
152              "jpeg",
153              "png"
154            ],
155            "type": "string",
156            "description": "💡 Content Format"
157          },
158          "images": {
159            "title": "Extract Images",
160            "type": "boolean",
161            "description": "💡 Extract Embedded Images"
162          },
163          "attachments": {
164            "title": "Extract Attachments",
165            "type": "boolean",
166            "description": "💡 Extract Embedded Files"
167          },
168          "tables": {
169            "title": "Extract Tables",
170            "type": "boolean",
171            "description": "💡 Extract Tables"
172          },
173          "dev_proxy_config": {
174            "title": "🌐 PROXY NETWORKING",
175            "type": "object",
176            "description": "💡 <b>Supported protocol:</b><br><br><b>HTTP(S), SOCKS5</b><br><code>{http|socks5}://{user:pass}@{hostname|ip-address}:port</code><br><br><b>Example</b>: <code>socks5://example.com:9000</code>"
177          },
178          "dev_custom_headers": {
179            "title": "📜 HTTP HEADERS",
180            "type": "array",
181            "description": "💡 Additional HTTP Headers",
182            "items": {
183              "type": "object",
184              "required": [
185                "key",
186                "value"
187              ],
188              "properties": {
189                "key": {
190                  "type": "string",
191                  "title": "Key"
192                },
193                "value": {
194                  "type": "string",
195                  "title": "Value"
196                }
197              }
198            }
199          },
200          "dev_custom_cookies": {
201            "title": "🍰 HTTP COOKIES",
202            "type": "array",
203            "description": "💡 Additional HTTP Cookies",
204            "items": {
205              "type": "object",
206              "required": [
207                "key",
208                "value"
209              ],
210              "properties": {
211                "key": {
212                  "type": "string",
213                  "title": "Key"
214                },
215                "value": {
216                  "type": "string",
217                  "title": "Value"
218                }
219              }
220            }
221          },
222          "dev_transform_fields": {
223            "title": "♻️ CUSTOM FIELD",
224            "type": "array",
225            "description": "💡 <b>Transform the resulting output. Select only needed fields.</b><br><br>For nested object use <b>DOT</b>. For example: <pre>address.streetAddress</pre><br>For nested array use <b>NUMBER</b> <i>(index of array element starting from index=0)</i>. For example: <pre>images.0.url</pre>",
226            "items": {
227              "type": "object",
228              "required": [
229                "key",
230                "value"
231              ],
232              "properties": {
233                "key": {
234                  "type": "string",
235                  "title": "Key"
236                },
237                "value": {
238                  "type": "string",
239                  "title": "Value"
240                }
241              }
242            }
243          },
244          "dev_dataset_name": {
245            "title": "📁 CUSTOM STORAGE",
246            "type": "string",
247            "description": "💡 <b>Save results into custom named Dataset, use mask to customize dataset name</b><br><br><code>{ACTOR} = actor name<br>{DATE} = date (YYYYMMDD)<br>{TIME} = time (HHMMSS)</code><br><br>This masks can be used to autogenerate Dataset Name.<br><br>example: <i><code>data-{DATE}</code></i><br>Depending on today date the dataset name will be: <code>data-20230603</code><i><br><br>default: <code>data-{ACTOR}-{DATE}-{TIME}</code></i>"
248          },
249          "dev_dataset_clear": {
250            "title": "Clear Storage",
251            "type": "boolean",
252            "description": "Clear Dataset before insert/update."
253          },
254          "dev_no_strip": {
255            "title": "Disable data cleansing",
256            "type": "boolean",
257            "description": "💡 Keep/Save empty values <i><code>(NULL, FALSE, empty ARRAY, empty OBJECT, empty STRING)</code></i>"
258          }
259        }
260      },
261      "runsResponseSchema": {
262        "type": "object",
263        "properties": {
264          "data": {
265            "type": "object",
266            "properties": {
267              "id": {
268                "type": "string"
269              },
270              "actId": {
271                "type": "string"
272              },
273              "userId": {
274                "type": "string"
275              },
276              "startedAt": {
277                "type": "string",
278                "format": "date-time",
279                "example": "2025-01-08T00:00:00.000Z"
280              },
281              "finishedAt": {
282                "type": "string",
283                "format": "date-time",
284                "example": "2025-01-08T00:00:00.000Z"
285              },
286              "status": {
287                "type": "string",
288                "example": "READY"
289              },
290              "meta": {
291                "type": "object",
292                "properties": {
293                  "origin": {
294                    "type": "string",
295                    "example": "API"
296                  },
297                  "userAgent": {
298                    "type": "string"
299                  }
300                }
301              },
302              "stats": {
303                "type": "object",
304                "properties": {
305                  "inputBodyLen": {
306                    "type": "integer",
307                    "example": 2000
308                  },
309                  "rebootCount": {
310                    "type": "integer",
311                    "example": 0
312                  },
313                  "restartCount": {
314                    "type": "integer",
315                    "example": 0
316                  },
317                  "resurrectCount": {
318                    "type": "integer",
319                    "example": 0
320                  },
321                  "computeUnits": {
322                    "type": "integer",
323                    "example": 0
324                  }
325                }
326              },
327              "options": {
328                "type": "object",
329                "properties": {
330                  "build": {
331                    "type": "string",
332                    "example": "latest"
333                  },
334                  "timeoutSecs": {
335                    "type": "integer",
336                    "example": 300
337                  },
338                  "memoryMbytes": {
339                    "type": "integer",
340                    "example": 1024
341                  },
342                  "diskMbytes": {
343                    "type": "integer",
344                    "example": 2048
345                  }
346                }
347              },
348              "buildId": {
349                "type": "string"
350              },
351              "defaultKeyValueStoreId": {
352                "type": "string"
353              },
354              "defaultDatasetId": {
355                "type": "string"
356              },
357              "defaultRequestQueueId": {
358                "type": "string"
359              },
360              "buildNumber": {
361                "type": "string",
362                "example": "1.0.0"
363              },
364              "containerUrl": {
365                "type": "string"
366              },
367              "usage": {
368                "type": "object",
369                "properties": {
370                  "ACTOR_COMPUTE_UNITS": {
371                    "type": "integer",
372                    "example": 0
373                  },
374                  "DATASET_READS": {
375                    "type": "integer",
376                    "example": 0
377                  },
378                  "DATASET_WRITES": {
379                    "type": "integer",
380                    "example": 0
381                  },
382                  "KEY_VALUE_STORE_READS": {
383                    "type": "integer",
384                    "example": 0
385                  },
386                  "KEY_VALUE_STORE_WRITES": {
387                    "type": "integer",
388                    "example": 1
389                  },
390                  "KEY_VALUE_STORE_LISTS": {
391                    "type": "integer",
392                    "example": 0
393                  },
394                  "REQUEST_QUEUE_READS": {
395                    "type": "integer",
396                    "example": 0
397                  },
398                  "REQUEST_QUEUE_WRITES": {
399                    "type": "integer",
400                    "example": 0
401                  },
402                  "DATA_TRANSFER_INTERNAL_GBYTES": {
403                    "type": "integer",
404                    "example": 0
405                  },
406                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
407                    "type": "integer",
408                    "example": 0
409                  },
410                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
411                    "type": "integer",
412                    "example": 0
413                  },
414                  "PROXY_SERPS": {
415                    "type": "integer",
416                    "example": 0
417                  }
418                }
419              },
420              "usageTotalUsd": {
421                "type": "number",
422                "example": 0.00005
423              },
424              "usageUsd": {
425                "type": "object",
426                "properties": {
427                  "ACTOR_COMPUTE_UNITS": {
428                    "type": "integer",
429                    "example": 0
430                  },
431                  "DATASET_READS": {
432                    "type": "integer",
433                    "example": 0
434                  },
435                  "DATASET_WRITES": {
436                    "type": "integer",
437                    "example": 0
438                  },
439                  "KEY_VALUE_STORE_READS": {
440                    "type": "integer",
441                    "example": 0
442                  },
443                  "KEY_VALUE_STORE_WRITES": {
444                    "type": "number",
445                    "example": 0.00005
446                  },
447                  "KEY_VALUE_STORE_LISTS": {
448                    "type": "integer",
449                    "example": 0
450                  },
451                  "REQUEST_QUEUE_READS": {
452                    "type": "integer",
453                    "example": 0
454                  },
455                  "REQUEST_QUEUE_WRITES": {
456                    "type": "integer",
457                    "example": 0
458                  },
459                  "DATA_TRANSFER_INTERNAL_GBYTES": {
460                    "type": "integer",
461                    "example": 0
462                  },
463                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
464                    "type": "integer",
465                    "example": 0
466                  },
467                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
468                    "type": "integer",
469                    "example": 0
470                  },
471                  "PROXY_SERPS": {
472                    "type": "integer",
473                    "example": 0
474                  }
475                }
476              }
477            }
478          }
479        }
480      }
481    }
482  }
483}

PDF Extractor 2.0 OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for PDF Extractor 2.0 from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Developer
Maintained by Community

Actor Metrics

  • 8 monthly users

  • 2 stars

  • >99% runs succeeded

  • Created in Oct 2023

  • Modified 2 months ago