外汇工厂 API

API ID 15892

外汇数据:包含所有筛选条件和发布历史的经济日历、指标、央行利率、新闻、实时报价和价格柱,以及经验证的交易者持仓

API 文档

端点

请求
返回主要央行的政策利率,包括各央行、最新利率决策及下一次决策
Endpoint ID: 43913
GET https://zylalabs.com/api/15892/forex+factory+api/43913/central+bank+rates
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
[
    {
        "currency": "AUD",
        "rate": "4.85%",
        "bank": "Reserve Bank of Australia",
        "latest_release": {
            "event_id": 147791,
            "date": "2026-11-03",
            "summary": "+0.25% on Nov 3"
        },
        "next_release": {
            "event_id": 147793,
            "date": "2026-12-08",
            "summary": "Dec 8"
        },
        "next_change_forecast": null
    },
    {
        "currency": "USD",
        "rate": "4.00%",
        "bank": "Federal Reserve",
        "latest_release": {
            "event_id": 146500,
            "date": "2026-10-28",
            "summary": "Unchanged on Oct 28"
        },
        "next_release": {
            "event_id": 146501,
            "date": "2026-12-09",
            "summary": "+0.25% on Dec 9"
        },
        "next_change_forecast": "+0.25%"
    },
    {
        "currency": "GBP",
        "rate": "4.00%",
        "bank": "Bank of England",
        "latest_release": {
            "event_id": 150724,
            "date": "2026-11-05",
            "summary": "+0.25% on Nov 5"
        },
        "next_release": {
            "event_id": 150728,
            "date": "2026-12-17",
            "summary": "Dec 17"
        },
        "next_change_forecast": null
    },
    {
        "currency": "NZD",
        "rate": "2.75%",
        "bank": "Reserve Bank of New Zealand",
        "latest_release": {
            "event_id": 148868,
            "date": "2026-10-28",
            "summary": "Unchanged on Oct 28"
        },
        "next_release": {
            "event_id": 148870,
            "date": "2026-12-09",
            "summary": "Dec 9"
        },
        "next_change_forecast": null
    },
    {
        "currency": "EUR",
        "rate": "2.65%",
        "bank": "European Central Bank",
        "latest_release": {
            "event_id": 150541,
            "date": "2026-10-29",
            "summary": "Unchanged on Oct 29"
        },
        "next_release": {
            "event_id": 150544,
            "date": "2026-12-17",
            "summary": "Dec 17"
        },
        "next_change_forecast": null
    },
    {
        "currency": "CAD",
        "rate": "2.50%",
        "bank": "Bank of Canada",
        "latest_release": {
            "event_id": 146537,
            "date": "2026-10-28",
            "summary": "+0.25% on Oct 28"
        },
        "next_release": {
            "event_id": 146538,
            "date": "2026-12-09",
            "summary": "+0.25% on Dec 9"
        },
        "next_change_forecast": "+0.25%"
    },
    {
        "currency": "JPY",
        "rate": "1.25%",
        "bank": "Bank of Japan",
        "latest_release": {
            "event_id": 148562,
            "date": "2026-10-30",
            "summary": "Unchanged on Oct 30"
        },
        "next_release": {
            "event_id": 148566,
            "date": "2026-12-18",
            "summary": "Dec 18"
        },
        "next_change_forecast": null
    },
    {
        "currency": "CHF",
        "rate": "0.00%",
        "bank": "Swiss National Bank",
        "latest_release": {
            "event_id": 147411,
            "date": "2026-09-24",
            "summary": "Unchanged on Sep 24"
        },
        "next_release": {
            "event_id": 147414,
            "date": "2026-12-10",
            "summary": "Dec 10"
        },
        "next_change_forecast": null
    }
]
中央银行利率 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43913/central+bank+rates' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回日历事件的详细信息:其规格(来源、衡量内容、通常影响、频率、下次公布时间、备注、交易者关注原因)、最近公布的数据及其实际值、预测值、前值和修正值,以及相关新闻】【。
Endpoint ID: 43914
GET https://zylalabs.com/api/15892/forex+factory+api/43914/event+details
输入参数

活动详情 — 端点功能

对象 描述
event_id 必需 Event id, as returned by the calendar events endpoint.

剩余免费测试请求:3 / 3。


输入参数

event_id
API 示例响应
JSON
{
    "event_id": 149676,
    "specs": [
        {
            "title": "Source",
            "value": "METI (latest release)"
        },
        {
            "title": "Measures",
            "value": "Change in the total inflation-adjusted value of output produced by manufacturers, mines, and utilities;"
        },
        {
            "title": "Usual Effect",
            "value": "'Actual' greater than 'Forecast' is good for currency;"
        },
        {
            "title": "Frequency",
            "value": "Released monthly, about 30 days after the month ends;"
        },
        {
            "title": "Next Release",
            "value": "Dec 27, 2026"
        },
        {
            "title": "FF Notes",
            "value": "There are 2 versions of this indicator released about 15 days apart - Preliminary and Revised. The Preliminary release is the earliest and thus tends to have the most impact;"
        },
        {
            "title": "Why Traders Care",
            "value": "It's a leading indicator of economic health - production reacts quickly to ups and downs in the business cycle and is correlated with consumer conditions such as employment levels and earnings;"
        }
    ],
    "recent_releases": [
        {
            "event_id": 149675,
            "date": "2026-10-29",
            "impact": "low",
            "actual": "2.2%",
            "forecast": "1.2%",
            "previous": "-1.7%",
            "revised_previous": "-2.4%",
            "actual_vs_forecast": "better",
            "revision_direction": "worse"
        },
        {
            "event_id": 149674,
            "date": "2026-09-29",
            "impact": "low",
            "actual": "-1.7%",
            "forecast": "1.4%",
            "previous": "0.1%",
            "revised_previous": "-0.2%",
            "actual_vs_forecast": "worse",
            "revision_direction": "worse"
        },
        {
            "event_id": 149673,
            "date": "2026-08-30",
            "impact": "low",
            "actual": "0.1%",
            "forecast": "-0.7%",
            "previous": "1.3%",
            "revised_previous": "1.9%",
            "actual_vs_forecast": "better",
            "revision_direction": "better"
        },
        {
            "event_id": 149672,
            "date": "2026-07-30",
            "impact": "low",
            "actual": "1.3%",
            "forecast": "1.0%",
            "previous": "0.5%",
            "revised_previous": "0.1%",
            "actual_vs_forecast": "better",
            "revision_direction": "worse"
        },
        {
            "event_id": 149671,
            "date": "2026-06-29",
            "impact": "low",
            "actual": "0.5%",
            "forecast": "0.6%",
            "previous": "0.8%",
            "revised_previous": "0.5%",
            "actual_vs_forecast": "worse",
            "revision_direction": "worse"
        }
    ],
    "related_news": [
        {
            "id": 1439284,
            "title": "Japan: Indices of Industrial Production for October, 2026 (Preliminary Report)",
            "preview": "tables",
            "date": "2026-11-29T23:51:44+00:00",
            "source": "meti.go.jp",
            "impact": "low",
            "image": "https://assets.faireconomy.media/nfs/npd/2019/01/01/npd_16_57_02.v2.png",
            "comments": 0,
            "is_video": false,
            "linked_to_calendar": true,
            "updates": 0
        }
    ]
}
活动详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43914/event+details?event_id=149676' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回日历事件的发布历史,按时间从近到远排列:每次发布所涵盖的时期、发布时间,以及实际值、预测值和修正值的数字及原始发布形式。最早可追溯至该指标本身的历史(最多 1000 次发布)
Endpoint ID: 43915
GET https://zylalabs.com/api/15892/forex+factory+api/43915/event+history
输入参数

事件历史记录 — 端点功能

对象 描述
event_id 必需 Event id, as returned by the calendar events endpoint.
limit 可选 Optional number of releases, 1 to 1000 (defaults to 100).

剩余免费测试请求:3 / 3。


输入参数

