Experiments
A/B test pricing without rolling your own infra.
Run two prices against each other: a control and an experiment. Each user gets a stable arm, you report conversions, and the results compare the two arms on views, conversions, revenue and revenue per user.
last-price.ai/experiments

What you can do
- Test exactly two arms, named control and experiment, each with its own price.
- Split traffic evenly or by weight, anywhere from 50/50 to 1/99.
- Assign users with a stable hash. Same user, same arm, every call.
- Report conversions with revenue from your server, or from your page with an embed token.
- Compare the arms on views, conversions, conversion rate, revenue and revenue per user.
Create an experiment
Request
POST /api/tenants/{tenantId}/experiments
x-api-key: lp_...
{
"key": "checkout_v3",
"name": "Checkout price test",
"variants": [
{ "name": "control", "price": 29.99, "weight": 50 },
{ "name": "experiment", "price": 24.99, "weight": 50 }
]
}Get a user's price
Request
GET /api/experiments/checkout_v3/pricing?userId=u_8821 x-api-key: lp_...
Response
{
"userId": "u_8821",
"experimentId": "checkout_v3",
"variant": "experiment",
"pricing": { "plan": "Experiment", "price": 24.99, "features": [...] }
}GET /api/me returns the tenantId your key belongs to. Report a sale with POST /api/experiments/checkout_v3/convert, and read both arms with GET /api/experiments/checkout_v3/results. More than two arms and built-in significance testing are not available yet. The Elo A/B test built-in function is a different thing: a one-call price split that records nothing, so it is not a way to run an experiment.
Ready to try it?
Spin up a free playground tenant in under a minute. No credit card.