Backtest buying a fixed amount of a token every N days (dollar-cost averaging) s
Backtest buying a fixed amount of a token every N days (dollar-cost averaging) since a past date: invested, units, average cost, current value, return, and comparison with investing everything at the start. Prices from DefiLlama.
Answeringour last check, 2026-10-04
1 of 1checks answered this week
326 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.vextorium.com/v1/dca-backtest
| Category | Market data |
|---|---|
| Provider host | api.vextorium.com |
| Networks | eip155:10, eip155:5042, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-04 | valid payment request | 402 | $0.005 | 326 ms |
Example input (from the provider)
{
"body": {
"amount": 100,
"currency": "BTC",
"days": 365,
"every_days": 7
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"amount": {
"type": "number"
},
"currency": {
"description": "BTC, ETH, SOL... or chain:contract",
"type": "string"
},
"days": {
"description": "Days back (default 365, max 1825)",
"type": "integer"
},
"every_days": {
"description": "Buy every N days (1-90)",
"type": "integer"
},
"since": {
"description": "Start date YYYY-MM-DD (or use dias)",
"type": "string"
}
},
"required": [
"currency",
"amount"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"all_at_once": {
"properties": {
"current_value": {
"type": [
"number",
"null"
]
},
"return_pct": {
"type": [
"number",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"avg_price": {
"type": [
"number",
"null"
]
},
"best_strategy": {
"type": [
"string",
"null"
]
},
"buys": {
"type": [
"number",
"null"
]
},
"currency": {
"type": [
"string",
"null"
]
},
"current_price": {
"type": [
"number",
"null"
]
},
"current_value": {
"type": [
"number",
"null"
]
},
"invested": {
"type": [
"number",
"null"
]
},
"note": {
"type": [
"string",
"null"
]
},
"return_pct": {
"type": [
"number",
"null"
]
},
"since": {
"type": [
"string",
"null"
]
},
"units": {
"type": [
"number",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}