UntangledAPI

Quickstart

From signup to first structured response in under five minutes.

1. Get an API key

Sign up at untangledapi.com, confirm your email, and you'll land on the dashboard. Click Create key on /dashboard/keys. Copy the raw key — it's shown once and never again. Anything starting with sk_live_ belongs in your server's environment, never in client code.

2. Set the environment variable

export UNTANGLED_KEY=sk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

3. Make your first call

The most common shape — extracting structured data from an invoice — is one POST:

curl https://api.untangledapi.com/v1/extract/invoice \
  -H "x-api-key: $UNTANGLED_KEY" \
  -H "content-type: application/json" \
  -d '{
    "document": {
      "text": "Acme Co. — Invoice #1042 — Total: $1,250.00 — Due: 2026-05-15"
    }
  }'

Response:

{
  "vendor": "Acme Co.",
  "invoice_number": "1042",
  "total": 1250.00,
  "currency": "USD",
  "due_date": "2026-05-15"
}

4. What's next

  • Read the Authentication page if you want to understand key scoping and rotation.
  • Read Models to understand HEU and how billing works.
  • Pick a prebuilt schema from Extract, or define your own with Custom.
  • If you're processing more than ~50 documents a minute, look at Batch before doing it serially.

On this page