Quickstart

Get started with Parse in just a few minutes. This guide will walk you through your first document extraction.

1. Get your API key

First, sign up for a free account and get your API key from the dashboard.

2. Install the SDK (optional)

You can use our SDK or call the API directly with cURL.

Python

pip install parse-sdk

Node.js

npm install @conversiontools/parse

3. Extract data from a document

Send a document to the API and get structured JSON back.

cURL

curl -X POST https://api.parse.conversiontools.io/v1/extract \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@invoice.pdf"

Python

from parse_sdk import Parse

client = Parse(api_key="YOUR_API_KEY")

result = client.extract("invoice.pdf")
print(result.data)

Node.js

import { Parse } from '@conversiontools/parse';

const client = new Parse({ apiKey: 'YOUR_API_KEY' });

const result = await client.extract('invoice.pdf');
console.log(result.data);

4. View the response

The API returns structured JSON with the extracted data:

{
  "success": true,
  "data": {
    "vendor_name": "Acme Corp",
    "invoice_number": "INV-2024-001",
    "date": "2024-01-15",
    "items": [
      {
        "description": "Consulting Services",
        "quantity": 10,
        "unit_price": 150.00,
        "amount": 1500.00
      }
    ],
    "subtotal": 1500.00,
    "tax": 150.00,
    "total": 1650.00
  },
  "pages_used": 1
}

Next steps

Quickstart | Parse Documentation