---
title: ANSI X12 Test Data — Free ANSI X12 837P Test Data
description: Synthetic ANSI X12 837P documents with complete ISA/GS/ST envelopes. CC0-1.0, JSON and CSV, small/medium/large.
canonical: https://stanzaapi.com/datasets/x12
---

[Home](/)/[Open Test Data](/datasets)/ANSI X12 Test Data

# ANSI X12 Test Data

Synthetic ANSI X12 837P documents with complete ISA/GS/ST envelopes.

Format: ANSI X12 837P · Licence: CC0-1.0, synthetic

## What it is

Structurally complete X12 837P claim documents (ISA, GS, ST, BHT, NM1, CLM, SE, GE, IEA) with varying control numbers. Synthetic claims; not real patients or payers.

## Downloads

| Size | Rows | Formats |
| --- | --- | --- |
| Small | 25 rows | [.json](/datasets/x12/small.json) · [.csv](/datasets/x12/small.csv) |
| Medium | 250 rows | [.json](/datasets/x12/medium.json) · [.csv](/datasets/x12/medium.csv) |
| Large | 2,500 rows | [.json](/datasets/x12/large.json) · [.csv](/datasets/x12/large.csv) |

## Cite this dataset

If you use this data, please cite the **concept DOI** — it always resolves to the latest version:

```
StanzaAPI. (2026). ANSI X12 Test Data. CC0-1.0.
DOI: 10.5281/zenodo.23076202
https://stanzaapi.com/datasets/x12
```

[https://doi.org/10.5281/zenodo.23076202](https://doi.org/10.5281/zenodo.23076202) (all versions) · [10.5281/zenodo.23076203](https://doi.org/10.5281/zenodo.23076203) (v1.0.0)

## Columns

| Key | Meaning |
| --- | --- |
| `control_number` | Interchange control number |
| `transaction_set` | Transaction set |
| `claim_id` | Claim ID |
| `document` | Document |

## Frequently Asked Questions

Is this ANSI X12 837P test data free to use?

Yes. The rows are released under CC0-1.0, so you can copy, modify, and redistribute them without attribution.

Is the data real?

No. All rows are synthetic. Values are structurally shaped for the format and are clearly marked synthetic. They are not real accounts, patients, devices, or registrations.

How is the dataset generated?

Deterministically from a fixed seed, so the same size always produces the same rows. That makes it safe to pin in a fixture or CI pipeline.
