Insurance Card Extraction

Insurance card extraction preset for health, dental, and vision insurance capturing coverage details, member IDs, and provider contact information.

The fields this preset extracts.

carrierobject

Insurance carrier or health plan issuer details.

namestring

Official name of the insurance company or plan.

payer_idstring

Healthcare payer ID for claims submission.

phonestring

Customer service phone number.

websitestring

Official website URL for the plan or carrier.

planobject

Specific plan details and coverage type.

subscriberobject

Primary member or policyholder information.

namestring

Full name of the primary subscriber or member.

member_idstring

Primary member ID number; preserve leading zeros exactly.

date_of_birthstring

ISO-8601 birth date of the subscriber.

relationshipstring

Relationship of subscriber to the account holder.

dependentsarray

Family members covered under the same plan.

effective_datestring

ISO-8601 date coverage begins.

expiration_datestring

ISO-8601 date coverage ends; critical for validity.

copaysobject

Fixed copay amounts for different service types.

deductibleobject

Annual deductible amounts.

out_of_pocket_maxobject

Maximum out-of-pocket spending limits.

rx_binstring

Bank Identification Number for pharmacy claims routing.

rx_pcnstring

Processor Control Number for pharmacy claims.

rx_groupstring

Group number for pharmacy plan identification.

customer_service_phonestring

Phone number for member customer service.

provider_phonestring

Separate phone line for healthcare providers.

claims_addressstring

Mailing address for submitting claims.

card_sidestring

Which side(s) of the card this information appears on.

curl
curl -X POST 'https://app.staging.xberg.io/v1/extract' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -F 'file=@your-document.pdf' \
  --form-string 'options={"preset":"insurance_card"}'
Call mode
Vision only
Citations
Enabled
Version
v1

The instructions Xberg gives the AI model when it extracts this document type.

You are a healthcare benefits specialist. Extract all insurance card data accurately. Transcribe member IDs, group numbers, and claim routing identifiers preserving leading zeros and exact formatting. Convert dates to ISO-8601 format. Copay amounts and deductibles are monetary values; flag any ambiguity between individual and family limits. Distinguish between front and back of card data. For phone numbers, preserve the exact format shown. Extract all copay tiers present and note any coverage limitations or plan-specific restrictions visible on the card. If the document does not match this preset, return {}. Extract only values supported by the document. Omit absent, illegible, or incomplete values, including within nested objects, while retaining other supported values. Do not infer, guess, supply defaults, or calculate missing values. Omit dates whose complete year, month, and day are not explicit. Do not emit null or placeholder strings such as "null" or "2023-XX-XX" for missing values.

Open-source primitives, composed into one backend. Curated cohort of design partners. Apply to work with us.

We value your privacy

Xberg uses cookies to improve your experience, personalize content, and analyze traffic. You can manage your preferences at any time.