Skip to content

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

    No account needed to try it: POST a pricing request to /api/public/compute/demo, or check a proposed price with /api/public/price-router/verify. Both are public, run on a demo tenant and allow 30 calls per IP per hour. For production, sign up with confirmed email or Sign in with AgentID, create a workspace and API key, then POST the same body to /api/compute/price with the key in x-api-key. The homepage playground calls the demo URL.

    Try the playground →
  • Testing with your own agents

    Let the agents you run register for themselves on the Agent Starter plan with one call, then claim their workspaces into one of yours, from the claim link or with a key that holds the workspace:claim scope.

    Read the guide →
  • Demos

    Six reference apps (CloudNote, agenting bank, AI API platform, e-commerce, marketplace, digital products) wired to Last Price, plus a hub that links them. 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