event_id
limit
API 示例响应
JSON
{
    "event_id": 149676,
    "indicator_id": 225,
    "frequency": "MN1",
    "decimals": 1,
    "has_more": true,
    "total": 100,
    "releases": [
        {
            "event_id": 149676,
            "period": "Nov 2026",
            "released_at": "2026-11-29T23:50:00+00:00",
            "actual": -1.6,
            "actual_formatted": "-1.6%",
            "forecast": 2,
            "forecast_formatted": "2.0%",
            "revised": null,
            "revised_formatted": null
        },
        {
            "event_id": 149675,
            "period": "Oct 2026",
            "released_at": "2026-10-29T23:50:00+00:00",
            "actual": 2.2,
            "actual_formatted": "2.2%",
            "forecast": 1.2,
            "forecast_formatted": "1.2%",
            "revised": 2,
            "revised_formatted": "2.0%"
        },
        {
            "event_id": 149674,
            "period": "Sep 2026",
            "released_at": "2026-09-29T23:50:00+00:00",
            "actual": -1.7,
            "actual_formatted": "-1.7%",
            "forecast": 1.4,
            "forecast_formatted": "1.4%",
            "revised": -2.4,
            "revised_formatted": "-2.4%"
        },
        {
            "event_id": 149673,
            "period": "Aug 2026",
            "released_at": "2026-08-30T23:50:00+00:00",
            "actual": 0.1,
            "actual_formatted": "0.1%",
            "forecast": -0.7,
            "forecast_formatted": "-0.7%",
            "revised": -0.2,
            "revised_formatted": "-0.2%"
        },
        {
            "event_id": 149672,
            "period": "Jul 2026",
            "released_at": "2026-07-30T23:50:00+00:00",
            "actual": 1.3,
            "actual_formatted": "1.3%",
            "forecast": 1,
            "forecast_formatted": "1.0%",
            "revised": 1.9,
            "revised_formatted": "1.9%"
        },
        {
            "event_id": 149671,
            "period": "Jun 2026",
            "released_at": "2026-06-29T23:50:00+00:00",
            "actual": 0.5,
            "actual_formatted": "0.5%",
            "forecast": 0.6,
            "forecast_formatted": "0.6%",
            "revised": 0.1,
            "revised_formatted": "0.1%"
        },
        {
            "event_id": 149670,
            "period": "May 2026",
            "released_at": "2026-05-28T23:50:00+00:00",
            "actual": 0.8,
            "actual_formatted": "0.8%",
            "forecast": -0.4,
            "forecast_formatted": "-0.4%",
            "revised": 0.5,
            "revised_formatted": "0.5%"
        },
        {
            "event_id": 149669,
            "period": "Apr 2026",
            "released_at": "2026-04-29T23:50:00+00:00",
            "actual": -0.5,
            "actual_formatted": "-0.5%",
            "forecast": 1,
            "forecast_formatted": "1.0%",
            "revised": -0.4,
            "revised_formatted": "-0.4%"
        },
        {
            "event_id": 149668,
            "period": "Mar 2026",
            "released_at": "2026-03-30T23:50:00+00:00",
            "actual": -2.1,
            "actual_formatted": "-2.1%",
            "forecast": -2.1,
            "forecast_formatted": "-2.1%",
            "revised": -2,
            "revised_formatted": "-2.0%"
        },
        {
            "event_id": 149667,
            "period": "Feb 2026",
            "released_at": "2026-02-26T23:50:00+00:00",
            "actual": 2.2,
            "actual_formatted": "2.2%",
            "forecast": 5.5,
            "forecast_formatted": "5.5%",
            "revised": 4.3,
            "revised_formatted": "4.3%"
        },
        {
            "event_id": 149666,
            "period": "Jan 2026",
            "released_at": "2026-01-29T23:50:00+00:00",
            "actual": -0.1,
            "actual_formatted": "-0.1%",
            "forecast": -0.4,
            "forecast_formatted": "-0.4%",
            "revised": null,
            "revised_formatted": null
        },
        {
            "event_id": 144571,
            "period": "Dec 2025",
            "released_at": "2025-12-25T23:50:00+00:00",
            "actual": -2.6,
            "actual_formatted": "-2.6%",
            "forecast": -1.9,
            "forecast_formatted": "-1.9%",
            "revised": -2.7,
            "revised_formatted": "-2.7%"
        },
        {
            "event_id": 144568,
            "period": "Nov 2025",
            "released_at": "2025-11-27T23:50:00+00:00",
            "actual": 1.4,
            "actual_formatted": "1.4%",
            "forecast": -0.5,
            "forecast_formatted": "-0.5%",
            "revised": 1.5,
            "revised_formatted": "1.5%"
        },
        {
            "event_id": 144565,
            "period": "Oct 2025",
            "released_at": "2025-10-30T23:50:00+00:00",
            "actual": 2.2,
            "actual_formatted": "2.2%",
            "forecast": 1.5,
            "forecast_formatted": "1.5%",
            "revised": 2.6,
            "revised_formatted": "2.6%"
        },
        {
            "event_id": 144562,
            "period": "Sep 2025",
            "released_at": "2025-09-29T23:50:00+00:00",
            "actual": -1.2,
            "actual_formatted": "-1.2%",
            "forecast": -0.8,
            "forecast_formatted": "-0.8%",
            "revised": -1.5,
            "revised_formatted": "-1.5%"
        },
        {
            "event_id": 144559,
            "period": "Aug 2025",
            "released_at": "2025-08-28T23:50:00+00:00",
            "actual": -1.6,
            "actual_formatted": "-1.6%",
            "forecast": -1.1,
            "forecast_formatted": "-1.1%",
            "revised": -1.2,
            "revised_formatted": "-1.2%"
        },
        {
            "event_id": 144555,
            "period": "Jul 2025",
            "released_at": "2025-07-30T23:50:00+00:00",
            "actual": 1.7,
            "actual_formatted": "1.7%",
            "forecast": -0.7,
            "forecast_formatted": "-0.7%",
            "revised": 2.1,
            "revised_formatted": "2.1%"
        },
        {
            "event_id": 144553,
            "period": "Jun 2025",
            "released_at": "2025-06-29T23:50:00+00:00",
            "actual": 0.5,
            "actual_formatted": "0.5%",
            "forecast": 3.4,
            "forecast_formatted": "3.4%",
            "revised": -0.1,
            "revised_formatted": "-0.1%"
        },
        {
            "event_id": 144550,
            "period": "May 2025",
            "released_at": "2025-05-29T23:50:00+00:00",
            "actual": -0.9,
            "actual_formatted": "-0.9%",
            "forecast": -1.4,
            "forecast_formatted": "-1.4%",
            "revised": -1.1,
            "revised_formatted": "-1.1%"
        },
        {
            "event_id": 144547,
            "period": "Apr 2025",
            "released_at": "2025-04-29T23:50:00+00:00",
            "actual": -1.1,
            "actual_formatted": "-1.1%",
            "forecast": -0.5,
            "forecast_formatted": "-0.5%",
            "revised": 0.2,
            "revised_formatted": "0.2%"
        },
        {
            "event_id": 144543,
            "period": "Mar 2025",
            "released_at": "2025-03-30T23:50:00+00:00",
            "actual": 2.5,
            "actual_formatted": "2.5%",
            "forecast": 1.9,
            "forecast_formatted": "1.9%",
            "revised": 2.3,
            "revised_formatted": "2.3%"
        },
        {
            "event_id": 144539,
            "period": "Feb 2025",
            "released_at": "2025-02-27T23:50:00+00:00",
            "actual": -1.1,
            "actual_formatted": "-1.1%",
            "forecast": -1,
            "forecast_formatted": "-1.0%",
            "revised": null,
            "revised_formatted": null
        },
        {
            "event_id": 144537,
            "period": "Jan 2025",
            "released_at": "2025-01-30T23:50:00+00:00",
            "actual": 0.3,
            "actual_formatted": "0.3%",
            "forecast": -0.1,
            "forecast_formatted": "-0.1%",
            "revised": -0.2,
            "revised_formatted": "-0.2%"
        },
        {
            "event_id": 139823,
            "period": "Dec 2024",
            "released_at": "2024-12-26T23:50:00+00:00",
            "actual": -2.3,
            "actual_formatted": "-2.3%",
            "forecast": -3.4,
            "forecast_formatted": "-3.4%",
            "revised": -2.2,
            "revised_formatted": "-2.2%"
        },
        {
            "event_id": 139822,
            "period": "Nov 2024",
            "released_at": "2024-11-28T23:50:00+00:00",
            "actual": 3,
            "actual_formatted": "3.0%",
            "forecast": 3.8,
            "forecast_formatted": "3.8%",
            "revised": 2.8,
            "revised_formatted": "2.8%"
        }
    ]
}
事件历史记录 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43915/event+history?event_id=149676&limit=100' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回两个日期之间的经济日历(最多 60 天):每项数据公布、演讲、拍卖和节假日,以及其货币、影响、按所请求时区显示的日期和时间、实际值、预测值、前值和修正前值,以及实际值是否高于预测值。按影响、货币和类别筛选。
Endpoint ID: 43916
GET https://zylalabs.com/api/15892/forex+factory+api/43916/economic+calendar
输入参数

经济日历 — 端点功能

对象 描述
from 可选 Optional first day, YYYY-MM-DD, in the time zone asked for (defaults to today).
to 可选 Optional last day, YYYY-MM-DD, at most 60 days after "from" (defaults to six days after "from").
timezone 可选 Optional IANA time zone of the dates and times (defaults to "UTC").
impact 可选 Optional comma-separated impacts: "high", "medium", "low", "holiday" (defaults to all).
currencies 可选 Optional comma-separated currencies: "AUD", "CAD", "CHF", "CNY", "EUR", "GBP", "JPY", "NZD", "USD" (defaults to all).
categories 可选 Optional comma-separated categories: "growth", "inflation", "employment", "central_bank", "bonds", "housing", "consumer_surveys", "business_surveys", "speeches", "misc" (defaults to all).

