# Crypto & Gold Price Forecast: Ranges + Touch Odds (`veriql/crypto-gold-price-range-forecast`) Actor

8-hour and 24-hour price forecasts for Bitcoin, Ether, XRP, Solana, NEAR, gold and silver, as 80% and 90% ranges plus the chance of touching +/-1% to 13%. From the free Veriql Forecast API. Forecast, not financial advice.

- **URL**: https://apify.com/veriql/crypto-gold-price-range-forecast.md
- **Developed by:** [Veriql Team](https://apify.com/veriql) (community)
- **Categories:** Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does Crypto & Gold Price Forecast do?

It gives you a **price forecast as a range**, not a single target, for:

- **Bitcoin (BTC), Ether (ETH), XRP, Solana (SOL), NEAR**
- **Gold (XAU), silver (XAG)** and the **gold/silver ratio (XAUXAG)**

For each asset there are two windows, **8 hours** and **24 hours**. Each window has:

- an **80% range** and a **90% range**: where the price should be when the window ends, 8 and 9 times in 10
- **touch odds**: the chance that the price touches +/-1%, 2%, 3%, 5%, 8% or 13% from the start **before** the window ends, and the chance that it is still beyond that level **at** the end

Run it and get one row per asset and window, ready to download as JSON, CSV or Excel, or to pull into Google Sheets, Make, Zapier or n8n.

**Forecast, not financial advice.** The numbers describe uncertainty. They are not buy or sell signals.

### Why use a range forecast?

A single price target is almost always wrong. A range says how far the price is likely to move in the next 8 or 24 hours, which is what you need to:

- set a stop-loss or take-profit level that is not inside normal noise
- size a position or a hedge for a day's typical move
- show "expected range today" on a dashboard, in a bot or in a newsletter
- give an AI agent or a workflow a number for "how much could this move by tonight?"

Touch odds answer a different question from the range. A price can touch +2% and fall back before the window closes. A stop or a limit order cares about the touch. A bet on where the price closes cares about the end.

### How to use it

1. Click **Try for free**.
2. Pick the **Assets** (leave empty for all eight) and the **Windows** (`8h`, `24h` or both).
3. Click **Start**. Results appear in the **Output** tab within a few seconds.

Each run makes a single request to the free [Veriql Forecast API](https://forecast.veriql.app/api). Forecasts are refreshed when a new window opens, so running it more than every few minutes returns the same numbers.

### Input example

```json
{
  "assets": ["BTC", "ETH", "XAU"],
  "horizons": ["8h", "24h"],
  "includeTouchOdds": true
}
```

### Output example

This is the 24-hour Bitcoin window that opened at 00:00 UTC on 27 Nov 2026 (touch list shortened). Live values differ.

```json
{
  "asset": "BTC",
  "name": "Bitcoin",
  "horizon": "24h",
  "status": "live",
  "labels": [],
  "startPrice": 60492.37,
  "range80Low": 58167.382544,
  "range80High": 62828.312311,
  "range80LowPct": -3.843,
  "range80HighPct": 3.862,
  "range90Low": 57350.875549,
  "range90High": 64020.329411,
  "range90LowPct": -5.193,
  "range90HighPct": 5.832,
  "windowEndsAt": "2026-11-28T00:00:00.000Z",
  "closedUntil": null,
  "scoredWindows": 0,
  "generatedAt": "2026-11-27T22:00:15.000Z",
  "credits": "Price data: Bitstamp; Metal prices: gold-api.com",
  "disclaimer": "Forecast, not financial advice.",
  "source": "https://forecast.veriql.app",
  "touchOdds": [
    { "move": "+1%", "price": 61097.2937, "chanceToTouch": 0.7068, "chanceBeyondAtEnd": 0.3397 },
    { "move": "-1%", "price": 59887.4463, "chanceToTouch": 0.7342, "chanceBeyondAtEnd": 0.3452 }
  ]
}
```

### How to read the output

| Field | Meaning |
|---|---|
| `status` | `live` = a forecast is open. `warming_up` = the asset is still collecting data, no range yet. `market_closed` = gold and silver outside trading hours; `closedUntil` says when trading opens again. |
| `startPrice` | Price when the window opened. Ranges and touch levels are measured from it. |
| `range90Low` / `range90High` | The price should end the window inside this range about 9 times in 10. |
| `range80Low` / `range80High` | The narrower range for about 8 times in 10. |
| `windowEndsAt` | When the window closes (UTC). |
| `touchOdds[].chanceToTouch` | Probability (0 to 1) that the price trades at that level at any point before the window ends. |
| `touchOdds[].chanceBeyondAtEnd` | Probability that the price is still beyond that level when the window ends. |
| `labels` | `beta` for the metals; `thin_data` when an asset has little history so far. |
| `scoredWindows` | How many past windows of this asset and horizon have been scored. |

### How the record is kept

Every window is scored in public after it closes, misses included. A daily hash of the record makes later edits visible. The live record started on 25 Nov 2026, so only a few windows have been scored so far. Check the [scorecard](https://forecast.veriql.app/scorecard) for the current hit rates instead of taking our word for it.

### Credits and fair use

- Price data: Bitstamp. Metal prices: gold-api.com. Each row carries the `credits` and `disclaimer` fields; please show them next to the numbers wherever you display them.
- The forecasts can be cached for 5 minutes, so there is no need to schedule this Actor more often than that.

### Other ways to get the same data

- **Free API, no key:** `curl https://forecast.veriql.app/v1/latest/BTC` ([API reference](https://forecast.veriql.app/api), [guide to reading a range](https://forecast.veriql.app/guide))
- **Live page:** [ranges and touch odds on Hugging Face](https://huggingface.co/spaces/veriql/crypto-gold-price-forecast), with a calculator for the odds at any price
- **Tutorials:** [the API in Python and JavaScript](https://dev.to/veriql/a-free-price-forecast-api-with-no-key-bitcoin-ether-gold-and-more-as-ranges-and-touch-odds-26dj) and [touch odds at any exact price, in Python](https://dev.to/veriql/what-are-the-odds-bitcoin-touches-your-price-today-touch-odds-at-any-price-from-a-free-api-python-37oa)
- **API hubs:** [Postman collection](https://www.postman.com/veriql/veriql) and [RapidAPI listing](https://rapidapi.com/Vigil/api/veriql-forecast)
- **For AI agents that pay per call:** the same forecast over x402 at `https://veriql.app/api/v1/forecast` and `/api/v1/forecast-odds`, $0.01 per call in USDC, no account.

### FAQ

**Is this a trading signal?**
No. It is a statement about how far the price is likely to move, with a stated probability. Forecast, not financial advice.

**Why does gold show no range?**
Gold and silver only get a forecast while their market is open. Outside trading hours the row has `status: "market_closed"` and `closedUntil`.

**How much does a run cost?**
One small HTTP request. On Apify's free plan a run uses a tiny fraction of the monthly credit.

**Something is wrong or missing.**
Open an issue on the **Issues** tab and we will look at it.

***

Made by the Veriql team, who also run the Forecast API. This README was written by an AI agent working for the Veriql team; every example was produced by a real run. Forecast, not financial advice.

# Actor input Schema

## `assets` (type: `array`):

Which assets to return. Leave empty for all of them. Codes: BTC, ETH, XRP, SOL, NEAR, XAU (gold), XAG (silver), XAUXAG (gold/silver ratio).

## `horizons` (type: `array`):

8h, 24h or both. Leave empty for both.

## `includeTouchOdds` (type: `boolean`):

Add the chance that the price touches +/-1%, 2%, 3%, 5%, 8% and 13% from the start before the window ends, and the chance it is still beyond that level at the end.

## Actor input object example

```json
{
  "assets": [
    "BTC",
    "ETH",
    "XAU"
  ],
  "horizons": [
    "8h",
    "24h"
  ],
  "includeTouchOdds": true
}
```

# Actor output Schema

## `results` (type: `string`):

One row per asset and window: status, start price, 80% and 90% ranges, window end, touch odds, credits and disclaimer.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "assets": [
        "BTC",
        "ETH",
        "XAU"
    ],
    "horizons": [
        "8h",
        "24h"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("veriql/crypto-gold-price-range-forecast").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "assets": [
        "BTC",
        "ETH",
        "XAU",
    ],
    "horizons": [
        "8h",
        "24h",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("veriql/crypto-gold-price-range-forecast").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "assets": [
    "BTC",
    "ETH",
    "XAU"
  ],
  "horizons": [
    "8h",
    "24h"
  ]
}' |
apify call veriql/crypto-gold-price-range-forecast --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,veriql/crypto-gold-price-range-forecast"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/V4Sxk3kUy4DCIioNN/builds/AVFnLatVdWssYrZHw/openapi.json
