Skip to content

Record Price

POST
/prices
curl --request POST \
--url https://example.com/prices \
--header 'Content-Type: application/json' \
--data '{ "close": 1, "date": "2026-04-15", "symbol": "example" }'

Record a symbol’s close on a date by hand (replaces the manual close of that date, if any). It wins over a provider’s close of the SAME date; a newer close of any source still supersedes it.

Media typeapplication/json
PriceCreate
object
close
required
Any of:
number
> 0
date
required
Date

The close’s date: today or earlier.

string format: date
symbol
required
Symbol
string
>= 1 characters <= 15 characters

Example generated

{
"close": 1,
"date": "2026-04-15",
"symbol": "example"
}

Successful Response

Media typeapplication/json
PriceRecordedOut
object
accounts_reprojected
required
Accounts Reprojected
integer
close
required
Close
string
date
required
Date
string format: date
feed_accounts_revalued
Feed Accounts Revalued
integer
0
previous
required
Any of:
string
symbol
required
Symbol
string

Example

{
"feed_accounts_revalued": 0
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string

Example generated

{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}