Skip to main content
forex.mobile

forex.mobile API

Free REST API for forex broker data, comparisons, recommendations, live rates, and glossary terms. No authentication required. CORS enabled for all origins.

Base URL

https://forex.mobile/api/v1

Machine-readable spec at /api/openapi — import into Postman, Cursor, Copilot, Claude Code, or any OpenAPI 3.0 tool to auto-generate typed clients.

Quick Start

// Fetch all brokers
const res = await fetch('https://forex.mobile/api/v1/brokers')
const data = await res.json()
console.log(data.brokers) // [{key, name, score, spreads, ...}, ...]

// Compare two brokers
const cmp = await fetch('https://forex.mobile/api/v1/compare?a=exness&b=xm')
const { comparison } = await cmp.json()
console.log(comparison.verdict)

Endpoints

GET/api/v1/brokers

All brokers with scores, spreads, regulation, and affiliate links.

curl https://forex.mobile/api/v1/brokers
GET/api/v1/brokers/:slug

Single broker by key.

curl https://forex.mobile/api/v1/brokers/exness
GET/api/v1/compare?a=...&b=...

Side-by-side comparison of two brokers with an auto-generated verdict.

curl "https://forex.mobile/api/v1/compare?a=exness&b=xm"
GET/api/v1/recommend?country=...&experience=...&priority=...

Top 3 broker recommendations based on country, experience level, and priority.

curl "https://forex.mobile/api/v1/recommend?country=uae&experience=beginner&priority=spreads"
GET/api/v1/rates

Live forex rates for major pairs and metals. Pass ?from=USD&to=AED for a specific conversion.

curl https://forex.mobile/api/v1/rates
GET/api/v1/glossary

All forex glossary terms. Pass ?term=pip for a single term.

curl "https://forex.mobile/api/v1/glossary?term=pip"

Broker Keys

Use these as the :slug parameter or in comparison queries.

exnessxmvantageaxihfmfpmarketsroboforexavatradeicmarketspepperstoneoandaplus500etoroderivigsaxo

Response Format

Every response includes a _meta object:

{
  "...data fields...",
  "_meta": {
    "source": "forex.mobile",
    "api_version": "v1",
    "docs": "https://forex.mobile/api"
  }
}

CORS

All endpoints return Access-Control-Allow-Origin: * and support OPTIONS preflight requests. Call from any domain, any frontend, or any AI agent.

Use Cases

  • AI Agents — Feed broker data into LLMs for forex Q&A, comparison chatbots, or recommendation engines.
  • Comparison Sites — Pull structured broker data for your own reviews and rankings.
  • Mobile Apps — Fetch live rates and broker info for currency converter or trading apps.
  • Research — Analyze broker regulation, spreads, and Trustpilot scores programmatically.