POST
/
v1
/
textify
/
analyzer
curl --request POST \
--url https://api.argosidentity.com/v1/textify/analyzer \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"fileExtension": "pdf",
"docuType": "InvoiceMedical",
"fileData": "base64-encoded-medical-invoice-pdf"
}'
{
"status": "success",
"data": {
"document": {
"patientInfo": {
"name": "John Smith",
"patientId": "P12345",
"dateOfBirth": "1985-03-15",
"contactNumber": "+1-555-0123"
},
"medicalProvider": {
"name": "City General Hospital",
"providerId": "H789",
"address": "123 Medical Center Dr, City, State 12345"
},
"billingDetails": {
"invoiceNumber": "INV-2024-001",
"serviceDate": "2024-01-15",
"dueDate": "2024-02-15",
"totalAmount": 1250,
"insuranceCoverage": 1000,
"patientResponsibility": 250
},
"medicalServices": [
{
"service": "Cardiology Consultation",
"code": "99204",
"amount": 350
},
{
"service": "EKG Test",
"code": "93000",
"amount": 150
},
{
"service": "Blood Work",
"code": "80048",
"amount": 750
}
]
},
"confidence": 0.95
}
}

Bill of Lading Template

The Bill of Lading template extracts structured data from transportation documents for cargo and freight shipments, including shipping details, cargo information, and transport terms.

Template Features

Extracts the following information from bill of lading documents:
  • Shipping vessel and voyage details
  • Shipper and consignee information
  • Cargo specifications and quantities
  • Freight terms and payment conditions
  • Special handling instructions
  • Transport and delivery terms

Usage Example

{
  "fileExtension": "pdf",
  "docuType": "BillofLading",
  "fileData": "base64-encoded-bill-of-lading-data"
}

Response Format

The template returns structured bill of lading data including:

Bill of Lading Information

  • BL Number: Unique bill of lading identifier
  • Issue Date: Date document was issued
  • Vessel Name: Shipping vessel name
  • Voyage Number: Ship voyage identifier
  • Port of Loading: Origin port
  • Port of Discharge: Destination port

Shipper Details

  • Shipper Name: Sender company or individual
  • Shipper Address: Complete origin address
  • Contact Person: Shipper contact details
  • Contact Information: Phone and email

Consignee Information

  • Consignee Name: Recipient company or individual
  • Consignee Address: Complete destination address
  • Contact Person: Consignee contact details
  • Contact Information: Phone and email

Notify Party

  • Notify Party Name: Party to be notified
  • Notify Party Address: Complete address
  • Contact Information: Phone and email

Cargo Details

  • Description: Detailed cargo description
  • Weight: Total cargo weight
  • Measurement: Cargo volume measurements
  • Packages: Number of packages or items
  • Container Numbers: Shipping container identifiers
  • Package Types: Type of packaging used

Freight Information

  • Freight Terms: FOB, CIF, EXW, etc.
  • Payment Terms: Prepaid, collect, etc.
  • Special Instructions: Handling requirements
  • Dangerous Goods: Hazardous materials information

Sample Response

{
  "status": "success",
  "data": {
    "document": {
      "billOfLadingInfo": {
        "blNumber": "BL-2024-001234",
        "issueDate": "2024-01-20",
        "vessel": "MSC Mediterranean",
        "voyage": "V-123"
      },
      "shipper": {
        "name": "International Trading Co.",
        "address": "123 Trade Street, Trade City, TC 12345",
        "contactPerson": "Mike Trader",
        "phone": "+1-555-0123"
      },
      "consignee": {
        "name": "Global Import Solutions",
        "address": "456 Import Avenue, Port City, PC 67890",
        "contactPerson": "Lisa Import",
        "phone": "+1-555-9876"
      },
      "notifyParty": {
        "name": "Customs Broker Services",
        "address": "789 Broker Street, Broker City, BC 54321"
      },
      "cargoDetails": {
        "description": "Automotive parts and machinery",
        "weight": "5,000 kg",
        "measurement": "25 cubic meters",
        "packages": 200,
        "containerNumbers": ["MSCU1234567", "MSCU7654321"]
      },
      "freightTerms": "FOB Origin",
      "paymentTerms": "Prepaid",
      "specialInstructions": "Handle with care, temperature controlled"
    },
    "confidence": 0.92
  }
}

Supported Bill of Lading Types

  • Ocean Bill of Lading
  • Air Waybill
  • Truck Bill of Lading
  • Rail Bill of Lading
  • Multimodal Bill of Lading
  • Through Bill of Lading
  • Clean Bill of Lading
  • Claused Bill of Lading
  • Order Bill of Lading
  • Straight Bill of Lading

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

200
application/json

Successful analysis

The response is of type object.