Skip to main content
POST

Authorizations

Authorization
string
header
required

Key on the API preset, or any key whose permissions include the ones this API lists. APIs with no required permission accept any key. Prefix it with "Key ", e.g. Authorization: Key YOUR_API_KEY

Body

application/json

Historical API price estimate: Calculates cost based on historical pricing per API call. Useful for estimating costs based on actual usage patterns.

estimate_type
enum<string>
required

Estimate type: historical API pricing based on past usage patterns

Available options:
historical_api_price
endpoints
object
required

Map of endpoint IDs to call quantities

Response

Cost estimates calculated successfully

Cost estimation response with total cost

estimate_type
enum<string>
required

The type of estimate that was performed

Available options:
historical_api_price,
unit_price
total_cost
number
required

Total estimated cost across all endpoints

Required range: x >= 0
currency
string
required

Three-letter currency code (ISO 4217, e.g., 'USD')

Required string length: 3