{"example":true,"paid_url":"/api/v1/paid/reprice-regret","method":"POST","price":"$0.01","input":{"resource_url":"https://x402.shizu.me/crypto","window_days":90},"input_schema":{"type":"object","additionalProperties":false,"description":"Exactly one of resource_url or seller_payto is required.","examples":[{"resource_url":"https://x402.shizu.me/crypto"}],"properties":{"resource_url":{"type":"string","description":"One listing: the resource URL exactly as the x402 Bazaar reports it (http/https). Mutually exclusive with seller_payto."},"seller_payto":{"type":"string","description":"All listings paid to this address (the payTo the Bazaar reports); up to 25 per page with a cursor. Mutually exclusive with resource_url."},"window_days":{"type":"integer","minimum":7,"maximum":90,"default":30,"description":"How many snapshot days back from the latest snapshot to replay (7–90, default 30)."},"network":{"type":"string","description":"Optional CAIP-2 network filter, e.g. 'eip155:8453' or 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d'."},"cursor":{"type":"string","description":"Opaque paging cursor from a previous seller_payto response."}}},"response_schema":{"type":"object","description":"resource_url mode returns one listing at the top level; seller_payto mode returns { seller_payto, listings[], next_cursor } with the same listing shape.","properties":{"resource_url":{"type":"string"},"service_name":{"type":"string"},"seller_payto":{"type":"string"},"networks":{"type":"array","items":{"type":"string"}},"status":{"type":"string","enum":["repricing_observed","no_repricing_observed"]},"snapshot_range":{"type":"object","description":"Snapshots the listing appeared in inside the window.","properties":{"first":{"type":"string"},"last":{"type":"string"},"days":{"type":"integer"},"observations":{"type":"integer"}}},"still_listed":{"type":"boolean"},"observed_prices":{"type":"array","description":"Present when status is no_repricing_observed: the single price per network and when it was seen.","items":{"type":"object","properties":{"network":{"type":"string"},"amount_atomic":{"type":"integer"},"first_seen":{"type":"string"},"last_seen":{"type":"string"}}}},"price_history":{"type":"array","description":"One point per snapshot date where the observed amount differed from the previous observation on that network (the first observation included).","items":{"type":"object","properties":{"snap_date":{"type":"string"},"amount_atomic":{"type":"integer"},"network":{"type":"string"},"payers_30d":{"type":"integer"},"calls_30d":{"type":"integer"}}}},"repricing_events":{"type":"array","items":{"type":"object","properties":{"network":{"type":"string"},"change_date":{"type":"string","description":"First snapshot date the new price was observed."},"before_price":{"type":"integer","description":"Atomic USDC (6dp)."},"after_price":{"type":"integer"},"before_price_usdc":{"type":"number"},"after_price_usdc":{"type":"number"},"ratio":{"type":"number"},"before":{"type":"object","description":"Nearest snapshot before the change.","properties":{"snap_date":{"type":"string"},"payers_30d":{"type":"integer"},"calls_30d":{"type":"integer"}}},"after":{"type":"object","description":"Latest snapshot after the change at which the new price still held.","properties":{"snap_date":{"type":"string"},"payers_30d":{"type":"integer"},"calls_30d":{"type":"integer"}}},"calls_30d_delta":{"type":"integer"},"payers_30d_delta":{"type":"integer"},"counterfactual":{"type":"object","properties":{"calls_30d":{"type":"integer"},"revenue_at_new_price_usdc":{"type":"number"},"revenue_at_old_price_usdc":{"type":"number"},"regret_usdc":{"type":"number","description":"revenue_at_old_price − revenue_at_new_price; positive means the abandoned price would have earned more on the observed volume."},"assumption":{"type":"string"}}},"verdict":{"type":"string","description":"One plain-language line."}}}},"regret_total_usdc":{"type":"number","description":"Sum of regret_usdc over the events."},"peers":{"type":"object","description":"resource_url mode only: listings sharing the first tag on the latest snapshot.","properties":{"tag_or_category":{"type":"string"},"median_amount_atomic":{"type":"integer"},"median_payers_30d":{"type":"integer"},"sample_size":{"type":"integer"}}},"evidence_hash":{"type":"string","description":"sha256 of the canonical JSON of the replayed rows."},"window":{"type":"object","properties":{"days":{"type":"integer"},"from":{"type":"string"},"to":{"type":"string","description":"Latest completed Bazaar snapshot."}}},"assumptions":{"type":"array","items":{"type":"string"}},"generated_at":{"type":"string"},"listings":{"type":"array","description":"seller_payto mode.","items":{"type":"object","properties":{"resource_url":{"type":"string"},"service_name":{"type":"string"},"seller_payto":{"type":"string"},"networks":{"type":"array","items":{"type":"string"}},"status":{"type":"string","enum":["repricing_observed","no_repricing_observed"]},"snapshot_range":{"type":"object","description":"Snapshots the listing appeared in inside the window.","properties":{"first":{"type":"string"},"last":{"type":"string"},"days":{"type":"integer"},"observations":{"type":"integer"}}},"still_listed":{"type":"boolean"},"observed_prices":{"type":"array","description":"Present when status is no_repricing_observed: the single price per network and when it was seen.","items":{"type":"object","properties":{"network":{"type":"string"},"amount_atomic":{"type":"integer"},"first_seen":{"type":"string"},"last_seen":{"type":"string"}}}},"price_history":{"type":"array","description":"One point per snapshot date where the observed amount differed from the previous observation on that network (the first observation included).","items":{"type":"object","properties":{"snap_date":{"type":"string"},"amount_atomic":{"type":"integer"},"network":{"type":"string"},"payers_30d":{"type":"integer"},"calls_30d":{"type":"integer"}}}},"repricing_events":{"type":"array","items":{"type":"object","properties":{"network":{"type":"string"},"change_date":{"type":"string","description":"First snapshot date the new price was observed."},"before_price":{"type":"integer","description":"Atomic USDC (6dp)."},"after_price":{"type":"integer"},"before_price_usdc":{"type":"number"},"after_price_usdc":{"type":"number"},"ratio":{"type":"number"},"before":{"type":"object","description":"Nearest snapshot before the change.","properties":{"snap_date":{"type":"string"},"payers_30d":{"type":"integer"},"calls_30d":{"type":"integer"}}},"after":{"type":"object","description":"Latest snapshot after the change at which the new price still held.","properties":{"snap_date":{"type":"string"},"payers_30d":{"type":"integer"},"calls_30d":{"type":"integer"}}},"calls_30d_delta":{"type":"integer"},"payers_30d_delta":{"type":"integer"},"counterfactual":{"type":"object","properties":{"calls_30d":{"type":"integer"},"revenue_at_new_price_usdc":{"type":"number"},"revenue_at_old_price_usdc":{"type":"number"},"regret_usdc":{"type":"number","description":"revenue_at_old_price − revenue_at_new_price; positive means the abandoned price would have earned more on the observed volume."},"assumption":{"type":"string"}}},"verdict":{"type":"string","description":"One plain-language line."}}}},"regret_total_usdc":{"type":"number","description":"Sum of regret_usdc over the events."},"peers":{"type":"object","description":"resource_url mode only: listings sharing the first tag on the latest snapshot.","properties":{"tag_or_category":{"type":"string"},"median_amount_atomic":{"type":"integer"},"median_payers_30d":{"type":"integer"},"sample_size":{"type":"integer"}}},"evidence_hash":{"type":"string","description":"sha256 of the canonical JSON of the replayed rows."}}}},"listing_count":{"type":"integer","description":"seller_payto mode."},"next_cursor":{"type":"string","description":"seller_payto mode; null when no more listings."}}},"report":{"resource_url":"https://x402.shizu.me/crypto","service_name":"Crypto Spot Price","seller_payto":"0x217e5Fe265EB78b29067bF8324ef03a7D8e167C4","networks":["eip155:8453"],"status":"repricing_observed","snapshot_range":{"first":"2026-07-30","last":"2026-09-08","days":41,"observations":41},"still_listed":false,"price_history":[{"snap_date":"2026-07-30","amount_atomic":1000,"network":"eip155:8453","payers_30d":6,"calls_30d":33},{"snap_date":"2026-08-05","amount_atomic":2000,"network":"eip155:8453","payers_30d":7,"calls_30d":44},{"snap_date":"2026-08-06","amount_atomic":3000,"network":"eip155:8453","payers_30d":8,"calls_30d":45},{"snap_date":"2026-08-11","amount_atomic":4000,"network":"eip155:8453","payers_30d":9,"calls_30d":74},{"snap_date":"2026-08-18","amount_atomic":5000,"network":"eip155:8453","payers_30d":9,"calls_30d":88},{"snap_date":"2026-08-23","amount_atomic":6000,"network":"eip155:8453","payers_30d":10,"calls_30d":191},{"snap_date":"2026-08-30","amount_atomic":7000,"network":"eip155:8453","payers_30d":8,"calls_30d":230}],"repricing_events":[{"network":"eip155:8453","change_date":"2026-08-05","before_price":1000,"after_price":2000,"before_price_usdc":0.001,"after_price_usdc":0.002,"ratio":2,"before":{"snap_date":"2026-08-04","payers_30d":6,"calls_30d":43},"after":{"snap_date":"2026-08-05","payers_30d":7,"calls_30d":44},"calls_30d_delta":1,"payers_30d_delta":1,"counterfactual":{"calls_30d":44,"revenue_at_new_price_usdc":0.088,"revenue_at_old_price_usdc":0.044,"regret_usdc":-0.044,"assumption":"volume assumed unchanged: both revenues use the calls_30d observed at the new price"},"verdict":"Raised 1000 → 2000 atomic ($0.001 → $0.002) on 2026-08-05; on the 44 calls_30d observed at the new price by 2026-08-05 the new price earns $0.088 versus $0.044 at the old price (regret -$0.044): the reprice earned more on unchanged volume; calls_30d moved 43 → 44 (+1) and payers_30d 6 → 7 (+1) across it."},{"network":"eip155:8453","change_date":"2026-08-06","before_price":2000,"after_price":3000,"before_price_usdc":0.002,"after_price_usdc":0.003,"ratio":1.5,"before":{"snap_date":"2026-08-05","payers_30d":7,"calls_30d":44},"after":{"snap_date":"2026-08-10","payers_30d":8,"calls_30d":67},"calls_30d_delta":23,"payers_30d_delta":1,"counterfactual":{"calls_30d":67,"revenue_at_new_price_usdc":0.201,"revenue_at_old_price_usdc":0.134,"regret_usdc":-0.067,"assumption":"volume assumed unchanged: both revenues use the calls_30d observed at the new price"},"verdict":"Raised 2000 → 3000 atomic ($0.002 → $0.003) on 2026-08-06; on the 67 calls_30d observed at the new price by 2026-08-10 the new price earns $0.201 versus $0.134 at the old price (regret -$0.067): the reprice earned more on unchanged volume; calls_30d moved 44 → 67 (+23) and payers_30d 7 → 8 (+1) across it."},{"network":"eip155:8453","change_date":"2026-08-11","before_price":3000,"after_price":4000,"before_price_usdc":0.003,"after_price_usdc":0.004,"ratio":1.3333,"before":{"snap_date":"2026-08-10","payers_30d":8,"calls_30d":67},"after":{"snap_date":"2026-08-17","payers_30d":9,"calls_30d":88},"calls_30d_delta":21,"payers_30d_delta":1,"counterfactual":{"calls_30d":88,"revenue_at_new_price_usdc":0.352,"revenue_at_old_price_usdc":0.264,"regret_usdc":-0.088,"assumption":"volume assumed unchanged: both revenues use the calls_30d observed at the new price"},"verdict":"Raised 3000 → 4000 atomic ($0.003 → $0.004) on 2026-08-11; on the 88 calls_30d observed at the new price by 2026-08-17 the new price earns $0.352 versus $0.264 at the old price (regret -$0.088): the reprice earned more on unchanged volume; calls_30d moved 67 → 88 (+21) and payers_30d 8 → 9 (+1) across it."},{"network":"eip155:8453","change_date":"2026-08-18","before_price":4000,"after_price":5000,"before_price_usdc":0.004,"after_price_usdc":0.005,"ratio":1.25,"before":{"snap_date":"2026-08-17","payers_30d":9,"calls_30d":88},"after":{"snap_date":"2026-08-22","payers_30d":10,"calls_30d":168},"calls_30d_delta":80,"payers_30d_delta":1,"counterfactual":{"calls_30d":168,"revenue_at_new_price_usdc":0.84,"revenue_at_old_price_usdc":0.672,"regret_usdc":-0.168,"assumption":"volume assumed unchanged: both revenues use the calls_30d observed at the new price"},"verdict":"Raised 4000 → 5000 atomic ($0.004 → $0.005) on 2026-08-18; on the 168 calls_30d observed at the new price by 2026-08-22 the new price earns $0.84 versus $0.672 at the old price (regret -$0.168): the reprice earned more on unchanged volume; calls_30d moved 88 → 168 (+80) and payers_30d 9 → 10 (+1) across it."},{"network":"eip155:8453","change_date":"2026-08-23","before_price":5000,"after_price":6000,"before_price_usdc":0.005,"after_price_usdc":0.006,"ratio":1.2,"before":{"snap_date":"2026-08-22","payers_30d":10,"calls_30d":168},"after":{"snap_date":"2026-08-29","payers_30d":8,"calls_30d":230},"calls_30d_delta":62,"payers_30d_delta":-2,"counterfactual":{"calls_30d":230,"revenue_at_new_price_usdc":1.38,"revenue_at_old_price_usdc":1.15,"regret_usdc":-0.23,"assumption":"volume assumed unchanged: both revenues use the calls_30d observed at the new price"},"verdict":"Raised 5000 → 6000 atomic ($0.005 → $0.006) on 2026-08-23; on the 230 calls_30d observed at the new price by 2026-08-29 the new price earns $1.38 versus $1.15 at the old price (regret -$0.23): the reprice earned more on unchanged volume; calls_30d moved 168 → 230 (+62) and payers_30d 10 → 8 (-2) across it."},{"network":"eip155:8453","change_date":"2026-08-30","before_price":6000,"after_price":7000,"before_price_usdc":0.006,"after_price_usdc":0.007,"ratio":1.1667,"before":{"snap_date":"2026-08-29","payers_30d":8,"calls_30d":230},"after":{"snap_date":"2026-09-08","payers_30d":8,"calls_30d":206},"calls_30d_delta":-24,"payers_30d_delta":0,"counterfactual":{"calls_30d":206,"revenue_at_new_price_usdc":1.442,"revenue_at_old_price_usdc":1.236,"regret_usdc":-0.206,"assumption":"volume assumed unchanged: both revenues use the calls_30d observed at the new price"},"verdict":"Raised 6000 → 7000 atomic ($0.006 → $0.007) on 2026-08-30; on the 206 calls_30d observed at the new price by 2026-09-08 the new price earns $1.442 versus $1.236 at the old price (regret -$0.206): the reprice earned more on unchanged volume; calls_30d moved 230 → 206 (-24) and payers_30d 8 → 8 (+0) across it."}],"regret_total_usdc":-0.803,"evidence_hash":"sha256:652dd40e2cd7290f4e2bce65b60225f116573d9facf37a8ab055874531bd15d7","peers":{"tag_or_category":"crypto","median_amount_atomic":10000,"median_payers_30d":1,"sample_size":813,"excludes_self":true},"window":{"days":90,"from":"2026-06-10","to":"2026-09-07"},"assumptions":["calls_30d and payers_30d are Bazaar-reported trailing 30-day counts, read from daily snapshots","before readings come from the last snapshot at the old price; after readings from the last snapshot at which the new price still held","volume assumed unchanged: both revenues use the calls_30d observed at the new price","no demand elasticity is inferred beyond the observed snapshots; a change before the window is not an event"],"generated_at":"2026-09-08T04:36:30.804Z"}}