剩余免费测试请求:3 / 3。


输入参数

from
to
timezone
impact
currencies
categories
API 示例响应
JSON
{
    "from": "2026-12-01",
    "to": "2026-12-07",
    "timezone": "America/New_York",
    "total": 6,
    "events": [
        {
            "id": 151334,
            "indicator_id": 593,
            "name": "Core CPI Flash Estimate y/y",
            "title": "EZ Core CPI Flash Estimate y/y",
            "currency": "EUR",
            "impact": "medium",
            "date": "2026-12-01",
            "time": "05:00",
            "datetime": "2026-12-01T05:00:00-05:00",
            "time_label": null,
            "actual": "2.4%",
            "forecast": "2.6%",
            "previous": "2.5%",
            "revised_previous": "2.6%",
            "actual_vs_forecast": "worse",
            "revision_direction": "better",
            "notice": null,
            "has_history": true
        },
        {
            "id": 151333,
            "indicator_id": 168,
            "name": "CPI Flash Estimate y/y",
            "title": "EZ CPI Flash Estimate y/y",
            "currency": "EUR",
            "impact": "medium",
            "date": "2026-12-01",
            "time": "05:00",
            "datetime": "2026-12-01T05:00:00-05:00",
            "time_label": null,
            "actual": "3.7%",
            "forecast": "3.8%",
            "previous": "4.0%",
            "revised_previous": null,
            "actual_vs_forecast": "worse",
            "revision_direction": null,
            "notice": null,
            "has_history": true
        },
        {
            "id": 149799,
            "indicator_id": 578,
            "name": "JOLTS Job Openings",
            "title": "US JOLTS Job Openings",
            "currency": "USD",
            "impact": "medium",
            "date": "2026-12-01",
            "time": "10:00",
            "datetime": "2026-12-01T10:00:00-05:00",
            "time_label": null,
            "actual": "7.74M",
            "forecast": "7.44M",
            "previous": "7.52M",
            "revised_previous": "7.53M",
            "actual_vs_forecast": "better",
            "revision_direction": null,
            "notice": null,
            "has_history": true
        },
        {
            "id": 146938,
            "indicator_id": 159,
            "name": "Average Hourly Earnings m/m",
            "title": "US Average Hourly Earnings m/m",
            "currency": "USD",
            "impact": "high",
            "date": "2026-12-04",
            "time": "08:30",
            "datetime": "2026-12-04T08:30:00-05:00",
            "time_label": null,
            "actual": null,
            "forecast": "0.3%",
            "previous": "0.4%",
            "revised_previous": null,
            "actual_vs_forecast": null,
            "revision_direction": null,
            "notice": null,
            "has_history": true
        },
        {
            "id": 146913,
            "indicator_id": 66,
            "name": "Non-Farm Employment Change",
            "title": "US Non-Farm Employment Change",
            "currency": "USD",
            "impact": "high",
            "date": "2026-12-04",
            "time": "08:30",
            "datetime": "2026-12-04T08:30:00-05:00",
            "time_label": null,
            "actual": null,
            "forecast": "92K",
            "previous": "165K",
            "revised_previous": null,
            "actual_vs_forecast": null,
            "revision_direction": null,
            "notice": null,
            "has_history": true
        },
        {
            "id": 146926,
            "indicator_id": 56,
            "name": "Unemployment Rate",
            "title": "US Unemployment Rate",
            "currency": "USD",
            "impact": "high",
            "date": "2026-12-04",
            "time": "08:30",
            "datetime": "2026-12-04T08:30:00-05:00",
            "time_label": null,
            "actual": null,
            "forecast": "4.1%",
            "previous": "4.1%",
            "revised_previous": null,
            "actual_vs_forecast": null,
            "revision_direction": null,
            "notice": null,
            "has_history": true
        }
    ]
}
经济日历 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43916/economic+calendar?from=2026-12-01&to=2026-12-07&timezone=America/New_York&impact=high,medium¤cies=USD,EUR&categories=inflation,employment' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一项经济指标(例如美国非农就业人数变化)的影响、描述、最新和即将发布的数据、规格以及最近发布的数据
Endpoint ID: 43917
GET https://zylalabs.com/api/15892/forex+factory+api/43917/indicator
输入参数

指标 — 端点功能

对象 描述
indicator_id 必需 Indicator id, as returned by the indicator search or the calendar events endpoint.

剩余免费测试请求:3 / 3。


输入参数

indicator_id
API 示例响应
JSON
{
    "indicator_id": 66,
    "name": "US Non-Farm Employment Change",
    "impact": "high",
    "description": "Job creation is an important leading indicator of consumer spending, which accounts for a majority of overall economic activity;\n\nThis is vital economic data released shortly after the month ends. The combination of importance and earliness makes for hefty market impacts;",
    "latest_release": {
        "event_id": 146914,
        "date": "2026-11-06T08:30:00+00:00",
        "actual": "165K",
        "forecast": null
    },
    "upcoming_release": {
        "event_id": 146913,
        "date": "2026-12-04T08:30:00+00:00",
        "actual": null,
        "forecast": "92K"
    },
    "specs": [
        {
            "title": "Source",
            "value": "Bureau of Labor Statistics (latest release)"
        },
        {
            "title": "Measures",
            "value": "Change in the number of employed people during the previous month, excluding the farming industry;"
        },
        {
            "title": "Usual Effect",
            "value": "'Actual' greater than 'Forecast' is good for currency;"
        },
        {
            "title": "Frequency",
            "value": "Released monthly, usually on the first Friday after the month ends;"
        },
        {
            "title": "Next Release",
            "value": "Dec 4, 2026"
        },
        {
            "title": "FF Notes",
            "value": "This is vital economic data released shortly after the month ends. The combination of importance and earliness makes for hefty market impacts;"
        },
        {
            "title": "Why Traders Care",
            "value": "Job creation is an important leading indicator of consumer spending, which accounts for a majority of overall economic activity;"
        },
        {
            "title": "Also Called",
            "value": "Non-Farm Payrolls, NFP, Employment Change;"
        }
    ],
    "recent_releases": [
        {
            "event_id": 146912,
            "date": "2026-10-02",
            "impact": "high",
            "actual": "29K",
            "forecast": "89K",
            "previous": "162K",
            "revised_previous": "133K",
            "actual_vs_forecast": "worse",
            "revision_direction": "worse"
        },
        {
            "event_id": 146911,
            "date": "2026-09-04",
            "impact": "high",
            "actual": "162K",
            "forecast": "55K",
            "previous": "-23K",
            "revised_previous": "21K",
            "actual_vs_forecast": "better",
            "revision_direction": "better"
        },
        {
            "event_id": 146910,
            "date": "2026-08-07",
            "impact": "high",
            "actual": "-23K",
            "forecast": "85K",
            "previous": "57K",
            "revised_previous": "20K",
            "actual_vs_forecast": "worse",
            "revision_direction": "worse"
        },
        {
            "event_id": 146909,
            "date": "2026-07-02",
            "impact": "high",
            "actual": "57K",
            "forecast": "114K",
            "previous": "172K",
            "revised_previous": "129K",
            "actual_vs_forecast": "worse",
            "revision_direction": "worse"
        },
        {
            "event_id": 146908,
            "date": "2026-06-05",
            "impact": "high",
            "actual": "172K",
            "forecast": "85K",
            "previous": "115K",
            "revised_previous": "179K",
            "actual_vs_forecast": "better",
            "revision_direction": "better"
        }
    ]
}
指标 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43917/indicator?indicator_id=66' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
按名称搜索日历中的经济指标,并返回其 ID、名称和影响力
Endpoint ID: 43918
GET https://zylalabs.com/api/15892/forex+factory+api/43918/search+indicators
输入参数

搜索指标 — 端点功能

对象 描述
query 必需 Search text (e.g. "nonfarm", "cpi", "rate decision").

剩余免费测试请求:3 / 3。


输入参数

query
API 示例响应
JSON
[
    {
        "indicator_id": 155,
        "name": "US Prelim Nonfarm Productivity q/q",
        "impact": "low"
    },
    {
        "indicator_id": 156,
        "name": "US Revised Nonfarm Productivity q/q",
        "impact": "low"
    }
]
搜索指标 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43918/search+indicators?query=nonfarm' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回某个交易品种的开盘价、最高价、最低价和收盘价柱状数据,按时间从新到旧排列,时间范围从1分钟到1个月,主要货币对的数据可追溯至2007年
Endpoint ID: 43919
GET https://zylalabs.com/api/15892/forex+factory+api/43919/price+bars
输入参数

价格柱状图 — 端点功能

