Skip to content

Get lots needing manual cost basis

GET
/api/wallets/{address}/lots/untracked
curl --request GET \
--url https://api.qeychain.xyz/api/wallets/example/lots/untracked

Returns all lots that need manual cost basis entry.

These are typically assets received from external wallets (e.g., Coinbase)
where the original acquisition cost couldn't be determined from on-chain data.

Use the PATCH /lots/{lot_id}/cost-basis endpoint to set the cost basis.
address
required
Address
string

Successful Response

Media typeapplication/json
Examplegenerated
example

Bad Request

Media typeapplication/json
ErrorResponse

Standard error response.

object
detail
required
Detail

Error message

string
error_code
Any of:
string
Examplegenerated
{
"detail": "example",
"error_code": "example"
}

Not Found

Media typeapplication/json
ErrorResponse

Standard error response.

object
detail
required
Detail

Error message

string
error_code
Any of:
string
Examplegenerated
{
"detail": "example",
"error_code": "example"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}

Internal Server Error

Media typeapplication/json
ErrorResponse

Standard error response.

object
detail
required
Detail

Error message

string
error_code
Any of:
string
Examplegenerated
{
"detail": "example",
"error_code": "example"
}