Public demo
A public demo runs athttps://api.iso8583sim.com, and the REST API reference playground calls it by default. Try it without installing anything:
http://127.0.0.1:8000 to use your own instance.
Running
http://127.0.0.1:8000. Options: --host, --port and --reload (restart on code changes).
You can also run it with uvicorn directly:
/docs and the OpenAPI schema at /openapi.json.
Endpoints
Common request fields:
message: raw message string (MTI, hex bitmap, field data)version:"1987"(default),"1993"or"2003"network:VISA,MASTERCARD,AMEX,DISCOVER,JCBorUNIONPAY. Detected from the PAN when omitted.
Examples
Generate a test message and explain it:against list means all):
Errors
/validate is the exception: a message that fails to parse is returned as {"valid": false, "errors": ["Parse error: ..."]} with status 200.
Docker
The repository includes aDockerfile that runs the API with the security extra installed:
-p 127.0.0.1:8000:8000 keeps it reachable from your machine only.
To use LLM features, pass the provider’s API key:
anthropic extra only. Build with --build-arg EXTRAS=web,security,llm for all providers.
Public mode
SetISO8583SIM_PUBLIC=1 to run the API as a public demo:
- LLM features return 403, even when an API key is set, so nobody can spend your key.
- Browsers on any site can call the API (CORS allows every origin). There are no cookies or credentials, so this allows nothing that
curlcan’t already do.