对象 描述
instrument 必需 Instrument from the instruments endpoint.
interval 可选 Optional bar interval: "M1", "M5", "M15", "M30", "H1", "H4", "D1", "W1", "MN1" (defaults to "H1").
from 可选 Optional start, a date (YYYY-MM-DD, UTC) or a Unix timestamp.
to 可选 Optional end, a date (YYYY-MM-DD, UTC) or a Unix timestamp (defaults to now).
limit 可选 Optional number of bars, 1 to 1000 (defaults to 200).

剩余免费测试请求:3 / 3。


输入参数

instrument
interval
from
to
limit
API 示例响应
JSON
{
    "instrument": "EUR/USD",
    "interval": "H1",
    "total": 200,
    "bars": [
        {
            "time": "2026-11-27T21:00:00+00:00",
            "timestamp": 1795813200,
            "open": 1.09343,
            "high": 1.09348,
            "low": 1.0931,
            "close": 1.09337
        },
        {
            "time": "2026-11-27T20:00:00+00:00",
            "timestamp": 1795809600,
            "open": 1.09356,
            "high": 1.09356,
            "low": 1.09341,
            "close": 1.09343
        },
        {
            "time": "2026-11-27T19:00:00+00:00",
            "timestamp": 1795806000,
            "open": 1.09329,
            "high": 1.09363,
            "low": 1.0932,
            "close": 1.09356
        },
        {
            "time": "2026-11-27T18:00:00+00:00",
            "timestamp": 1795802400,
            "open": 1.09371,
            "high": 1.09373,
            "low": 1.09324,
            "close": 1.09329
        },
        {
            "time": "2026-11-27T17:00:00+00:00",
            "timestamp": 1795798800,
            "open": 1.09378,
            "high": 1.09406,
            "low": 1.09336,
            "close": 1.09371
        },
        {
            "time": "2026-11-27T16:00:00+00:00",
            "timestamp": 1795795200,
            "open": 1.09399,
            "high": 1.09405,
            "low": 1.09348,
            "close": 1.09378
        },
        {
            "time": "2026-11-27T15:00:00+00:00",
            "timestamp": 1795791600,
            "open": 1.09497,
            "high": 1.09502,
            "low": 1.09345,
            "close": 1.09399
        },
        {
            "time": "2026-11-27T14:00:00+00:00",
            "timestamp": 1795788000,
            "open": 1.09497,
            "high": 1.09549,
            "low": 1.0945,
            "close": 1.09497
        },
        {
            "time": "2026-11-27T13:00:00+00:00",
            "timestamp": 1795784400,
            "open": 1.09656,
            "high": 1.09657,
            "low": 1.09426,
            "close": 1.09497
        },
        {
            "time": "2026-11-27T12:00:00+00:00",
            "timestamp": 1795780800,
            "open": 1.09671,
            "high": 1.09704,
            "low": 1.0961,
            "close": 1.09656
        },
        {
            "time": "2026-11-27T11:00:00+00:00",
            "timestamp": 1795777200,
            "open": 1.09646,
            "high": 1.09671,
            "low": 1.09594,
            "close": 1.09671
        },
        {
            "time": "2026-11-27T10:00:00+00:00",
            "timestamp": 1795773600,
            "open": 1.09611,
            "high": 1.09649,
            "low": 1.09552,
            "close": 1.09646
        },
        {
            "time": "2026-11-27T09:00:00+00:00",
            "timestamp": 1795770000,
            "open": 1.0964,
            "high": 1.09672,
            "low": 1.09558,
            "close": 1.09611
        },
        {
            "time": "2026-11-27T08:00:00+00:00",
            "timestamp": 1795766400,
            "open": 1.09763,
            "high": 1.09776,
            "low": 1.0961,
            "close": 1.0964
        },
        {
            "time": "2026-11-27T07:00:00+00:00",
            "timestamp": 1795762800,
            "open": 1.09774,
            "high": 1.09821,
            "low": 1.09695,
            "close": 1.09763
        },
        {
            "time": "2026-11-27T06:00:00+00:00",
            "timestamp": 1795759200,
            "open": 1.09786,
            "high": 1.09824,
            "low": 1.09746,
            "close": 1.09774
        },
        {
            "time": "2026-11-27T05:00:00+00:00",
            "timestamp": 1795755600,
            "open": 1.09712,
            "high": 1.09857,
            "low": 1.09712,
            "close": 1.09786
        },
        {
            "time": "2026-11-27T04:00:00+00:00",
            "timestamp": 1795752000,
            "open": 1.09763,
            "high": 1.09763,
            "low": 1.09705,
            "close": 1.09712
        },
        {
            "time": "2026-11-27T03:00:00+00:00",
            "timestamp": 1795748400,
            "open": 1.09803,
            "high": 1.09835,
            "low": 1.09758,
            "close": 1.09763
        },
        {
            "time": "2026-11-27T02:00:00+00:00",
            "timestamp": 1795744800,
            "open": 1.09721,
            "high": 1.09835,
            "low": 1.09714,
            "close": 1.09803
        },
        {
            "time": "2026-11-27T01:00:00+00:00",
            "timestamp": 1795741200,
            "open": 1.09626,
            "high": 1.09722,
            "low": 1.09609,
            "close": 1.09721
        },
        {
            "time": "2026-11-27T00:00:00+00:00",
            "timestamp": 1795737600,
            "open": 1.09695,
            "high": 1.09701,
            "low": 1.09609,
            "close": 1.09626
        },
        {
            "time": "2026-11-26T23:00:00+00:00",
            "timestamp": 1795734000,
            "open": 1.09715,
            "high": 1.09715,
            "low": 1.09689,
            "close": 1.09695
        },
        {
            "time": "2026-11-26T22:00:00+00:00",
            "timestamp": 1795730400,
            "open": 1.09687,
            "high": 1.09724,
            "low": 1.09666,
            "close": 1.09715
        },
        {
            "time": "2026-11-26T21:00:00+00:00",
            "timestamp": 1795726800,
            "open": 1.09692,
            "high": 1.09704,
            "low": 1.09687,
            "close": 1.09687
        }
    ]
}
价格柱状图 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43919/price+bars?instrument=EUR/USD&interval=H1&from=2026-11-02&to=2026-11-27&limit=200' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回所有包含市场数据的交易品种:货币对、加密货币、金属、能源和股票指数,并提供其类别、小数位数和市场假日信息
Endpoint ID: 43920
GET https://zylalabs.com/api/15892/forex+factory+api/43920/instruments
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
[
    {
        "name": "USD/MXN",
        "title": "US Dollar / Mexican Peso",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "USD/JPY",
        "title": "US Dollar / Japanese Yen",
        "class": "Forex",
        "decimals": 2,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "USD/CAD",
        "title": "US Dollar / Canadian Dollar",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "USD/CHF",
        "title": "US Dollar / Swiss Franc",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "USD/SGD",
        "title": "US Dollar / Singapore Dollar",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "USD/HKD",
        "title": "US Dollar / Hong Kong Dollar",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "EUR/USD",
        "title": "Euro / US Dollar",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "EUR/JPY",
        "title": "Euro / Japanese Yen",
        "class": "Forex",
        "decimals": 2,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "EUR/GBP",
        "title": "Euro / British Pound",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "EUR/CHF",
        "title": "Euro / Swiss Franc",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "EUR/CAD",
        "title": "Euro / Canadian Dollar",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "EUR/AUD",
        "title": "Euro / Australian Dollar",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "EUR/NZD",
        "title": "Euro / New Zealand Dollar",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "GBP/USD",
        "title": "British Pound / US Dollar",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "GBP/JPY",
        "title": "British Pound / Japanese Yen",
        "class": "Forex",
        "decimals": 2,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "GBP/CHF",
        "title": "British Pound / Swiss Franc",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "GBP/AUD",
        "title": "British Pound / Australian Dollar",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "GBP/CAD",
        "title": "British Pound / Canadian Dollar",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "GBP/NZD",
        "title": "British Pound / New Zealand Dollar",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "AUD/USD",
        "title": "Australian Dollar / US Dollar",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "AUD/JPY",
        "title": "Australian Dollar / Japanese Yen",
        "class": "Forex",
        "decimals": 2,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "AUD/CAD",
        "title": "Australian Dollar / Canadian Dollar",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    },
    {
        "name": "AUD/NZD",
        "title": "Australian Dollar / New Zealand Dollar",
        "class": "Forex",
        "decimals": 4,
        "is_in_holiday": false,
        "next_holiday": "2026-12-04T22:00:00+00:00"
    }
]
仪器彩票娱乐 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43920/instruments' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回最多 20 种金融工具的实时报价:买价和卖价(报价经纪商报价的中位数)、每家经纪商的买价和卖价,以及过去 5 分钟至 2 天内的开盘价、最高价、最低价、涨跌幅和平均点差
Endpoint ID: 43921
GET https://zylalabs.com/api/15892/forex+factory+api/43921/quotes
输入参数

引言 — 端点功能

对象 描述
instruments 必需 Comma-separated instruments from the instruments endpoint, up to 20.

剩余免费测试请求:3 / 3。


