Skip to content

Get data quality/reconciliation report for address

GET
/api/calculate/reconciliation/{address}
curl --request GET \
--url https://api.qeychain.xyz/api/calculate/reconciliation/example

Returns a comprehensive reconciliation report for a wallet address, similar to CoinLedger’s “Error Reconciliation” feature.

Surfaces all data quality issues:
- **Untracked lots**: Sells without matching buys (need more transaction history)
- **Duplicate transactions**: Transactions that were skipped as duplicates
- **Missing prices**: Transactions where USD value couldn't be determined
- **Lineage breaks**: Lots with incomplete money trail (can't trace to origin)

Severity levels:
- **ok**: No issues found
- **warning**: <10 issues or lineage completeness >80%
- **critical**: >=10 issues and lineage completeness <80%

Use this endpoint to identify data gaps that may affect tax accuracy.
address
required
Address
string
owned_wallets
Any of:
Array<string>

All wallet addresses owned by the user (for internal transfer detection). Comma-separated or repeated.

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"
}