Market data platform · Price API · Live charts · On-chain oracle

Live market prices for your code, your charts and your smart contracts

Ticker price API for developers. One account gives you a clean JSON price API for forex, metals, indices, stocks and crypto, plus free professional charts with 71 indicators, a backtest console, paper trading, price alerts on every channel and a community of traders.

  • 1000 free credits
  • No subscription
  • Try it with no signup
  • LIVE / CLOSED status on every price

Live market prices

Connecting…
TickerBidAskUpdated
XAUUSDGold / US Dollar3843.073843.26live
EURUSDEuro / US Dollar1.098461.09858live
GBPUSDBritish Pound / US Dollar1.319841.319975s ago
USDJPYUS Dollar / Japanese Yen159.549159.564live
XAGUSDSilver / US Dollar47.33747.378live
AUDUSDAustralian Dollar / US Doll…0.673400.673583s ago
USDCADUS Dollar / Canadian Dollar1.430501.43070live
USDCHFUS Dollar / Swiss Franc0.841680.84188live

Same data as GET /v1/prices/latest · refreshed every second · tap a ticker for its chart · all 1,930 prices

1,930tickers across 6 markets
1 sprice refresh
21timeframes, 1 minute to 1 month
71indicators
47drawing tools
40+patterns found for you
$1per 1,000 credits

One account, three products

Pick what you need today, add the rest when you are ready

Price API

For developers, analysts and spreadsheets

  • Latest bid and ask for up to 100 tickers in one call
  • OHLC history from 1 minute to monthly, plus tick history
  • WebSocket streaming, decimal-string prices, UTC times
Free with an account

Charts & alerts

For traders, investors and learners

  • Live charts for every ticker, on desktop and phone
  • 71 indicators, 51 drawing tools, Renko and Point & Figure, Elliott waves and harmonics
  • Pattern wizard: finds patterns, levels and trend lines and suggests entry, stop and targets
  • Strategy tester, paper trading, bar replay, alerts by e-mail, Telegram and push

On-chain oracle

For DeFi, RWA and smart-contract builders

  • Signed forex, gold, index and stock prices
  • Verified on-chain, with the market status in every report
  • Chainlink-compatible adapter, free testnet

Everything in one account

All the tools, one sign-in

Data for your code, charts for your analysis, a console to test strategies, alerts wherever you are and a community to share with. Most of it is free.

Price data API

Charts and analysis

Test and practise

Alerts

Community and learning

Accounts and business

1.174371.153521.132661.111801.09095Fib 38.2%Fib 50.0%Fib 61.8%Alert: e-mail at 1.107047030RSI(14)EURUSD · D1SMA(20)
A real EURUSD daily chart with a 20-day average, Fibonacci levels, a price alert and RSI.

Free live charts

Professional chart analysis, without the download

Every ticker has a fast, interactive chart right in the browser. The last candle moves with the live price, and every tool comes with a plain-language guide.

  • 71 indicators — RSI, MACD, Bollinger Bands, Ichimoku, Stochastic, ADX, SuperTrend, VWAP and more
  • 51 drawing tools — trend lines, channels, Fibonacci, Gann, Elliott waves with a rule check, and harmonic patterns recognised automatically
  • Saved analyses with a title and notes, on any device
  • Pattern wizard — one click finds 40+ harmonic, Elliott, chart and candlestick patterns, checks them against the textbook rules, confirms the entry with a candle and suggests entry, stop loss and take profits with the risk/reward
  • Position size calculator — the lot size for your risk, pip value and margin, with live prices
  • Strategy tester — back-test built-in strategies or your own script; paper trading and bar replay to practise
  • Alerts on prices, drawings and indicators, by e-mail, Telegram, browser push or webhook, with a picture of your chart
  • Clubs — share analyses by secret link or in a private team project or public community, with a chat
  • Full screen and dark theme on desktop and phone, with touch drawing and drag to scroll

Popular: XAUUSDEURUSDGBPUSDUSDJPYXAGUSDAUDUSDUSDCADUSDCHF

Pattern wizard

