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 →
  • Give your agent a wallet

    Set up a dedicated wallet so your agent can pay for each price computation in USDC with x402, with no account: create it, fund it, let it pay, and keep its spending small.

    Set up a wallet →
  • Demos

    Six reference apps (CloudNote, AgentBank, CloudAI, ModernGoods, SkillHub and LearnFast) 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 →

Watch first

Last Price in two minutes

An agent signs itself up, prices its own job, and a buyer agent checks the quote with the API these docs describe.

An agent prices a real job · 1:52

A seller agent signs itself up and prices its own data-cleanup job. A buyer agent checks the $2.10 quote, finds it too high and settles at $0.70. Then the owner claims the workspace, and the Last Price call costs less than a tenth of a cent.

All demo videos, with vertical cuts and downloads

Inference adapters

  • OpenAI
  • Anthropic
  • Hugging Face
  • Replicate
  • Together AI
  • Baseten
  • OpenRouter
  • Apify
  • NVIDIA AITune