EDI Envelope Viewer X12 EDIFACT Parser API
Free tier included · BusinessEDI debugging usually starts with a file you cannot read. An 850 or an ORDERS D96A arrives from a trading partner, something in onboarding breaks, and before you can look at a single business segment you have to work out which standard it is, which delimiters it uses, whether the ISA really matches the IEA, and how many transaction sets the GS claims versus how many are actually there. EDI Envelope Viewer does exactly that pass and returns it as JSON.
Send the raw interchange text to `POST /parse` and you get back the detected standard, the delimiters (element, segment, repetition and component separators, plus the UNA service string for EDIFACT), the interchange header and trailer with sender/receiver IDs and control numbers, the functional groups, and each transaction set or message with its type, control number and segment count — including a declared-versus-actual check on the trailer counts.
Who uses it: B2B integration teams triaging a partner's first test file, QA engineers asserting envelope facts in a pipeline, support staff who need a readable summary of a 4 MB file without installing pyx12 or pydifact, and no-code/ETL users who just want one HTTP call inside a flow.
It is offline and stateless — no storage, no request logging, no calls to any partner or registry — and the tokenizing is done by the established pyx12 and pydifact parsers, not a hand-rolled splitter.
Endpoints
| Method | Path | What it does |
|---|---|---|
POST | /parse | Parse one X12 interchange (must start with ISA) or one UN/EDIFACT interchange (must start with UNA or UNB) and return its envelope structure. Body: {"content": "<raw EDI text>"}, content 9 bytes to 5 MB (5242880). Empty input → 400, oversized → 413, unrecognisable content → 422 with a structured {"error": {"code", "message"}} body. |
Quick start
curl -X POST "https://ediviewer.p.rapidapi.com/parse" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: ediviewer.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{"content":"ISA*00* *00* *ZZ*SENDERID *ZZ*RECEIVERID *240101*1200*U*00401*000000905*0*P*>~GS*PO*SENDERID*RECEIVERID*20240101*1200*1*X*005010~ST*850*0001~PO1*1*10*EA*9.99~SE*3*0001~GE*1*1~IEA*1*000000905~"}'
FAQ
How large an interchange can I send?
Up to 5 MB (5,242,880 bytes) of raw EDI text per `POST /parse` call, sent as the `content` field of a JSON body. Anything larger returns 413; empty content returns 400.
Do you store my EDI files?
No. The service is stateless: the interchange is parsed in memory, nothing is written to disk or a database, and request bodies are not logged. No external calls are made to trading partners or registries.
Does it validate my business data or map segments?
No. This is an envelope-level viewer: delimiters, interchange header/trailer, functional groups, transaction sets/messages and segment counts. There is no segment dictionary, so `PO1`, `LIN` and similar segments are counted, not interpreted, and application-level content is not validated.
Can I parse many files in one request?
No batch endpoint — one interchange per call. For volume, loop over `POST /parse` from your pipeline; concurrency is served in parallel and each call is independent, so results can be joined by your own job ID.
Try EDI Envelope Viewer X12 EDIFACT Parser free
Free tier on every plan. Get an API key and start calling in under a minute.
Open on RapidAPI