Let the chart find the setups, then see whether they ever worked

One click scans the candles on screen. Every pattern comes with the rules it passed, a trade with entry, stop and targets, and its track record on years of history, with the statistics to tell an edge from luck.

  • 40+ patterns: Gartley, Bat, Butterfly, Crab, Cypher, Shark, Elliott waves placed up to the primary wave, head and shoulders, double and triple tops, triangles, wedges, flags, cups with handles and reversal candles at support and resistance
  • Candle confirmation: an engulfing candle, hammer or morning star at the entry, boxed and named on the chart
  • Proof, not promises: win rate against break-even and the expected return per trade, with 90/95/99% confidence intervals and significance tests
  • Market scan: every ticker at once, only the significant setups that are at their entry now

How to read a track record · The strategies with the best record

Bullish Gartley▲ Up expectedQuality 86/100

✓ Confirmed by a bullish engulfing

▲ Long 3,995.0 · stop 3,962.4 · T1 4,041.9 (1:1.44) · T2 4,071.0 (1:2.33)

Track record: 412 trades, target 1 first 58% (needs 41%)
Expected return +0.31R per trade · 95% interval +0.12 … +0.50R
✓ 90%✓ 95%✗ 99%

Part of a larger Elliott wave: wave 3 of an impulse up

An illustration of a wizard result. Open any chart for today's.

GartleyBatButterflyCrabCypherShark5-0AB=CDThree drivesElliott impulseA-B-C correctionHead and shouldersDouble topTriple bottomAscending triangleFalling wedgeRectangleBull flagPennantCup and handleBullish engulfingMorning starHammerAndrews' pitchforkGann fan

Risk first

Size every trade before you take it

Most accounts are lost to position size, not to bad analysis. Enter your balance, the risk you accept and your stop: the calculator gives the position for it. The full calculator works for every ticker with live prices, pip values and margin.

Open the full calculator

Quick check · EURUSD, account in USD

0.40 lots$100 at risk

A standard lot of EURUSD moves $10 per pip.

New on MarketAPI

What we added lately

New

Economic calendar

Interest rate decisions, inflation, jobs, GDP and PMIs for the world's economies: what is coming with a countdown to the next release, and the results with the consensus as soon as they are out. Every time in your own time zone, and on each ticker's page the releases that move it.

Open the calendar →

Market scan

The pattern wizard over every ticker of the markets you choose: only setups at their entry, confirmed by a candle, with a significant record. Pick how many, which markets and the confidence level.

Scan the markets →

Expected return with confidence intervals

Every strategy now shows what one trade earned on average, in R and in %, with 90/95/99% intervals. It is called significant only when the win rate and the expected return both beat chance.

How to read it →

Candle confirmation

An entry is confirmed when an engulfing candle, a hammer, a morning star or a strong breakout close forms there. The candles are boxed and named on the chart.

See the candle patterns →

More patterns

Triple tops and bottoms, rectangles, bull and bear flags and pennants, cups with handles, and reversal candles at support and resistance; Elliott waves placed in the larger count up to the primary wave.

Try it on EURUSD →

Position size calculator

The lot size for the risk you choose, pip value, margin and reward to risk, for every ticker with live prices and real lot sizes.

Size a trade →

App 2.3: every tool in one tab

The phone app's new Tools tab: position calculator, market scan, screener, paper trading and your running tasks.

Get the app →

Backtest console

Test a strategy before you risk a cent

Pick one of six built-in strategies or write your own in a few lines of JavaScript, right on the chart. Every trade appears on the candles, with the profit, drawdown, win rate, profit factor and an equity curve against buy and hold.

  • Honest fills: orders fill at the next candle's open; stops are checked inside the candle; commission and spread included
  • All 71 indicators in code with ind(), plus moving averages, RSI, ATR, MACD, bands and crossovers
  • Up to 20,000 candles of history, trades as CSV, save your strategies and publish them with an idea
  • Private and safe: your code runs only in your browser, in a sandbox with no internet
