Skip to main content

Get Latest Price of Doge Coin in USD

Get the real-time Dogecoin-to-USD price calculated directly from on-chain UTXO data using the Bitquery GraphQL API.

Query Latest Dogecoin USD Price from Recent On-Chain Inputs

Derive the current DOGE/USD price from the most recent on-chain input by computing the ratio of its USD value to its native amount. The result includes the block timestamp so you can verify recency.

Variations: Adjust the time filter to retrieve historical prices, or remove limit to build a price series over time. See query features for aggregation options.

Open this query on IDE

query MyQuery {
bitcoin(network: dogecoin) {
inputs(
options: { limit: 1, desc: "block.timestamp.time" }
time: { after: "2024-12-18T00:00:00Z" }
) {
amount: value
usd: value(in: USD)
price: expression(get: "usd/amount")
block {
timestamp {
time
}
}
}
}
}