Skip to content
Constaia
us_medicare_card

US Medicare card

Medicare card (CMS) with the 11-character Medicare Beneficiary Identifier (MBI) and Part A/B coverage start dates.

Category
Health
Country
United States
Fields it extracts
4 fields
Cost
1 credit
us_medicare_cardspecimen
Holder name
Mbi
Hospital part a date
Medical part b date

What it checks

  • National identifiers. Official checksum or format of the number (NIF, CPF, CURP, RUT, SSN…).us_mbi
  • Holder. Name, number or date of birth match what you expect.

Fields it extracts

  • Holder nameholder_name
  • Mbimbi
  • Hospital part a datehospital_part_a_date
  • Medical part b datemedical_part_b_date

Sample request

curl https://api.constaia.com/v1/analyze \
  -H "Authorization: Bearer $CONSTAIA_API_KEY" \
  -F "file=@document.pdf" \
  -F 'options={
    "expect": "us_medicare_card",
    "checks": {
      "holder": {
        "full_name": "Carmen Especimen Ruiz"
      }
    },
    "storage": "none"
  }'

Sample response

Fictitious data. Shortened response.

200 OK · application/json
{
  "id": "an_01J9Z3K8QW4T6Y2B7N5M1R0PXC",
  "object": "analysis",
  "status": "completed",
  "livemode": false,
  "document": {
    "type": "us_medicare_card",
    "label": "US Medicare card",
    "confidence": 0.97
  },
  "verdict": {
    "expected": [
      "us_medicare_card"
    ],
    "match": true,
    "status": "valid",
    "reasons": [
      {
        "code": "type_match",
        "severity": "info",
        "message": "The document is: US Medicare card."
      }
    ]
  },
  "fields": {
    "holder_name": {
      "value": "JOHN L SPECIMEN",
      "confidence": 0.99,
      "validated": true
    },
    "mbi": {
      "value": "1EG4-TE5-MK73",
      "confidence": 0.98,
      "validated": null
    },
    "hospital_part_a_date": {
      "value": "2026-03-01",
      "confidence": 0.97,
      "validated": null
    },
    "medical_part_b_date": {
      "value": "2026-03-01",
      "confidence": 0.96,
      "validated": null
    }
  },
  "checks": [
    {
      "code": "id_number",
      "passed": true,
      "message": "id_number"
    }
  ],
  "warnings": [],
  "storage": {
    "mode": "none",
    "file_deleted_at": "2026-09-29T10:00:02Z",
    "expires_at": null
  },
  "usage": {
    "credits": 1,
    "pages": 1
  }
}

FAQ

Does Constaia prove that the document is authentic?

No. It checks the type, the consistency of the data and your rules, and flags signals such as a possible edit or a photo of a screen. That does not prove authenticity.

Is a copy of the document kept?

Only if it needs review: it is then kept encrypted until someone decides and for 24 hours after that (configurable). Otherwise it is deleted as soon as the analysis ends. You can choose never to keep it.

Other documents

And for the record…

Create your free account and validate your first document in five minutes. No card required.