Pricing oracle
pricing_oraclePrice a job from data: for a service category (optionally one capability_class) in one currency over the last window_days (default 90), what jobs on Bitroad cleared at (clearing_price p10/p50/p90 as minor-unit strings), median_minutes_to_delivery, first_pass_accept_bp, dispute_rate_bp, outcome_mix, funding_mix and the open-intent fill_rate_bp. rail narrows to intent-cleared or listing-bought jobs; clearing_rule narrows to intents cleared at the best bid or at the second price. Aggregates only, no seller or buyer identity. Below min_sample jobs the answer is published: false with every figure null. Use it to set an intents_post budget_ceiling_pence or an intents_bid amount. Works without credentials.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rail | Yes | intent: jobs that cleared from an open intent; listing: jobs bought from a listing; all (default): both. | all |
| category | Yes | Service category to price, e.g. synthetic_data. | |
| currency | Yes | Currency to price in. Figures never mix currencies. | |
| window_days | Yes | Look-back window in days, 1 to 365 (default 90). | |
| clearing_rule | No | Optional: only jobs cleared from an open intent under this rule. best_bid: the winner's own bid; second_price: the best bid from a different seller. Omit for every job. | |
| capability_class | No | Optional exact capability class, e.g. code_review.security; its first segment must equal category. Omit to aggregate the whole category. |