Get list of parsing models
curl --request GET \
--url https://api.deepxl.ai/v1/parsing-models \
--header 'x-api-key: <api-key>'import requests
url = "https://api.deepxl.ai/v1/parsing-models"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.deepxl.ai/v1/parsing-models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.deepxl.ai/v1/parsing-models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.deepxl.ai/v1/parsing-models"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.deepxl.ai/v1/parsing-models")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.deepxl.ai/v1/parsing-models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"name": "light",
"description": "Parsing light model. Data extraction is aimed at Driver License, State ID, Residency Permit, Social Security Card, Military ID",
"tags": [
"id-parsing",
"fast"
],
"category": "document-parsing",
"validInputTypes": [
"image",
"document"
],
"validFileTypes": [
"jpg",
"jpeg",
"png",
"webp",
"pdf"
],
"ownedBy": "DeepXL",
"version": "1.0.0"
},
{
"name": "performance",
"description": "Parsing performance model. Data extraction is aimed at Bank statements, US pay stubs",
"tags": [
"document-parsing",
"comprehensive"
],
"category": "document-parsing",
"validInputTypes": [
"image",
"document"
],
"validFileTypes": [
"jpg",
"jpeg",
"png",
"webp",
"pdf"
],
"ownedBy": "DeepXL",
"version": "1.0.0"
}
]Document Parsing
Get list of parsing models
Retrieve a list of available document parsing models with their capabilities and supported file types.
GET
/
v1
/
parsing-models
Get list of parsing models
curl --request GET \
--url https://api.deepxl.ai/v1/parsing-models \
--header 'x-api-key: <api-key>'import requests
url = "https://api.deepxl.ai/v1/parsing-models"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.deepxl.ai/v1/parsing-models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.deepxl.ai/v1/parsing-models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.deepxl.ai/v1/parsing-models"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.deepxl.ai/v1/parsing-models")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.deepxl.ai/v1/parsing-models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"name": "light",
"description": "Parsing light model. Data extraction is aimed at Driver License, State ID, Residency Permit, Social Security Card, Military ID",
"tags": [
"id-parsing",
"fast"
],
"category": "document-parsing",
"validInputTypes": [
"image",
"document"
],
"validFileTypes": [
"jpg",
"jpeg",
"png",
"webp",
"pdf"
],
"ownedBy": "DeepXL",
"version": "1.0.0"
},
{
"name": "performance",
"description": "Parsing performance model. Data extraction is aimed at Bank statements, US pay stubs",
"tags": [
"document-parsing",
"comprehensive"
],
"category": "document-parsing",
"validInputTypes": [
"image",
"document"
],
"validFileTypes": [
"jpg",
"jpeg",
"png",
"webp",
"pdf"
],
"ownedBy": "DeepXL",
"version": "1.0.0"
}
]Authorizations
API key created in the dashboard
Was this page helpful?
⌘I