Platform Playground
Try the Bodygram Scanner Platform integration live — token generation, scanning, estimation, and full body measurements in one place.
See the Scanner Platform in action
The Bodygram Scanner Platform returns raw body measurements from two photos and user stats, or from stats alone. Unlike Body2Fit, there are no garments or size labels — you get the underlying measurement data directly and decide what to do with it.
This page lets you run the complete integration flow against your own credentials. Use it to understand each step before wiring it into your own application.
For the full integration guide, see Platform Integration.
Integration pattern
Every Platform integration follows four steps. The playground below runs all four live:
- Configure — initialize the SDK with your organization ID and locale. Generate a scan token on your server using your API key (this playground does it in the browser for convenience — never do this in production).
- User stats — collect the user's gender, age, height, and weight.
- Scan & estimate — optionally capture front and side photos with Scanflow, then call the estimation API to get body measurements.
- Measurements — view the full set of body dimensions in centimeters. Photo scans also return body composition and posture data.
Interactive Demo
Enter your Bodygram Scanner Platform credentials. Sign up free at platform.bodygram.com to get your org ID and API key. This demo uses the API key in the browser for convenience — in production, always generate tokens server-side.
Your organization ID — safe to use in frontend code
Demo only — in production this must stay server-side and never reach the browser
Collect the shopper's stats first. Gender is used both by the estimation call and to pick the correct scanner silhouette in the next step.
Camera scanning gives more accurate measurements and also returns body composition and posture data. Stats-only works without a camera.
API reference
Full signatures, parameters, and response shapes for every method used in the playground above live in the Headless SDK API reference.
Methods
getBodygramScannerPlatformScanToken(params)— server-side. Generates a short-lived JWT scan token from your API key. Never call this from the browser.getBodygramScannerPlatformPhotoEstimation(params)— client-side. Returns full body measurements from front and side photos plus user stats, alongside body composition, avatar, and posture data.getBodygramScannerPlatformStatsEstimation(params)— client-side. Returns body measurements and a 3D avatar from age, gender, height, and weight alone (no photos; body composition and posture are not returned).
Types
PlatformMeasurement— shape of each entry inentry.measurements, plus the full list of measurement names.Avatar— shape of the 3D avatar returned by photo and stats estimation.Posture—frontandrightpose data, including angle and line landmark definitions and the dashboard naming map.