const fast = ta.ema(close, input("Fast EMA", 12, { min: 2, max: 200 }));
const slow = ta.ema(close, input("Slow EMA", 26, { min: 3, max: 400 }));
plot(fast, "Fast", "#2F80ED");
plot(slow, "Slow", "#E39B2D");

function onBar(i) {
  if (ta.crossover(fast, slow, i)) long();
  if (ta.crossunder(fast, slow, i)) short();
}

More for active traders and for businesses

Chart Premium

The charts stay free. Pro and Pro+ add many more wizard scans, longer back-tests and first place in the queue, at about half the price of the best-known charting platforms.

See the plans →

For brokers and educators

Give your clients Premium charts at 30% off: buy seats, hand out one-time codes with your own client references, by hand or through the partner API.

The partner programme →

Invite friends, earn 20% back

Share your link: for 12 months you get 20% of what the people you invite top up, added to your balance.

Get your link →

Trading ideas

See how other traders read the market

Traders publish their analysis with the chart, their reasoning and sometimes a strategy you can test. Open any idea on the live chart, like it, comment and follow the authors you trust.

XAUUSD · H4 Short

Gold (XAUUSD) – H4 Technical Analysis | November 12, 2026

Gold remains under significant bearish pressure, trading around 3,891.14. Key technical observations: - ADX at 49.43 confirms a strong trend, with −DI (44.07) substantially above…

Trader 5 days, 9 hours ago ♥ 0 💬 0

Price since published: -1.59% · in the idea's favour

AI_INDX · D1 Short

AI_INDX – Daily Technical Analysis

AI-related stocks remain under significant selling pressure. The D1 chart shows a confirmed double-top pattern, bearish momentum, and a strong downtrend (ADX 40.32). RSI at 32.69 …

Trader 1 week ago ♥ 0 💬 0

Price since published: -6.06% · in the idea's favour

US30Cash · D1 Short

signs of weakening momentum

DJI is showing signs of weakening momentum, with ADX below 20 and RSI below 50. A bearish Wolfe Wave confirmed by a bearish engulfing suggests potential downside, but the weekly tr…

Trader 1 week, 1 day ago ♥ 0 💬 0

Price since published: -1.53% · in the idea's favour

Browse all ideas

Trading clubs

Where traders share their charts

Join a public club to see members' analyses, talk about the markets and share your own levels, or start a private club for your team.

Browse all clubs

For developers

From sign-up to live prices in three steps

  1. Create a free account.Confirm your e-mail and 1000 free credits land in your balance.
  2. Make an API key.Give it only the scopes you need, and lock it to your server's IP if you like.
  3. Call the API.Plain HTTPS and JSON, from any language. Each quote says whether the market is live.
curl -H "Authorization: Bearer $KEY" \
  "https://api.marketapi.app/v1/prices/latest?symbols=EURUSD,XAUUSD"
import requests

r = requests.get("https://api.marketapi.app/v1/prices/latest",
                 params={"symbols": "EURUSD,XAUUSD"},
                 headers={"Authorization": f"Bearer {KEY}"})
for q in r.json()["data"]:
    print(q["symbol"], q["bid"], q["ask"], q["status"])
const r = await fetch(
  "https://api.marketapi.app/v1/prices/latest?symbols=EURUSD,XAUUSD",
  { headers: { Authorization: `Bearer ${KEY}` } });
const { data } = await r.json();
data.forEach(q => console.log(q.symbol, q.bid, q.ask, q.status));

No signup needed

Try the market price API in your browser

Search for a ticker, then run it in the shell. Every answer is the real JSON the API returns, along with the matching curl command.

api-shell — marketapi
Welcome to the MarketAPI API shell. Type help, or try price EURUSD.
$
  1. Find a ticker. Search above, or run symbols gold.
  2. Get the latest price. Run price EURUSD,XAUUSD to see bid, ask, time and status.
  3. Check the market. status EURUSD tells you whether the market is LIVE or MARKET_CLOSED.
  4. Copy the curl. Each result shows the exact request to use in your own code.
  5. Go further. Create a free account for your own API key, history, OHLC bars and streaming.

