What Is xAPI? Definition, Examples, and How It Works
xAPI, the Experience API, is a specification for recording learning experiences as statements, an actor, a verb, and an object, such as 'Jordan completed the safety quiz,' and storing them in a learning record store (LRS). Developed by the Advanced Distributed Learning (ADL) Initiative and standardized as IEEE 9274.1.1-2023, xAPI tracks learning anywhere: in courses, simulations, mobile apps, videos, and on-the-job performance, not just inside a learning management system.

Key takeaways
- xAPI records learning as simple statements in the form actor–verb–object, such as “Jordan completed the forklift pre-shift check.”
- Statements are stored in a learning record store (LRS), which can sit inside an LMS or stand alone — xAPI needs an LRS, not an LMS.
- Version 1.0 was released in 2013 by the Advanced Distributed Learning (ADL) Initiative, and the specification became the formal standard IEEE 9274.1.1-2023.
- xAPI tracks learning SCORM cannot reach: mobile apps, simulations, offline activity, informal learning, and on-the-job performance.
- Statements are mostly immutable: a stored statement is retracted by sending a new statement with the voiding verb.
What is xAPI?
xAPI is an open specification that records any learning experience as a short statement and stores it in a learning record store.
xAPI stands for the Experience API. It was originally nicknamed the Tin Can API, after the childhood tin-can telephone, and the name stuck in older tools and blog posts — but Tin Can and xAPI are the same thing.
The specification comes from the Advanced Distributed Learning (ADL) Initiative, a program of the US Department of Defense — the same organization behind SCORM. In 2011, ADL recognized that SCORM, then more than ten years old, could not cover mobile learning or simulations. It asked Rustici Software to gather feedback from the eLearning community, and version 1.0 was released in 2013. In 2023 the IEEE approved it as a formal standard, IEEE 9274.1.1-2023, often called xAPI 2.0.
How does xAPI work?
Any activity sends a statement — actor, verb, object — to a learning record store over the web, using JSON and a REST-style service.
A statement is the basic unit of xAPI: three required parts — an actor (who did it), a verb (what they did), and an object (what they did it to) — plus optional result, context, and timestamp. Here is a simplified statement:
```json
{
“actor”: { “name”: “Jordan”, “mbox”: “mailto:[email protected]” },
“verb”: { “id”: “http://adlnet.gov/expapi/verbs/completed”,
“display”: { “en-US”: “completed” } },
“object”: { “id”: “https://example.com/activities/forklift-pre-shift-check” },
“result”: { “success”: true, “duration”: “PT6M30S” },
“timestamp”: “2017-04-02T14:05:00Z”
}
```
Two details make the format work across vendors. Verbs and activities are identified by web addresses (IRIs), not display text, so “completed” means the same in every tool. Scores use a standard shape: result.score.scaled runs from -1 to 1, so 36 out of 40 is recorded as 0.9.
Statements travel by HTTP POST to the LRS, with an X-Experience-API-Version header. The LRS checks and stores each one, stamping it with a stored time — when it was recorded, which can differ from the timestamp of the experience itself.
What is a learning record store (LRS)?
An LRS is the database built to receive, store, and return xAPI statements.
The LRS is the system of record in an xAPI setup. The specification names two roles around it: a Learning Record Provider, which sends statements, and a Learning Record Consumer, which retrieves them. An LRS can live inside an LMS or run standalone, and different LRSs can share statements with each other.
This matters because xAPI separates the record from the course: statements from a module, an app, a simulation, a video player, or a supervisor's observation form all land in one store, so a manager can read the whole learning story instead of four disconnected reports.
Not every LMS includes an LRS. Before buying a new platform, ask the vendor two questions: do you have an LRS, and can statements be exported or forwarded to another LRS? Learning data should never be stuck in one place. Our guide to what a learning management system is explains how an LMS and an LRS fit together.
xAPI vs SCORM: what's the difference?
SCORM tracks a course launched by one LMS in a browser, while xAPI tracks any learning activity from any app or device.
SCORM, the Sharable Content Object Reference Model, governs how eLearning content and an LMS communicate. It works well for its job, but it assumes a browser course, a constant connection, and one LMS — limits xAPI was designed to remove.
| Feature | SCORM | xAPI |
|---|---|---|
| What it tracks | Courses launched by an LMS | Any learning activity, anywhere |
| Where content lives | Packaged with the LMS | Any server, app, or device |
| Works offline | No, needs a constant connection | Yes, statements send when reconnected |
| Data format | Fixed set of fields | Actor–verb–object statements in JSON |
| Mobile and VR | Poor support | Designed for mobile, simulations, and VR |
| Informal learning | Not tracked | Articles, videos, coaching, and performance |
| Standard | SCORM 2004 / 1.2 | IEEE 9274.1.1-2023 (xAPI 1.0.3) |
| Needs an LMS | Yes | No, needs only an LRS |
If all training lives in browser courses, SCORM may still cover the need. Many organizations run both: SCORM for packaged courses, xAPI for everything else.
What can xAPI track that SCORM can't?
xAPI can track nearly any learning activity that can be described in a sentence, from any device, at any level of detail.
The difference shows up in five kinds of learning SCORM cannot see. First, mobile learning: a technician completes a checklist on a tablet in the field, and the statement is stored and sent later when the device reconnects. Second, simulations and games: a branching scenario can send a statement for every decision, showing which option the learner chose and how long they took.
Third, fine-grained behavior inside a course: which choices someone made, how long each step took, and which hints they used. Fourth, informal learning: articles read, videos watched, and coaching sessions attended. Fifth, on-the-job performance: a supervisor's observation that a technician demonstrated a procedure correctly sits next to the eLearning record, which is what an auditor wants to see.
A blended program shows the value clearly. A leadership program might include eLearning modules, live workshops, reading, and a coaching session. xAPI lets each piece report into one place, so a program manager sees the whole path instead of four disconnected systems. For training that happens away from a desk, see our guide to what mobile learning is.
What is cmi5?
cmi5 is an xAPI profile that defines how an LMS launches xAPI content and which statements that content must send.
Plain xAPI does not define how an LMS starts a course, so two tools can both “support xAPI” yet behave differently when an LMS launches them. cmi5 closes that gap.
An xAPI profile is a shared set of rules and vocabulary for one kind of activity: a video profile defines verbs such as played, paused, seeked, and completed, plus the details to include. cmi5 is itself a profile: it sets the launch rules and the statements a course must send, such as initialized, completed, passed, failed, and terminated.
The practical rule is simple: when a published profile exists for your activity type, use it, so two tools describe the same event the same way.
How do you start using xAPI?
Start with one business question, one activity, and a handful of statements designed to answer it.
The teams that succeed with xAPI start small and specific. Tracking everything usually means reporting on nothing, so begin with a question your current reports cannot answer.
- Write the question first. For example: "Which steps in the lockout procedure do new technicians miss most often?"
- List the statements you would need. Who did what, to which step, with what result.
- Check for an existing profile and reuse its verbs and activity types wherever you can.
- Confirm where the statements will land: your LMS's built-in LRS or a standalone one.
- Build one activity, send test statements, and read them back in the LRS before scaling up.
- Build the report. If you cannot answer the original question from the data, adjust the statements, not the question.
Most authoring tools can publish xAPI packages, which is an easy first step. A published course on its own only sends generic statements, so the real value shows up when the data is planned on purpose, with a written data plan naming the verbs, activities, and result fields each tool must send.
Privacy deserves a line in that plan: behaviour data is personal data, and actor fields can carry names or email-based identifiers. Collect only what answers a real question, and plan consent and data handling first.
How can an LMS help with xAPI?
A modern LMS can host the LRS, launch xAPI content, and turn statements into reports — but the LRS is the part that matters.
Many modern LMS platforms now include a built-in LRS or accept xAPI content directly, covering the common case: enrolment, assignments, and compliance records in the LMS, with the richer xAPI data collected alongside. Some platforms also forward statements to an external LRS, which keeps the data portable if the LMS ever changes.
Edutrion's learning management system is designed to bring enrolment, courses, and training records together in one place, so xAPI data from simulations, field checklists, and mobile learning can sit next to the formal course record instead of in a separate system.
Before choosing any platform, test it with real statements: send a test course, a simulated activity, and a supervisor observation, then read them back and build one report. If it cannot show the data you planned for, no feature list will fix that.
Learning Management System (LMS) is part of the Edutrion workspace. Free during launch.
Frequently asked questions
What does xAPI stand for?
xAPI is short for the Experience API, previously called the Tin Can API. It is an ADL Initiative specification, now also standardised as IEEE 9274.1.1-2023.
What is a learning record store?
An LRS is the system that receives, stores, and provides access to xAPI learning records. It can sit inside an LMS or run standalone.
Can an xAPI statement be changed after it is stored?
With some exceptions, no. Statements are immutable, so a statement is retracted by sending a new statement that uses the voiding verb and refers to the original.
Which parts of a statement are mandatory?
Actor, verb, and object are required. Everything else, including the result, context, and timestamp, is optional or set by the LRS.
Do I need an LMS to use xAPI?
No. You need an LRS, not an LMS. Many organizations still use an LMS for enrolment and compliance records, with an LRS sitting alongside it to collect the richer data.


