POST
/
change
/
medicalnetwork
/
eligibility
/
v3
/
raw-x12

This endpoint sends real-time eligibility checks to payers in raw X12 EDI format. This is ideal if you have an existing system that generates X12 EDI files and you want to send them through Stedi’s API.

  • Call this endpoint with payload in 270 X12 EDI format.
  • Stedi validates the EDI and sends the eligibility check to the payer.
  • 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.

This endpoint is a direct replacement for Change Healthcare’s Check Eligibility x12 API.

Timeout and Concurrency

Requests to payers typically time out at 1 minute, though Stedi can keep connections open longer than that if needed.

Our real-time eligibility check endpoint has rate limiting on a per-account basis. This limit is based on concurrent requests, not requests per second. The default rate limit is 5 concurrent requests; if you need a higher limit, reach out to Support.

Insurance payers may take up to 60 seconds to respond to a request, so your transactions per second (and thus your concurrency limit) will vary based on the payer response time. If you reach the maximum concurrency limit, Stedi will reject additional requests with a 429 HTTP code until one of your previous requests is completed.

Automatic repairs

Stedi automatically applies various repairs to help your requests meet X12 HIPAA specifications, resulting in fewer payer rejections.

Troubleshooting

For a list of possible errors and resolution steps, visit Errors and resolutions.

Authorizations

Authorization
string
headerrequired

API key authentication via the 'Authorization' header

Body

application/json
x12
string
required

Response

200 - application/json
meta
object

Metadata about the response. Stedi uses this data for tracking and troubleshooting.

controlNumber
string

The control number you sent in the original eligibility check request.

reassociationKey
string

Deprecated; do not use.

tradingPartnerServiceId
string

An ID for the payer you identified in the original eligibility check request. This value may differ from the tradingPartnerServiceId you submitted in the original request because it reflects the payer's internal concept of their ID, not necessarily the ID Stedi uses to route requests to this payer.

provider
object

Information about the entity that submitted the original eligibility check request. This may be an individual practitioner, a medical group, a hospital, or another type of healthcare provider.

subscriber
object

Information about the primary policyholder for the insurance plan listed in the original eligibility check request.

subscriberTraceNumbers
object[]

The unique identifier assigned to the transaction by either the payer or the entity that submitted the original eligibility check request.

dependents
object[]

Information about the dependents listed in the original eligibility check request.

payer
object

Information about the payer providing the benefits information and the organization receiving it.

planInformation
object

Additional identification for the subscriber's healthcare plan.

planDateInformation
object

Contains the dates associated with the subscriber's insurance plan. This information is used to determine the patient's eligibility for benefits. All dates are formatted as YYYYMMDD (for single dates) or as YYYYMMDD-YYYYMMDD (for date ranges). Fields contain a single date unless otherwise noted.

planStatus
object[]

Deprecated; please use benefitsInformation.

benefitsInformation
object[]

Information about the subscriber or dependents' healthcare benefits. This includes coverage level (individual vs. family), coverage type (deductibles, copays, etc.), out of pocket maximums, and more.

errors
object[]

When a payer rejects your eligibility check, the response contains one or more 'AAA' errors that specify the reasons for the rejection and any recommended follow-up actions. Learn more

warnings
object[]

Warnings indicate non-fatal issues with your eligibility check or a non-standard response from the payer.

status
string
transactionSetAcknowledgement
string

The transaction set acknowledgment code provided in in the X12 EDI 999 response.

implementationTransactionSetSyntaxError
string

The implementation transaction set error code provided in IK502 of the 999 transaction.

x12
string

The raw X12 EDI 271 Eligibility Benefit Response from the payer.