What people build with MarketAPI

Dashboards & apps

Show live rates and charts in a fintech app, a portfolio tracker or an internal dashboard, with one consistent JSON format.

Trading bots & research

Pull years of OHLC candles for back-testing, then stream live quotes into your strategy over WebSocket.

Spreadsheets & reports

Refresh prices in Google Sheets or Excel with one URL. Pay a few credits instead of a monthly data bill.

Chart analysis

Mark up a chart with Fibonacci, Elliott waves or harmonics, save it, and get an e-mail when price reaches your level.

DeFi & tokenized assets

Bring forex and gold prices on-chain for lending, synthetic assets and stablecoin FX, with signatures your contract can check.

Learning to trade

Every indicator and drawing tool has a free guide in plain language: the idea, the formula, an example and its history.

In your language

The website, the app, the e-mails and your alerts are available in 10 languages, right-to-left scripts included. Every page has its own address in each language, so you can share a link in the language of the person you send it to.

Change the language at any time at the foot of every page or in the app's Account.

Why teams choose MarketAPI

Every price clearly labelled

Prices are refreshed every second and marked LIVE. When a market is shut, the quote says MARKET_CLOSED, so a weekend price is never passed off as a live one.

Pay per use, no subscription

Prepaid credits, with free credits used first. You are only charged for data you actually receive.

Developer friendly

Plain REST and JSON, decimal-string prices, UTC timestamps, safe retries, WebSocket streaming and clear error messages.

Secure by default

Hashed API keys with scopes and IP allow-lists, two-factor sign-in, and an append-only billing ledger.

Stable, documented, official

Versioned endpoints and visible rate limits instead of a scraper that breaks when a web page changes. Compare with Yahoo Finance.

Pay with popular wallets

USDT and USDC on Ethereum, BNB Chain, Arbitrum, Optimism, Base and Solana. Scan a QR code with MetaMask, Trust Wallet, Phantom or Coinbase Wallet.

Free tier or full access?

Start free with no signup. When your project goes live, a key unlocks history, streaming, the on-chain oracle and far higher limits. Sign up and the first 1,000 credits are on us.

Feature Free$0 · no key RecommendedFull access$1 / 1,000 credits
Latest prices (bid, ask, time, status)✓✓
Price freshnessReal-timeReal-time, refreshed every second
TickersAll 1,930All 1,930: forex, metals, indices, stocks, crypto
Tickers per requestUp to 5Up to 100
Rate limit10/min · 1,000/day per IP600/min · 20,000/hour per key (up to 10× on monthly plans)
Historical OHLC candles (1 minute to monthly)—✓ up to 10,000 rows per call
Tick history—✓
WebSocket streaming—✓ live quotes pushed to you
On-chain oracle: signed reports for smart contracts—✓ verified on-chain, free testnet
Charts, saved analyses and e-mail price alerts—✓ free with any account
Instrument specifications (contract size, digits, sessions)—✓
Own API keys, IP allow-lists, test keys—✓
Usage dashboard, receipts, safe retries—✓
SupportDocsSupport tickets by e-mail
Try it now Get 1,000 free creditsPlans from $19/month · compare

Pay only for data you receive: 1 credit per latest price, 1 credit per 1000 history rows. No subscription needed: top up when you want, or choose a monthly plan.

For smart contracts

On-chain price oracle: real-world prices your contract can verify

Bring forex, gold, index and stock prices on-chain for DeFi lending, tokenized assets (RWA), on-chain FX, stablecoin payments and synthetic assets. Your app fetches a signed price report from the API; your contract hands it to our verifier, which checks the signature on-chain. The price can't be forged in transit.

  • Market-hours aware: every report says OPEN, CLOSED or HALTED, so a weekend price never passes as live.
  • Safe by default: reports expire after about a minute, and circuit breakers stop abnormal jumps.
  • Easy to adopt: a Chainlink-compatible adapter (latestRoundData) and Solidity and JavaScript examples, live on Optimism with a free testnet.

Explore the oracle Integration guide

Simple, transparent pricing