输入参数

instruments
API 示例响应
JSON
[
    {
        "instrument": "EUR/USD",
        "class": "Forex",
        "decimals": 4,
        "bid": 1.08544,
        "ask": 1.08546,
        "brokers": 39,
        "is_in_holiday": false,
        "windows": {
            "m5": {
                "open": 1.08565,
                "high": 1.08579,
                "low": 1.08525,
                "change": -0.00021,
                "change_percent": -0.019,
                "average_spread": 0.7
            },
            "m15": {
                "open": 1.08634,
                "high": 1.08644,
                "low": 1.08525,
                "change": -0.0009,
                "change_percent": -0.083,
                "average_spread": 0.7
            },
            "m30": {
                "open": 1.08654,
                "high": 1.08658,
                "low": 1.08525,
                "change": -0.0011,
                "change_percent": -0.101,
                "average_spread": 0.7
            },
            "h1": {
                "open": 1.08705,
                "high": 1.08732,
                "low": 1.08525,
                "change": -0.00161,
                "change_percent": -0.148,
                "average_spread": 0.9
            },
            "h4": {
                "open": 1.08571,
                "high": 1.08732,
                "low": 1.08525,
                "change": -0.00027,
                "change_percent": -0.025,
                "average_spread": 0.9
            },
            "h12": {
                "open": 1.08639,
                "high": 1.08732,
                "low": 1.08512,
                "change": -0.00095,
                "change_percent": -0.087,
                "average_spread": 0.6
            },
            "d1": {
                "open": 1.09128,
                "high": 1.09254,
                "low": 1.08512,
                "change": -0.00584,
                "change_percent": -0.535,
                "average_spread": 0.6
            },
            "d2": {
                "open": 1.09196,
                "high": 1.09254,
                "low": 1.08512,
                "change": -0.00652,
                "change_percent": -0.597,
                "average_spread": 0.7
            }
        },
        "broker_quotes": [
            {
                "broker": "ADM",
                "bid": 1.08544,
                "ask": 1.08545,
                "time": "2026-12-02T08:14:15+00:00"
            },
            {
                "broker": "ATV",
                "bid": 1.08542,
                "ask": 1.0855,
                "time": "2026-12-02T08:14:15+00:00"
            },
            {
                "broker": "AVA",
                "bid": 1.08542,
                "ask": 1.0855,
                "time": "2026-12-02T08:14:07+00:00"
            },
            {
                "broker": "BTT",
                "bid": 1.08545,
                "ask": 1.08545,
                "time": "2026-12-02T08:14:16+00:00"
            },
            {
                "broker": "CFI",
                "bid": 1.08546,
                "ask": 1.08546,
                "time": "2026-12-02T08:14:14+00:00"
            },
            {
                "broker": "CMC",
                "bid": 1.08545,
                "ask": 1.08545,
                "time": "2026-12-02T08:14:15+00:00"
            },
            {
                "broker": "DBI",
                "bid": 1.08539,
                "ask": 1.08546,
                "time": "2026-12-02T08:14:16+00:00"
            },
            {
                "broker": "DER",
                "bid": 1.08541,
                "ask": 1.08549,
                "time": "2026-12-02T08:14:03+00:00"
            },
            {
                "broker": "EBC",
                "bid": 1.08544,
                "ask": 1.08544,
                "time": "2026-12-02T08:14:10+00:00"
            },
            {
                "broker": "ESY",
                "bid": 1.0854,
                "ask": 1.08548,
                "time": "2026-12-02T08:14:16+00:00"
            },
            {
                "broker": "ETO",
                "bid": 1.08547,
                "ask": 1.08548,
                "time": "2026-12-02T08:14:09+00:00"
            },
            {
                "broker": "FBS",
                "bid": 1.08545,
                "ask": 1.08555,
                "time": "2026-12-02T08:14:09+00:00"
            },
            {
                "broker": "FOR",
                "bid": 1.08545,
                "ask": 1.08546,
                "time": "2026-12-02T08:14:13+00:00"
            },
            {
                "broker": "FPM",
                "bid": 1.08544,
                "ask": 1.08544,
                "time": "2026-12-02T08:14:16+00:00"
            },
            {
                "broker": "FXP",
                "bid": 1.0854,
                "ask": 1.08549,
                "time": "2026-12-02T08:14:15+00:00"
            },
            {
                "broker": "FxTrade",
                "bid": 1.08537,
                "ask": 1.08552,
                "time": "2026-12-02T08:14:15+00:00"
            },
            {
                "broker": "GMK",
                "bid": 1.08544,
                "ask": 1.08544,
                "time": "2026-12-02T08:14:15+00:00"
            },
            {
                "broker": "HOT",
                "bid": 1.08545,
                "ask": 1.08545,
                "time": "2026-12-02T08:14:07+00:00"
            },
            {
                "broker": "ICM",
                "bid": 1.08545,
                "ask": 1.08545,
                "time": "2026-12-02T08:14:16+00:00"
            },
            {
                "broker": "IGU",
                "bid": 1.08535,
                "ask": 1.08546,
                "time": "2026-12-02T08:14:16+00:00"
            },
            {
                "broker": "IUX",
                "bid": 1.08543,
                "ask": 1.08547,
                "time": "2026-12-02T08:14:16+00:00"
            },
            {
                "broker": "JMK",
                "bid": 1.08542,
                "ask": 1.08548,
                "time": "2026-12-02T08:14:07+00:00"
            },
            {
                "broker": "LFX",
                "bid": 1.08542,
                "ask": 1.08546,
                "time": "2026-12-02T08:14:16+00:00"
            },
            {
                "broker": "LTE",
                "bid": 1.08544,
                "ask": 1.08544,
                "time": "2026-12-02T08:14:16+00:00"
            },
            {
                "broker": "MDSAgg",
                "bid": 1.08544,
                "ask": 1.08547,
                "time": "2026-12-02T08:14:16+00:00"
            },
            {
                "broker": "MON",
                "bid": 1.08545,
                "ask": 1.08545,
                "time": "2026-12-02T08:14:16+00:00"
            },
            {
                "broker": "OCT",
                "bid": 1.0854,
                "ask": 1.0855,
                "time": "2026-12-02T08:14:15+00:00"
            },
            {
                "broker": "ODA",
                "bid": 1.0854,
                "ask": 1.08555,
                "time": "2026-12-02T08:14:08+00:00"
            },
            {
                "broker": "ONE",
                "bid": 1.08537,
                "ask": 1.08551,
                "time": "2026-12-02T08:14:11+00:00"
            },
            {
                "broker": "PEP",
                "bid": 1.08543,
                "ask": 1.08543,
                "time": "2026-12-02T08:14:16+00:00"
            },
            {
                "broker": "PUP",
                "bid": 1.08545,
                "ask": 1.08547,
                "time": "2026-12-02T08:14:15+00:00"
            },
            {
                "broker": "RBO",
                "bid": 1.08544,
                "ask": 1.08547,
                "time": "2026-12-02T08:14:12+00:00"
            },
            {
                "broker": "RSE",
                "bid": 1.08539,
                "ask": 1.0855,
                "time": "2026-12-02T08:14:16+00:00"
            },
            {
                "broker": "STR",
                "bid": 1.08546,
                "ask": 1.08546,
                "time": "2026-12-02T08:14:12+00:00"
            },
            {
                "broker": "TML",
                "bid": 1.08546,
                "ask": 1.08546,
                "time": "2026-12-02T08:14:10+00:00"
            },
            {
                "broker": "TNK",
                "bid": 1.08546,
                "ask": 1.08546,
                "time": "2026-12-02T08:14:15+00:00"
            },
            {
                "broker": "VTM",
                "bid": 1.08546,
                "ask": 1.08546,
                "time": "2026-12-02T08:14:14+00:00"
            },
            {
                "broker": "XBT",
                "bid": 1.08545,
                "ask": 1.08546,
                "time": "2026-12-02T08:14:15+00:00"
            },
            {
                "broker": "XEM",
                "bid": 1.08539,
                "ask": 1.08551,
                "time": "2026-12-02T08:14:15+00:00"
            }
        ]
    }
]
引言 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43921/quotes?instruments=EUR/USD,GBP/USD,Gold/USD' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回新闻报道的评论及其作者、日期、文本、点赞数、点踩数和回复层级
Endpoint ID: 43922
GET https://zylalabs.com/api/15892/forex+factory+api/43922/news+comments
输入参数

新闻评论 — 端点功能

对象 描述
story_id 必需 Story id, as returned by the news stories endpoint.

剩余免费测试请求:3 / 3。


输入参数

