Create a default price window

post/api/assetpricing/v1/admin/defaultprices

Creates a default price for a base/quote asset pair within a time window.

Request Body

base string required
Base asset symbol
Min length: >= 1 characters
Example: ETH
quote string required
Quote asset symbol
Min length: >= 1 characters
Example: USDC
price number required
Default price for the asset pair
Minimum: >= 0
Exclusive minimum: > true
Example: 1
start_time string required
Start timestamp in ISO format
Min length: >= 1 characters
Example: 2026-01-01T00:00:00.000Z
end_time string
End timestamp in ISO format (null means open-ended)
Example: 2026-01-15T00:00:00.000Z

200 Response

id string required
Default price identifier
Example: 550e8400-e29b-41d4-a716-446655440000
base string required
Base asset symbol
Example: eth
quote string required
Quote asset symbol
Example: fiatusd
price string required
Default price for the asset pair
Example: 1.0
start_time string required
Start timestamp in ISO format
Example: 2026-01-01T00:00:00.000Z
end_time
string or null
End timestamp in ISO format (null means open-ended)
Example: 2026-01-15T00:00:00.000Z
created_at string required
When the default price was created
Example: 2026-01-01T00:00:00.000Z
updated_at string required
When the default price was last updated
Example: 2026-01-02T00:00:00.000Z

400 Response

string