Call the free endpoints without a key (10 requests per minute, up to 5 tickers per request), or sign up and use your free credits before you pay anything. How the free tier works · Migrate from yfinance

Latest price1 creditper ticker returned
History1 creditper 1000 rows
Streaming1 creditper ticker per minute
Price$1per 1,000 credits

See full pricing

AI ASSISTANT
Ask AI to explain MarketAPI
Charts, pattern wizard, alerts, paper trading, the API and more: a simple explanation from the AI assistant you already use.
Want to understand MarketAPI?Ask ChatGPT, Gemini, Grok, Perplexity or Claude.
QUESTION Explain MarketAPI in simple terms: its trading platform (charts, pattern wizard, alerts, paper trading), its market price API and its on-chain oracle: what each does, who it's for, and how to start.
Choose your AI
No account with MarketAPI is required.

Frequently asked questions

Is there a free market price API?

Yes. New accounts receive 1000 free credits after confirming their email, and the public free tier lets you try the API without a key.

Which markets are covered?

Forex, metals, indices, energies, stock CFDs and crypto, as offered by our data feed. Download the ticker list.

What does the price API return?

JSON with decimal-string prices, UTC timestamps and a freshness status for every quote.

Is it an alternative to Yahoo Finance or yfinance?

Yes. It is a documented REST API with API keys and usage-based pricing, not a scraper. It is not affiliated with Yahoo.

Does MarketAPI have an on-chain price oracle?

Yes. The same prices are available as signed reports for smart contracts. Your contract verifies the signature on-chain, every report carries the market status and expires after about a minute, and a Chainlink-compatible adapter is available. How the oracle works.

Can I chart prices, use indicators and set price alerts?

Yes. Every ticker has a free interactive chart with 71 professional indicators and 51 drawing tools, plus Elliott waves and harmonic patterns. With a free account you can save your analyses and get alerts by e-mail, Telegram or push when a price reaches your level. See what the charts can do.

Can the chart find patterns for me?

Yes. The pattern wizard scans the candles on screen for harmonic patterns (with the zone where point D should complete), Elliott waves, head and shoulders, double tops and bottoms, triangles, support and resistance and trend lines. It shows the rules each one passed and suggests an entry, stop loss and take profits with the risk/reward. It is automatic analysis, not advice. How it works.

How do I know whether a pattern really works?

Every strategy the wizard suggests is back-tested on the history of the most used tickers, exactly as the chart looked then. You see how often target 1 came before the stop against the win rate it needs to break even, and the expected return per trade with 90, 95 and 99% confidence intervals. It is called significant only when a binomial test of the win rate and a t-test and a bootstrap of the expected return all agree, corrected for the many strategies tested. The guide.

Can it scan all markets for me?

Yes. The market scan (Pro+) runs the wizard over every ticker of the markets you choose and lists only the setups that are at their entry now, confirmed by a candle and significant at your level. It uses computing time, counted only while it runs. Market scan.

How big should my position be?

Decide the risk first (many traders use 0.5 to 2% of the balance per trade), then the stop. The position size calculator turns both into a lot size for any ticker, with the pip value and the margin.

I am a broker: can I give my clients Premium charts?

Yes. Partners buy seats at 30% off and hand out one-time activation codes, by hand or through the partner API, with 5 free trial seats to start.

Can I back-test a trading strategy?

Yes. The backtest console on every chart runs built-in strategies or your own JavaScript over up to 20,000 candles and shows every trade, the drawdown and an equity curve. Orders fill at the next candle's open, so there is no look-ahead. The complete guide with examples.

Is there a mobile app?

Yes, for iPhone and Android, with live watchlists, the full chart and alerts as notifications. Get the app.

How do I pay?

Top up with USDT or USDC on Ethereum, BNB Smart Chain, Arbitrum, Optimism, Base or Solana. Free credits are always used first.

From the blog

Also on your phone

Live watchlists, the full chart and price alerts as notifications, on iPhone and Android. More about the app.

Start building in a minute

Free account, 1000 free credits, free charts and alerts. No card, no subscription.