Developer API
The MyDepreciation API allows developers to programmatically access our calculation engine.
Endpoint
POST https://api.mydepreciation.org/v1/calculateRequest Body
{
"cost": 10000,
"salvageValue": 1000,
"usefulLife": 5,
"method": "straight-line",
"purchaseDate": "2024-01-01"
}Response
{
"totalDepreciation": 9000,
"schedule": [
{ "year": 2024, "expense": 1800, "bookValue": 8200 },
...
]
}Note: Public API access is currently in closed beta. Please contact us to request an API key.