Docs
Build against Last Price
The OpenAPI 3.0 spec is the source of truth. Generate clients from it, or use the interactive Swagger UI to explore.
API reference
Swagger UI rendered from the live openapi.yaml. Authorize with a JWT or an API key (lp_…) and Try it out against the running server.
Open API reference →OpenAPI spec
Raw openapi.yaml served from /api/openapi. Pipe it into your code generator of choice (openapi-generator, oapi-codegen, swagger-codegen).
Download spec →First call
Sign up to provision a tenant, mint a JWT (POST /api/auth/token), then POST a pricing request to /api/compute/price. The hero playground is the same call, against a demo tenant.
Try the playground →Demos
Seven reference apps (CloudNote, agenting bank, AI API platform, e-commerce, marketplace, digital products, hub) wired to Last Price. Read the source, fork what you need.
Browse demos →Rosetta translation
AI-mediated translation between merchant payloads and vendor contracts, with hard contracts at compile/validate/freeze. Open canonical schemas (offer, product, observation, match, action) plus an autonomous one-call ingest endpoint.
Open Rosetta product page →
Inference adapters
- OpenAI
- Anthropic
- Hugging Face
- Replicate
- Together AI
- Baseten
- OpenRouter
- Apify
- NVIDIA AITune