Show Study cost

View as MarkdownOpen in Claude
Returns cost information about the study. Default behaviour is to return cost at the time of the request, but projected cost can be requested via a query parameter.

Authentication

Authorizationstring
The Prolific API uses API token to authenticate requests. You can create an API token directly from your settings. Your API token does not have an expiry date and carries full permission, so be sure to keep them secure. If your token is leaked, delete it and create a new one directly in the app. In your requests add `Authorization` header with the value `Token <your token>`.

Path Parameters

idstringRequired
Study id

Query Parameters

is_projectedbooleanOptionalDefaults to false
Return the projected cost of the study

Response

Return the total cost for the study
rewardsobject or null
bonusesobject or null

Errors