Connect your agent to the forex & crypto markets

Built for the AI era, our market data infrastructure is the best way to power smarter agents.

5+

years historical data

200+

forex pairs

1,000+

crypto assets

< 500ms

update frequency

99.9%

uptime

Search across forex pairs and crypto assets

Query real-time market data, derivatives, and macro indicators to power your AI agents.

Analyze deep real-time and historical datasets

Give your agents access to deep real-time and historical market datasets to power analytical workflows.

"Find crypto assets with highest 24h funding rates"
Agent: waiting...
"Analyze EURUSD price over the past 5 sessions"
Agent: waiting...

Single source of truth

Every endpoint returns clean, structured data your agents can act on.

RESPONSE200 OKforex_prices
{
  "forex_prices": [
    {
      "pair": "EURUSD",
      "open": 1.08234,
      "high": 1.08456,
      "low": 1.08123,
      "close": 1.08345,
      "volume": 125432.5,
      "time": "2026-03-25T14:00:00Z",
      "session": "london"
    }
  ],
  "meta": {
    "request_id": "req_abc123",
    "credits_used": 0.005
  }
}

Clean and effortless APIs

Get started in minutes with our simple REST API.

import requests

response = requests.get(
    "https://api.marketdataset.ai/forex/prices",
    headers={"X-API-KEY": "sk_your_api_key"},
    params={
        "pair": "EURUSD",
        "interval": "hour",
        "limit": 100
    }
)

data = response.json()
prices = data["forex_prices"]
RESPONSE200 OKEURUSD
{
  "forex_prices": [
    {
      "pair": "EURUSD",
      "open": 1.08234,
      "high": 1.08456,
      "low": 1.08123,
      "close": 1.08345,
      "volume": 125432.5,
      "time": "2026-03-25T14:00:00Z"
    }
  ],
  "next_page_url": null,
  "meta": {
    "request_id": "req_abc123",
    "credits_used": 0.005,
    "credits_remaining": 49.995
  }
}

Start building today

Access forex, crypto, and macro market data with pay-as-you-go credits.

Upgrade anytime for full market coverage and higher rate limits.