Skip to main content
POST
/
quantlib
/
economics
/
auctions
/
simulate
Monte Carlo Auction Simulation
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/economics/auctions/simulate \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "auction_type": "first_price",
  "n_bidders": 3,
  "n_simulations": 10000,
  "value_dist": "uniform",
  "seed": 42
}
'
{
  "success": true,
  "data": {
    "auction_type": "first_price",
    "n_simulations": 10000,
    "average_revenue": 0.5002,
    "std_revenue": 0.1923
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register

Body

application/json
auction_type
enum<string>
required

Type of auction mechanism

Available options:
first_price,
second_price,
all_pay
Example:

"first_price"

n_bidders
integer
required

Number of bidders per auction

Required range: x >= 2
Example:

3

n_simulations
integer
default:10000

Number of auction simulations to run

Required range: x >= 1
Example:

10000

value_dist
enum<string>
default:uniform

Distribution for bidder valuations

Available options:
uniform
Example:

"uniform"

seed
integer
default:42

Random seed for reproducibility

Example:

42

Response

Successful Response

success
boolean
Example:

true

data
object