UCP
Native support for the Universal Commerce Protocol.
Last Price implements UCP so AI shopping agents can discover your pricing capabilities, create checkout sessions, and complete purchases without custom integration work. One protocol, any agent.
{
"ucp": {
"version": "2026-01-23",
"services": {
"dev.ucp.shopping": {
"version": "2026-01-23",
"rest": {
"endpoint": "https://api.last-price.ai/api/ucp",
"schema": "https://api.last-price.ai/api/openapi"
}
}
},
"capabilities": [
{ "name": "dev.ucp.shopping.checkout", "version": "2026-01-23" },
{
"name": "dev.ucp.pricing.compute",
"version": "2026-01-23",
"config": {
"supports_quote": true,
"supports_batch": true,
"strategies": ["cheapest", "fastest", "default", "explicit"]
}
}
]
}
}What UCP enables
- Standard discovery at /.well-known/ucp so any UCP agent can find and call your pricing endpoints.
- Full checkout session lifecycle: create, update, complete, and cancel with idempotency built in.
- Pricing quotes that flow through the same PCN compute pipeline, complete with metering and cost tracing.
- UCP-Agent header negotiation for version compatibility across protocol revisions.
- Fulfillment and discount extensions supported out of the box.
How it works
- An AI agent fetches /.well-known/ucp and learns Last Price supports checkout and pricing compute.
- The agent creates a checkout session with line items and buyer identity via POST /api/ucp/checkout-sessions.
- Last Price computes optimized totals using the configured routing policy and pricing functions.
- The agent completes checkout with payment credentials, and an order is placed.
- Every call is token-metered through the same PCN pipeline, so cost tracing works seamlessly.
Recent changes
All Agent payments notes- Improved
Release v0.11.0
v0.11.0 makes every price say what it means and what kind of claim it is, lets a buyer state the most it will pay, asks for a fresh sign-in before money decisions, and fixes routing, price bounds, UCP quotes and server errors.
- New
An agent can set up as a seller without a browser
A self-registered agent can draft and test its own pricing functions, and a person's claim key can turn its workspace into a separate seller account.
- API
The per-call market band now includes MPP services
The market band that says what paid APIs charge per call now also reads the public directory of services paid through the Machine Payments Protocol (MPP), not only x402 catalogs.
- API
Agent API directories can list Last Price from one manifest
A new public manifest lists every call an agent can buy with no account, with its price and payment terms, so pay-per-call directories and tool routers can find Last Price and send agents to it.
- New
Agents can buy a single price verdict for 2 cents, with no account
An agent with a wallet can now buy one price verdict per call, with no account or key, and is not charged when the price cannot be judged.
Ready to try it?
Spin up a free playground tenant in under a minute. No credit card.