story_id
API 示例响应
JSON
[
    {
        "id": 16025451,
        "level": 1,
        "username": "QCTrade",
        "date": "2026-11-30T13:33:00+00:00",
        "message": "Can someone explain to me why CXY is going up and USD/CAD is going down?",
        "likes": 3,
        "dislikes": 0
    },
    {
        "id": 16025456,
        "level": 2,
        "username": "Jsricky",
        "date": "2026-11-30T13:34:00+00:00",
        "message": "so confused usdcad is going down instead of up",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025469,
        "level": 3,
        "username": "QCTrade",
        "date": "2026-11-30T13:38:00+00:00",
        "message": "I mean looking at the graph, each time a GDP m/m went lower in the negative, the next one recovered in the positive values. Maybe this one was already priced in and then now we are seeing the market pricing in a recovery? That's my thought...",
        "likes": 2,
        "dislikes": 0
    },
    {
        "id": 16025476,
        "level": 4,
        "username": "Jsricky",
        "date": "2026-11-30T13:40:00+00:00",
        "message": "that's very possible",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025479,
        "level": 3,
        "username": "Trader#1D0D",
        "date": "2026-11-30T13:41:00+00:00",
        "message": "This is the bro,, listen",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025507,
        "level": 1,
        "username": "Lopuch",
        "date": "2026-11-30T13:54:00+00:00",
        "message": "That is the reason - Canada Q3 annualized GDP 2.2% vs 1.5% expected",
        "likes": 2,
        "dislikes": 0
    },
    {
        "id": 16025981,
        "level": 2,
        "username": "Trader#E0CF",
        "date": "2026-11-30T21:07:00+00:00",
        "message": "How do I get this indicator super clean !",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16026073,
        "level": 1,
        "username": "Th3W1z4rd",
        "date": "2026-11-30T23:19:00+00:00",
        "message": "CAD looks strong today.",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025732,
        "level": 1,
        "username": "enarco",
        "date": "2026-11-30T16:18:00+00:00",
        "message": "60 billion a year just in interest payments and Carney the economist is spending more. It is simply retarded economics.",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025450,
        "level": 1,
        "username": "Trader#5ACB",
        "date": "2026-11-30T13:33:00+00:00",
        "message": "Why is it bearish in usdcad this is so weird",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025453,
        "level": 2,
        "username": "QCTrade",
        "date": "2026-11-30T13:34:00+00:00",
        "message": "Not sure I understand either lol",
        "likes": 1,
        "dislikes": 0
    },
    {
        "id": 16025471,
        "level": 2,
        "username": "Jsricky",
        "date": "2026-11-30T13:39:00+00:00",
        "message": "im buyin the dip tho",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025452,
        "level": 1,
        "username": "Trader#6C3D",
        "date": "2026-11-30T13:34:00+00:00",
        "message": "i don't even know what half of ts means lol",
        "likes": 2,
        "dislikes": 0
    },
    {
        "id": 16025463,
        "level": 2,
        "username": "Trader#55E7",
        "date": "2026-11-30T13:36:00+00:00",
        "message": null,
        "likes": 2,
        "dislikes": 0
    },
    {
        "id": 16025472,
        "level": 1,
        "username": "Trader#29D0",
        "date": "2026-11-30T13:39:00+00:00",
        "message": "Carney sucks at his job",
        "likes": 1,
        "dislikes": 0
    },
    {
        "id": 16025486,
        "level": 1,
        "username": "Car1ben",
        "date": "2026-11-30T13:44:00+00:00",
        "message": "I think this platform gives fake data cause on myfxbook it's plus 0.7% but here is minus 0.3%%",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025501,
        "level": 2,
        "username": "ferkorkut",
        "date": "2026-11-30T13:52:00+00:00",
        "message": "m/m vs q/q",
        "likes": 2,
        "dislikes": 0
    },
    {
        "id": 16025540,
        "level": 1,
        "username": "Cffxm",
        "date": "2026-11-30T14:15:00+00:00",
        "message": "Shit man I just missed big opportunity for sell setup",
        "likes": 1,
        "dislikes": 0
    },
    {
        "id": 16025462,
        "level": 1,
        "username": "hendraliana",
        "date": "2026-11-30T13:36:00+00:00",
        "message": "This is weird. USDCAD should go up",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025464,
        "level": 1,
        "username": "Trader#10DD",
        "date": "2026-11-30T13:36:00+00:00",
        "message": "Gold",
        "likes": 1,
        "dislikes": 0
    },
    {
        "id": 16025467,
        "level": 1,
        "username": "Mohx",
        "date": "2026-11-30T13:37:00+00:00",
        "message": "It can still go down",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025470,
        "level": 1,
        "username": "Trader#A5DF",
        "date": "2026-11-30T13:39:00+00:00",
        "message": "Its manipulation news",
        "likes": 1,
        "dislikes": 0
    },
    {
        "id": 16025492,
        "level": 1,
        "username": "Jayahr",
        "date": "2026-11-30T13:47:00+00:00",
        "message": "nice",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025500,
        "level": 1,
        "username": "Descendant5",
        "date": "2026-11-30T13:50:00+00:00",
        "message": "-0.3 so bearish it's thank you",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025503,
        "level": 1,
        "username": "ZacTildesley",
        "date": "2026-11-30T13:53:00+00:00",
        "message": "Its the Q3 data guys",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025949,
        "level": 1,
        "username": "MHaron",
        "date": "2026-11-30T20:23:00+00:00",
        "message": "Please someone should explain me\nI didn't understand at all about this statistics guys",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16026091,
        "level": 1,
        "username": "Heris964",
        "date": "2026-12-01T00:07:00+00:00",
        "message": "Buy EURUSD",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025455,
        "level": 1,
        "username": "Trader#1685",
        "date": "2026-11-30T13:34:00+00:00",
        "message": "idk if it helped or not but got a red candle in xaud",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025473,
        "level": 1,
        "username": "Trader#6EE7",
        "date": "2026-11-30T13:39:00+00:00",
        "message": "why gold is dropping with cad lol",
        "likes": 0,
        "dislikes": 0
    },
    {
        "id": 16025474,
        "level": 1,
        "username": "Trader#1D0D",
        "date": "2026-11-30T13:39:00+00:00",
        "message": "No,, its down bro,,look the format of MT5 its part of Sell,, Hahaha",
        "likes": 0,
        "dislikes": 0
    }
]
新闻评论 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43922/news+comments?story_id=1439442' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回新闻报道 每页30条:标题 预览 日期 来源 影响 图片和评论数 按类别 金融工具或经济指标筛选 并按最新 最热门 浏览量最多或评论最多排序
Endpoint ID: 43923
GET https://zylalabs.com/api/15892/forex+factory+api/43923/news+stories
输入参数

新闻报道 — 端点功能

对象 描述
category 可选 Optional category: "all", "breaking", "fundamental", "technical", "industry", "entertainment", "educational" (defaults to "all").
sort 可选 Optional sort: "latest", "hot", "most_viewed", "most_commented", "last_commented" (defaults to "latest").
period 可选 Optional period of the hot, most viewed and most commented sorts: "12h", "24h", "48h", "7d", "30d" (defaults to "24h").
instrument 可选 Optional instrument the stories are about (e.g. "EUR/USD", "Gold/USD").
indicator_id 可选 Optional economic indicator the stories are linked to, as returned by the indicator search.
page 可选 Optional page number (defaults to 1).

剩余免费测试请求:3 / 3。


输入参数

