Image To Json Extractor avatar
Image To Json Extractor

Pricing

$5.00/month + usage

Go to Store
Image To Json Extractor

Image To Json Extractor

Developed by

Apitale

Maintained by Community

AI-Powered Image to JSON Data Extractor. Utilize cutting-edge AI to transform image content into structured JSON data effortlessly. Perfect for automating data extraction from visual content and streamlining workflows.

0.0 (0)

Pricing

$5.00/month + usage

4

Monthly users

1

Runs succeeded

>99%

Last modified

4 months ago

You can access the Image To Json Extractor programmatically from your own applications by using the Apify API. You can also 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.0",
5    "x-build-id": "KNrJal8ecEe9Gp9z6"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/apitale~image-to-json-extractor/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-apitale-image-to-json-extractor",
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/apitale~image-to-json-extractor/runs": {
50      "post": {
51        "operationId": "runs-sync-apitale-image-to-json-extractor",
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/apitale~image-to-json-extractor/run-sync": {
93      "post": {
94        "operationId": "run-sync-apitale-image-to-json-extractor",
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        "required": [
134          "SourceType",
135          "SourceLanguage",
136          "DataStructures",
137          "SourceFileUrl",
138          "OpenaiApiKey",
139          "VisionModel"
140        ],
141        "properties": {
142          "SourceType": {
143            "title": "Image Source Type",
144            "pattern": "[0-9A-Za-z .,?!;:'\"()-]+",
145            "minLength": 3,
146            "maxLength": 60,
147            "type": "string",
148            "description": "The type of source provided in the image (e.g., invoice, receipt, website screenshot). This helps tailor the extraction process to the content."
149          },
150          "SourceLanguage": {
151            "title": "Source Text Language",
152            "minLength": 3,
153            "maxLength": 3,
154            "type": "string",
155            "description": "The three-letter ISO 639-3 language code of the source (e.g., ENG for English). This ensures accurate text recognition and extraction.",
156            "default": "ENG"
157          },
158          "DataStructures": {
159            "title": "Extraction Data Schema",
160            "type": "array",
161            "description": "Defines the schema for data extraction. Include at least one data structure to specify the format of the extracted JSON. Use the provided web tool for schema creation: [Schema Generator](https://data-structures-json-generator.apitale.click)",
162            "default": [
163              {
164                "Name": "customer",
165                "Description": "Information about the customer",
166                "Fields": [
167                  {
168                    "Name": "customer_name",
169                    "Description": "Name of the customer"
170                  },
171                  {
172                    "Name": "customer_address",
173                    "Description": "Address of the customer"
174                  }
175                ]
176              },
177              {
178                "Name": "invoice_item",
179                "Description": "Details of each item in the invoice",
180                "Fields": [
181                  {
182                    "Name": "item_name",
183                    "Description": "Name of the item"
184                  },
185                  {
186                    "Name": "item_description",
187                    "Description": "Description of the item"
188                  },
189                  {
190                    "Name": "item_quantity",
191                    "Description": "Quantity of the item"
192                  },
193                  {
194                    "Name": "item_price",
195                    "Description": "Price of the item in decimal format"
196                  }
197                ]
198              },
199              {
200                "Name": "invoice_summary",
201                "Description": "Summary of the invoice",
202                "Fields": [
203                  {
204                    "Name": "total_amount",
205                    "Description": "Total pay amount of the invoice"
206                  },
207                  {
208                    "Name": "due_date",
209                    "Description": "Due date of the invoice in YYYY-MM-DD format"
210                  },
211                  {
212                    "Name": "currency",
213                    "Description": "Currency of the invoice in ISO (3 letter format)"
214                  }
215                ]
216              }
217            ]
218          },
219          "SourceFileUrl": {
220            "title": "Image URL",
221            "type": "string",
222            "description": "The URL of the source image to be processed. Ensure the URL is publicly accessible for extraction.",
223            "default": "https://getjobber.com/wp-content/uploads/2022/01/invoice-template-example.png"
224          },
225          "OpenaiApiKey": {
226            "title": "OpenAI Service API Key",
227            "type": "string",
228            "description": "Your [API key](https://platform.openai.com/api-keys) for accessing OpenAI's services, which power the underlying extraction and conversion process."
229          },
230          "VisionModel": {
231            "title": "OpenAI Vision Model",
232            "enum": [
233              "gpt-4o-mini",
234              "gpt-4o",
235              "chatgpt-4o-latest",
236              "gpt-4-turbo"
237            ],
238            "type": "string",
239            "description": "Select one of the available OpenAI vision models for the extraction process. Options are: gpt-4o, gpt-4o-mini, chatgpt-4o-latest, or gpt-4-turbo. For more information, visit the [OpenAI Models Guide](https://platform.openai.com/docs/models).",
240            "default": "gpt-4o-mini"
241          }
242        }
243      },
244      "runsResponseSchema": {
245        "type": "object",
246        "properties": {
247          "data": {
248            "type": "object",
249            "properties": {
250              "id": {
251                "type": "string"
252              },
253              "actId": {
254                "type": "string"
255              },
256              "userId": {
257                "type": "string"
258              },
259              "startedAt": {
260                "type": "string",
261                "format": "date-time",
262                "example": "2025-01-08T00:00:00.000Z"
263              },
264              "finishedAt": {
265                "type": "string",
266                "format": "date-time",
267                "example": "2025-01-08T00:00:00.000Z"
268              },
269              "status": {
270                "type": "string",
271                "example": "READY"
272              },
273              "meta": {
274                "type": "object",
275                "properties": {
276                  "origin": {
277                    "type": "string",
278                    "example": "API"
279                  },
280                  "userAgent": {
281                    "type": "string"
282                  }
283                }
284              },
285              "stats": {
286                "type": "object",
287                "properties": {
288                  "inputBodyLen": {
289                    "type": "integer",
290                    "example": 2000
291                  },
292                  "rebootCount": {
293                    "type": "integer",
294                    "example": 0
295                  },
296                  "restartCount": {
297                    "type": "integer",
298                    "example": 0
299                  },
300                  "resurrectCount": {
301                    "type": "integer",
302                    "example": 0
303                  },
304                  "computeUnits": {
305                    "type": "integer",
306                    "example": 0
307                  }
308                }
309              },
310              "options": {
311                "type": "object",
312                "properties": {
313                  "build": {
314                    "type": "string",
315                    "example": "latest"
316                  },
317                  "timeoutSecs": {
318                    "type": "integer",
319                    "example": 300
320                  },
321                  "memoryMbytes": {
322                    "type": "integer",
323                    "example": 1024
324                  },
325                  "diskMbytes": {
326                    "type": "integer",
327                    "example": 2048
328                  }
329                }
330              },
331              "buildId": {
332                "type": "string"
333              },
334              "defaultKeyValueStoreId": {
335                "type": "string"
336              },
337              "defaultDatasetId": {
338                "type": "string"
339              },
340              "defaultRequestQueueId": {
341                "type": "string"
342              },
343              "buildNumber": {
344                "type": "string",
345                "example": "1.0.0"
346              },
347              "containerUrl": {
348                "type": "string"
349              },
350              "usage": {
351                "type": "object",
352                "properties": {
353                  "ACTOR_COMPUTE_UNITS": {
354                    "type": "integer",
355                    "example": 0
356                  },
357                  "DATASET_READS": {
358                    "type": "integer",
359                    "example": 0
360                  },
361                  "DATASET_WRITES": {
362                    "type": "integer",
363                    "example": 0
364                  },
365                  "KEY_VALUE_STORE_READS": {
366                    "type": "integer",
367                    "example": 0
368                  },
369                  "KEY_VALUE_STORE_WRITES": {
370                    "type": "integer",
371                    "example": 1
372                  },
373                  "KEY_VALUE_STORE_LISTS": {
374                    "type": "integer",
375                    "example": 0
376                  },
377                  "REQUEST_QUEUE_READS": {
378                    "type": "integer",
379                    "example": 0
380                  },
381                  "REQUEST_QUEUE_WRITES": {
382                    "type": "integer",
383                    "example": 0
384                  },
385                  "DATA_TRANSFER_INTERNAL_GBYTES": {
386                    "type": "integer",
387                    "example": 0
388                  },
389                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
390                    "type": "integer",
391                    "example": 0
392                  },
393                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
394                    "type": "integer",
395                    "example": 0
396                  },
397                  "PROXY_SERPS": {
398                    "type": "integer",
399                    "example": 0
400                  }
401                }
402              },
403              "usageTotalUsd": {
404                "type": "number",
405                "example": 0.00005
406              },
407              "usageUsd": {
408                "type": "object",
409                "properties": {
410                  "ACTOR_COMPUTE_UNITS": {
411                    "type": "integer",
412                    "example": 0
413                  },
414                  "DATASET_READS": {
415                    "type": "integer",
416                    "example": 0
417                  },
418                  "DATASET_WRITES": {
419                    "type": "integer",
420                    "example": 0
421                  },
422                  "KEY_VALUE_STORE_READS": {
423                    "type": "integer",
424                    "example": 0
425                  },
426                  "KEY_VALUE_STORE_WRITES": {
427                    "type": "number",
428                    "example": 0.00005
429                  },
430                  "KEY_VALUE_STORE_LISTS": {
431                    "type": "integer",
432                    "example": 0
433                  },
434                  "REQUEST_QUEUE_READS": {
435                    "type": "integer",
436                    "example": 0
437                  },
438                  "REQUEST_QUEUE_WRITES": {
439                    "type": "integer",
440                    "example": 0
441                  },
442                  "DATA_TRANSFER_INTERNAL_GBYTES": {
443                    "type": "integer",
444                    "example": 0
445                  },
446                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
447                    "type": "integer",
448                    "example": 0
449                  },
450                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
451                    "type": "integer",
452                    "example": 0
453                  },
454                  "PROXY_SERPS": {
455                    "type": "integer",
456                    "example": 0
457                  }
458                }
459              }
460            }
461          }
462        }
463      }
464    }
465  }
466}

Image To Json Extractor 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 Image To Json Extractor 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:

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

3 days

Price

$5.00