{"slug":"last-price-ai-api-compute-price-ab7db5","title":"Last Price computes what one thing should cost","host":"last-price.ai","method":"POST","resource":"https://last-price.ai/api/compute/price","category":"commerce","description":"Last Price computes what one thing should cost. Send the product context (type, unit cost, current price, currency) and get a price with its confidence, alternatives and a receipt. Use it before an agent quotes, buys, pays a service or places an order, so the amount it commits has a reason behind it","price_listed":0.01,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":2,"answered_7d":2,"latency_ms_median":735,"reported_calls_30d":25,"reported_payers_30d":3,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"context":{"currency":"USD","current_price":49,"product_id":"pro-plan","product_type":"saas"},"routing_preference":"default"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"constraints":{"description":"min_price and max_price bound the answer.","type":"object"},"context":{"properties":{"currency":{"description":"Three-letter ISO 4217 code, such as USD.","pattern":"^[A-Z]{3}$","type":"string"},"current_price":{"minimum":0,"type":"number"},"metadata":{"description":"For example unit_cost and target_margin_pct for cost-plus pricing.","type":"object"},"product_id":{"minLength":1,"type":"string"},"product_type":{"enum":["saas","ecommerce","marketplace","digital","api","custom"],"type":"string"}},"required":["currency"],"type":"object"},"function_id":{"description":"Pin the computation to one pricing function.","type":"string"},"options":{"type":"object"},"request_id":{"description":"Optional caller-supplied UUID.","type":"string"},"routing_preference":{"enum":["cheapest","fastest","explicit","round_robin","weighted","policy","default"],"type":"string"}},"required":["context"],"type":"object"},"bodyType":{"enum":["json"],"type":"string"},"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"enum":["POST"],"type":"string"},"queryParams":{"additionalProperties":{"type":"string"},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":780,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":691,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":672,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":924,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":634,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":628,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":359,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":671,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1205,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":807,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":501,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":465,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1063,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":547,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1154,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":323,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":528,"error":null},{"day":"2026-11-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1451,"error":null},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1098,"error":null}],"description_full":"Last Price computes what one thing should cost. Send the product context (type, unit cost, current price, currency) and get a price with its confidence, alternatives and a receipt. Use it before an agent quotes, buys, pays a service or places an order, so the amount it commits has a reason behind it. POST /api/compute/price.","last_updated":"2026-11-26T17:48:57.098Z","schemes":["exact"]}