Record Price
POST
/prices
const url = 'https://example.com/prices';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"close":1,"date":"2026-04-15","symbol":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
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" } ]}