category
sort
period
instrument
indicator_id
page
API 示例响应
JSON
{
    "page": 1,
    "page_size": 30,
    "has_more": true,
    "items": [
        {
            "id": 1439831,
            "title": "Spain: Unemployment fell by 4,234 people in November",
            "preview": "The number of unemployed people registered at the State Public Employment Service (SEPE) offices at the end of November has decreased by 4,234 people compared to the previous month (-0.17%). Year-on-year, unemployment has decreased by 6,562 people (-0.27%). Registered unemployment now stands at 2,418,399 people. Unemployment by economic sector Compared to ...",
            "date": "2026-12-02T08:01:22+00:00",
            "source": "mites.gob.es",
            "impact": "low",
            "image": "https://assets.faireconomy.media/nfs/public/5/3/4/5/2/5/7/5345257.png?_=1796198532",
            "comments": 0,
            "is_video": false,
            "linked_to_calendar": true,
            "updates": 0
        },
        {
            "id": 1439755,
            "title": "US themes for 2027: The cost of resilience",
            "preview": "2027 is shaping up to be the mirror image of four years ago when economists debated the soft versus hard landing of the US economy in 2023. But this time, the question revolves around how much faster can the US economy continue to take off? In a world where growth is accelerating—fueled by a massive AI infrastructure investment, record wealth, and sizable ...",
            "date": "2026-12-02T02:00:25+00:00",
            "source": "rbc.com",
            "impact": null,
            "image": "https://assets.faireconomy.media/nfs/npd/2024/03/12/npd_22_07_29.v2.png",
            "comments": 0,
            "is_video": false,
            "linked_to_calendar": false,
            "updates": 0
        },
        {
            "id": 1439770,
            "title": "Warren Buffett, the billionaire sage of investing, dies at age 96",
            "preview": "Warren Buffett, the lovable tycoon and philanthropist who became one of the world’s richest and most respected investors, has died. He was 96. His death was announced by Berkshire Hathaway. The former chairman and CEO of Berkshire Hathaway amassed a personal fortune worth about $160 billion. He and his late Berkshire partner, Charlie Munger, invested in ...",
            "date": "2026-12-01T23:36:05+00:00",
            "source": "cnbc.com",
            "impact": null,
            "image": "https://assets.faireconomy.media/nfs/public/5/3/4/5/0/2/2/5345022.png?_=1796167309",
            "comments": 56,
            "is_video": false,
            "linked_to_calendar": false,
            "updates": 0
        },
        {
            "id": 1439737,
            "title": "Euro Down 9% as Fed and ECB Rate Paths Diverge",
            "preview": "The euro climbed to its highest level against the dollar in more than five years near 1.21 in January, then slid over 9% as the Fed flipped from cutting rates to hiking. Jim Iuorio of JI Financial Strategies breaks down the shift in relative rate expectations, with both the Fed and the ECB expected to raise rates 25 bps this month and markets pricing ...",
            "date": "2026-12-01T22:45:27+00:00",
            "source": "youtube.com/cmegroup",
            "impact": null,
            "image": "https://assets.faireconomy.media/nfs/npd/2017/06/02/npd_23_02_49.v2.jpg",
            "comments": 1,
            "is_video": true,
            "linked_to_calendar": false,
            "updates": 0
        },
        {
            "id": 1439694,
            "title": "Fed set to finalize 'Basel' bank capital rules by end of year",
            "preview": "The Federal Reserve expects in the coming weeks to complete a yearslong effort to overhaul capital rules for larger banks, a senior official said on Tuesday, a step that would ease requirements for the amount of capital that many Wall Street lenders would have to keep on hand. Fed Vice Chair for Supervision Michelle Bowman told the US Congress she expects ...",
            "date": "2026-12-01T22:00:27+00:00",
            "source": "finance.yahoo.com",
            "impact": null,
            "image": "https://assets.faireconomy.media/nfs/npd/2019/02/11/npd_11_52_13.v2.png",
            "comments": 0,
            "is_video": false,
            "linked_to_calendar": true,
            "updates": 0
        },
        {
            "id": 1439724,
            "title": "Trump: We support Iraqi Prime Minister Ali al-Zaidi’s efforts to assert state authority throughout Iraq, stop smuggling of Iraqi oil, end corruption",
            "preview": "We support Iraqi Prime Minister Ali al-Zaidi’s efforts to assert state authority throughout Iraq, stop the smuggling of Iraqi oil, end corruption, and bring all weapons under the exclusive control of the state. We support Prime Minister al-Zaidi’s efforts to build a united, prosperous, and strong Iraq that makes its own political decisions. The Prime Minister is working hard to, MAKE IRAQ GREAT AGAIN! President DONALD J. TRUMP",
            "date": "2026-12-01T21:15:36+00:00",
            "source": "@realDonaldTrump",
            "impact": "low",
            "image": "https://assets.faireconomy.media/nfs/npd/2017/06/04/npd_16_23_59.v2.png",
            "comments": 12,
            "is_video": false,
            "linked_to_calendar": false,
            "updates": 0
        },
        {
            "id": 1439702,
            "title": "Prototype Nike racing spikes from 1972 could sell for nearly $250K at auction",
            "preview": "A pair of handmade Nike prototype racing spikes could fetch more than $249,000 at auction. The experimental shoes were worn by 16-year-old Craig Virgin against the Soviet Union in 1972. They were created by Nike co-founder Bill Bowerman and orthotics specialist Dennis Vixie and featured in Nike’s first promotional poster. The poster features a photograph of ...",
            "date": "2026-12-01T20:30:28+00:00",
            "source": "nypost.com",
            "impact": null,
            "image": "https://assets.faireconomy.media/nfs/public/5/3/4/4/9/5/8/5344958.png?_=1796155669",
            "comments": 0,
            "is_video": false,
            "linked_to_calendar": false,
            "updates": 0
        }
    ]
}
新闻报道 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43923/news+stories?category=breaking&sort=latest&period=24h&instrument=EUR/USD&indicator_id=66&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一则新闻:标题、来源和链接、图片、正文、日期、影响类别、评论数和浏览量、关联的经济事件和金融工具,以及添加到该新闻的更新
Endpoint ID: 43924
GET https://zylalabs.com/api/15892/forex+factory+api/43924/news+story
输入参数

新闻报道 — 端点功能

对象 描述
story_id 必需 Story id, as returned by the news stories endpoint.

剩余免费测试请求:3 / 3。


输入参数

story_id
API 示例响应
JSON
{
    "id": 1439442,
    "title": "Canada gross domestic product by industry, September 2026",
    "source": "statcan.gc.ca",
    "source_url": "https://www150.statcan.gc.ca/n1/daily-quotidien/261130/dq261130b-eng.htm",
    "image": "https://assets.faireconomy.media/nfs/npd/2017/10/12/npd_20_48_42.v2.png",
    "text": "Real gross domestic product (GDP) was down 0.3% in September, recording the largest monthly contraction since December 2022. The goods-producing industries aggregate declined 1.0% in September 2026, on contractions across most comprising sectors. This was the largest decrease since January 2024. Meanwhile, the services-producing industries were largely unchanged for the third consecutive month. The mining, quarrying and oil and gas extraction sector was the largest detractor to growth in September, declining 2.7%. Oil and gas extraction was down 3.4% in September, its fourth consecutive decline, and follows a period ...",
    "date": "2026-11-30T13:30:00+00:00",
    "posted_by": "Newsstand",
    "category": "High Impact Breaking",
    "impact": "high",
    "comments": 30,
    "views": 8257,
    "linked_events": [
        {
            "indicator_id": 29,
            "name": "CA GDP m/m"
        }
    ],
    "instruments": [
        "WTI/USD",
        "USD/CAD"
    ],
    "updates": [
        {
            "added": "2026-12-02T13:33:00+00:00",
            "title": "Gross domestic product, income and expenditure, third quarter 2026",
            "source": "statcan.gc.ca",
            "source_url": "https://www150.statcan.gc.ca/n1/daily-quotidien/261130/dq261130a-eng.htm",
            "image": null,
            "text": "Real gross domestic product (GDP) rose 0.5% in the third quarter, led by higher final domestic demand, primarily investment in non-residential and residential structures and household spending. Lower imports also added to growth, while withdrawals of business inventories and declines in exports tempered overall growth in the third quarter. The change in real GDP in the second quarter was revised from 0.8% to 1.0% and included upward revisions to business inventories and investment in machinery and equipment. On a per capita basis, real GDP increased 0.4% in the third quarter following a 1.0% rise in the second ..."
        },
        {
            "added": "2026-12-02T13:49:00+00:00",
            "title": "Economy grew 2.2% annualized in Q3 despite September decline: StatCan",
            "source": "bnnbloomberg.ca",
            "source_url": "https://www.bnnbloomberg.ca/business/economics/2026/11/30/economy-grew-22-annualized-in-q3-despite-september-decline-statcan/",
            "image": null,
            "text": "Statistics Canada says economic growth slowed in the third quarter but higher government capital spending helped lift gross domestic product. Real GDP was up 2.2 per cent on an annualized basis in the third quarter, a slowdown from 4.1 per cent growth in the previous three months. StatCan says both imports and exports fell in the third quarter as the trade dispute between Canada and the United States ramped up again. But the agency says government investment in non-residential buildings such as hospitals and universities was up sharply last quarter, mostly in Ontario and Quebec. Higher spending on renovations helped ..."
        }
    ]
}
新闻报道 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43924/news+story?story_id=1439442' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回已验证账户交易者的最新交易:交易品种、方向、价格、开仓或平仓、时间、交易者、收益和点数。按交易类型、账户类型和货币对筛选】【。
Endpoint ID: 43925
GET https://zylalabs.com/api/15892/forex+factory+api/43925/trade+activity
输入参数

交易活动 — 端点功能

对象 描述
trade_type 可选 Optional trade type: "all", "entries", "exits", "winners", "losers" (defaults to "all").
account_type 可选 Optional account type: "live", "demo" (defaults to "live").
symbols 可选 Optional comma-separated currency pairs (e.g. "EURUSD,GBPUSD"; defaults to every instrument).

剩余免费测试请求:3 / 3。


输入参数

