# Real-Time Eligibility Check Raw X12
Source: https://www.stedi.com/docs/healthcare/api-reference/post-healthcare-eligibility-raw-x12

***

openapi: healthcare post /change/medicalnetwork/eligibility/v3/raw-x12
title: Real-Time Eligibility Check Raw X12
------------------------------------------

Real-time eligibility checks are ideal for in-person patient visits, telehealth appointments, and other scenarios where you need immediate information about a patient's coverage. This endpoint is ideal if you have an existing system that generates X12 EDI files and you want to send them through Stedi.

1. Call this endpoint with payload in [270 X12 EDI format](https://portal.stedi.com/app/guides/view/hipaa/health-care-eligibility-benefit-inquiry-x279a1/01GRYB6GTDJ4MEP5Z16CGMQWT6). Note that the request must include `BHT03` (Submitter Transaction Identifier) and the Payer ID in `Loop 2100A NM109`. We recommend reviewing the requirements for a [basic eligibility request](/healthcare/send-eligibility-checks#body---x12-edi).
2. Stedi validates the EDI and sends the eligibility check to the payer.
3. The endpoint returns a synchronous response from the payer in both JSON and raw X12 EDI format. The response contains the patient's eligibility and benefits information. Note that our documentation lists all enums officially allowed in the eligibility response. Some payers return non-compliant values, which Stedi passes through as is.

<Note>
  Visit [Real-time eligibility checks](/healthcare/send-eligibility-checks) for
  a complete how-to guide.
</Note>