Skip to main content

Oracle Prices

Deprecation Incoming

With the Solana Migration, these API endpoints may no longer be available.

Please refer to Oracles and Oracle Data documentation for more information on accessing data.

Available on the Oracles API

Current Oracle Price

Available on the Oracles API

The data provided by endpoint is available using the Oracles API and requires parsing S3 data. More information will be made available in the future.

GET https://api.helium.io/v1/oracle/prices/current

The current Oracle Price and at which block it took effect.

No Parameters


Current and Historical Oracle Prices

Available on the Oracles API

The data provided by endpoint is available using the Oracles API and requires parsing S3 data. More information will be made available in the future.

GET https://api.helium.io/v1/oracle/prices

The current and historical Oracle Prices and at which block they took effect. This route is paged using a cursor.

Path Parameters

paramTypeNote
max_block (optional)integerLast block number to include in the results
cursor (optional)stringReturned from an initial query, allowing client to fetch more results

Oracle Price Stats

Available on the Oracles API

The data provided by endpoint is available using the Oracles API and requires parsing S3 data. More information will be made available in the future.

GET https://api.helium.io/v1/oracle/prices/stats

Gets statistics on Oracle prices.

Query Parameters

paramTypeNote
min_time (required)stringFirst time to include in stats
max_time (required)stringLast time to include in stats

Oracle Price at a Specific Block

Available on the Oracles API

The data provided by endpoint is available using the Oracles API and requires parsing S3 data. More information will be made available in the future.

GET https://api.helium.io/v1/oracle/prices/:block

Provides the oracle price at a specific block and at which block it initially took effect.

Path Parameters

paramTypeNote
block (required)stringThe block to get the HNT Oracle Price at

List Oracle Activity

Available on the Oracles API

The data provided by endpoint is available using the Oracles API and requires parsing S3 data. More information will be made available in the future.

GET https://api.helium.io/v1/oracle/activity

List oracle price report transactions for all oracle keys. This route is paged with a cursor.

Path Parameters

paramTypeNote
cursor (optional)stringCursor for the next page to fetch
min_time (optional)stringFirst time to include data for
max_time (optional)stringLast time to include data for
limit (optional)numberMaximum number of items to return

List Activity for a Specific Oracle

Available on the Oracles API

The data provided by endpoint is available using the Oracles API and requires parsing S3 data. More information will be made available in the future.

GET https://api.helium.io/v1/oracle/:address/activity

Lists price report transactions for the given oracle key. This route is paged using a cursor.

Path Parameters

paramTypeNote
address (optional)stringThe public key of the oracle

Query Parameters

paramTypeNote
cursor (optional)stringCursor for the next page to fetch
min_time (optional)stringFirst time to include data for
max_time (optional)stringLast time to include data for
limit (optional)numberMaximum number of items to return

Get Predicted HNT Oracle Prices

Available on the Oracles API

The data provided by endpoint is available using the Oracles API and requires parsing S3 data. More information will be made available in the future.

GET https://api.helium.io/v1/oracle/predictions

This returns a list of expected times when the Oracle Price is expected to change.The blockchain operates in "block-time", meaning that blocks can come out at some schedule close to 1 per minute. Oracles report in "wall-clock-time", meaning they report what they believe the price should be.If the route returns one or more prices and times, it indicates that the chain is expected to adjust the price (based on Oracle reports) no earlier than the indicated time to the returned price.NOTE: A prediction may not be seen in the blockchain if they are close together (within 10 blocks) since block times may cause the blockchain to skip to a next predicted price. If no predictions are returned the current HNT Oracle Price is valid for at least 1 hour.

No Parameters