trade_type
account_type
symbols
API 示例响应
JSON
[
    {
        "instrument": "EUR/USD",
        "direction": "sell",
        "price": 1.0854,
        "action": "Scaled In",
        "parts": [
            {
                "action": "Opened Short",
                "price": 1.0854
            },
            {
                "action": "Opened Short",
                "price": 1.0854
            }
        ],
        "time": "2026-12-02T08:11:56+00:00",
        "username": "JammyKwan",
        "return_percent": null,
        "pips": null,
        "marked_to_market": true
    },
    {
        "instrument": "EUR/USD",
        "direction": "buy",
        "price": 1.0858,
        "action": "Scaled In",
        "parts": [
            {
                "action": "Opened Long",
                "price": 1.0858
            },
            {
                "action": "Opened Long",
                "price": 1.0858
            }
        ],
        "time": "2026-12-02T08:10:46+00:00",
        "username": "JammyKwan",
        "return_percent": null,
        "pips": null,
        "marked_to_market": true
    },
    {
        "instrument": "EUR/USD",
        "direction": "buy",
        "price": 1.0857,
        "action": "Opened Long",
        "parts": [],
        "time": "2026-12-02T08:10:33+00:00",
        "username": "mamimsh",
        "return_percent": -2.3,
        "pips": null,
        "marked_to_market": true
    },
    {
        "instrument": "EUR/USD",
        "direction": "buy",
        "price": 1.0857,
        "action": "Scaled Out",
        "parts": [
            {
                "action": "Closed Short",
                "price": 1.0857
            },
            {
                "action": "Closed Short",
                "price": 1.0857
            },
            {
                "action": "Closed Short",
                "price": 1.0857
            },
            {
                "action": "Closed Short",
                "price": 1.0857
            }
        ],
        "time": "2026-12-02T08:09:41+00:00",
        "username": "Ian.Maina",
        "return_percent": 0.1,
        "pips": 4,
        "marked_to_market": false
    },
    {
        "instrument": "EUR/USD",
        "direction": "sell",
        "price": 1.0856,
        "action": "Opened Short",
        "parts": [],
        "time": "2026-12-02T08:09:37+00:00",
        "username": "JammyKwan",
        "return_percent": null,
        "pips": -2,
        "marked_to_market": false
    },
    {
        "instrument": "EUR/USD",
        "direction": "buy",
        "price": 1.0858,
        "action": "Closed Short",
        "parts": [],
        "time": "2026-12-02T08:09:15+00:00",
        "username": "tumelo0195",
        "return_percent": 32.4,
        "pips": 41,
        "marked_to_market": false
    },
    {
        "instrument": "EUR/USD",
        "direction": "buy",
        "price": 1.0859,
        "action": "Scaled Out",
        "parts": [
            {
                "action": "Closed Short",
                "price": 1.086
            },
            {
                "action": "Closed Short",
                "price": 1.086
            },
            {
                "action": "Closed Short",
                "price": 1.086
            },
            {
                "action": "Closed Short",
                "price": 1.086
            },
            {
                "action": "Closed Short",
                "price": 1.0858
            },
            {
                "action": "Closed Short",
                "price": 1.0858
            },
            {
                "action": "Closed Short",
                "price": 1.0859
            },
            {
                "action": "Closed Short",
                "price": 1.0858
            }
        ],
        "time": "2026-12-02T08:08:58+00:00",
        "username": "JammyKwan",
        "return_percent": null,
        "pips": 1,
        "marked_to_market": false
    },
    {
        "instrument": "EUR/USD",
        "direction": "sell",
        "price": 1.0858,
        "action": "Scaled Out",
        "parts": [
            {
                "action": "Closed Long",
                "price": 1.0857
            },
            {
                "action": "Closed Long",
                "price": 1.0856
            },
            {
                "action": "Closed Long",
                "price": 1.086
            },
            {
                "action": "Closed Long",
                "price": 1.0857
            }
        ],
        "time": "2026-12-02T08:08:41+00:00",
        "username": "JammyKwan",
        "return_percent": null,
        "pips": -4,
        "marked_to_market": false
    },
    {
        "instrument": "EUR/USD",
        "direction": "buy",
        "price": 1.086,
        "action": "Scaled Out",
        "parts": [
            {
                "action": "Closed Short",
                "price": 1.086
            },
            {
                "action": "Closed Short",
                "price": 1.086
            },
            {
                "action": "Closed Short",
                "price": 1.086
            },
            {
                "action": "Closed Short",
                "price": 1.086
            }
        ],
        "time": "2026-12-02T08:08:02+00:00",
        "username": "gus101",
        "return_percent": 0.1,
        "pips": 4,
        "marked_to_market": false
    },
    {
        "instrument": "EUR/USD",
        "direction": "sell",
        "price": 1.0859,
        "action": "Closed Long",
        "parts": [],
        "time": "2026-12-02T08:08:01+00:00",
        "username": "cs20",
        "return_percent": -92.9,
        "pips": -9,
        "marked_to_market": false
    }
]
交易活动 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43925/trade+activity?trade_type=all&account_type=live&symbols=EURUSD,GBPUSD' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回本周本月或本年度实盘或模拟账户中按收益排名的顶级交易者:排名交易者账户名称和收益
Endpoint ID: 43926
GET https://zylalabs.com/api/15892/forex+factory+api/43926/trader+leaderboard
输入参数

交易员排行榜 — 端点功能

对象 描述
period 可选 Optional period: "this_week", "this_month", "this_year" (defaults to "this_month").
account_type 可选 Optional account type: "live", "demo" (defaults to "live").

剩余免费测试请求:3 / 3。


输入参数

period
account_type
API 示例响应
JSON
{
    "title": "December Leaderboard / Live Accounts",
    "period": "this_month",
    "account_type": "live",
    "traders": [
        {
            "rank": 1,
            "username": "Albuck",
            "account": "kiwi",
            "return_percent": 487.6,
            "marked_to_market": true
        },
        {
            "rank": 2,
            "username": "J7L7",
            "account": "J7L7",
            "return_percent": 376.4,
            "marked_to_market": true
        },
        {
            "rank": 3,
            "username": "BondBull",
            "account": "AXIGENA",
            "return_percent": 190.6,
            "marked_to_market": false
        },
        {
            "rank": 4,
            "username": "LightNguyen",
            "account": "Xyz",
            "return_percent": 174.8,
            "marked_to_market": false
        },
        {
            "rank": 5,
            "username": "Kealvin1",
            "account": "Kealvin1",
            "return_percent": 172.4,
            "marked_to_market": true
        },
        {
            "rank": 6,
            "username": "Gynaepreneur",
            "account": "TheGynaepreneur",
            "return_percent": 166.1,
            "marked_to_market": true
        },
        {
            "rank": 7,
            "username": "FromMyDesk",
            "account": "Tick STD 9624",
            "return_percent": 121.9,
            "marked_to_market": true
        },
        {
            "rank": 8,
            "username": "U40Trader",
            "account": "AnhChúTrader",
            "return_percent": 104.8,
            "marked_to_market": true
        },
        {
            "rank": 9,
            "username": "MartinRyann",
            "account": "Gorilla Nuts",
            "return_percent": 97.3,
            "marked_to_market": false
        },
        {
            "rank": 10,
            "username": "UzziahC",
            "account": "Uzziah Capital",
            "return_percent": 93.6,
            "marked_to_market": true
        }
    ]
}
交易员排行榜 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43926/trader+leaderboard?period=this_month&account_type=live' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回最多 8 种交易品种中已验证账户交易者的未平仓头寸:做多和做空的交易者人数及其占比,以及多头和空头手数及其占比,反映散户情绪的指标
Endpoint ID: 43927
GET https://zylalabs.com/api/15892/forex+factory+api/43927/trader+positions
输入参数

交易者持仓 — 端点功能

对象 描述
symbols 可选 Optional comma-separated symbols, up to 8 (defaults to "XAUUSD,EURUSD,GBPUSD,USDJPY,GBPJPY,AUDUSD,USDCAD,AUDCAD").

剩余免费测试请求:3 / 3。


输入参数

symbols
API 示例响应
JSON
[
    {
        "instrument": "EUR/USD",
        "symbol": "EURUSD",
        "long_traders": 67,
        "long_traders_percent": 58,
        "short_traders": 48,
        "short_traders_percent": 42,
        "long_lots": 51,
        "long_lots_percent": 66,
        "short_lots": 25.9,
        "short_lots_percent": 34
    },
    {
        "instrument": "GBP/USD",
        "symbol": "GBPUSD",
        "long_traders": 41,
        "long_traders_percent": 60,
        "short_traders": 27,
        "short_traders_percent": 40,
        "long_lots": 10.5,
        "long_lots_percent": 59,
        "short_lots": 7.3,
        "short_lots_percent": 41
    },
    {
        "instrument": "Gold/USD",
        "symbol": "XAUUSD",
        "long_traders": 103,
        "long_traders_percent": 54,
        "short_traders": 88,
        "short_traders_percent": 46,
        "long_lots": null,
        "long_lots_percent": 50,
        "short_lots": null,
        "short_lots_percent": 50
    }
]
交易者持仓 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15892/forex+factory+api/43927/trader+positions?symbols=EURUSD,GBPUSD,XAUUSD' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 外汇工厂 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

外汇数据:包含所有筛选条件和发布历史的经济日历、指标、央行利率、新闻、实时报价和价格柱,以及经验证的交易者持仓

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API