{
    "ok": true,
    "rates": {
        "usd_toman": 1937500,
        "usdt_toman": 1937500,
        "ton_usd": 1.41,
        "ton_toman": 2731875,
        "trx_usd": 0.325567,
        "trx_toman": 632000,
        "updated_at": 1785309411,
        "updated_at_iso": "2026-07-29T07:16:51+00:00",
        "from_cache": false,
        "sources": {
            "usdt_toman": "apiv2.nobitex.ir/v2/orderbook",
            "trx_toman": "apiv2.nobitex.ir/v2/orderbook",
            "ton_toman": "CoinGecko × USDT/IRT"
        },
        "diagnostics": [
            {
                "provider": "Nobitex stats",
                "ok": false,
                "http_code": 400,
                "detail": "invalid server response",
                "host": "apiv2.nobitex.ir",
                "ip": "185.143.233.238",
                "content_type": "application/json",
                "attempt": "system_dns"
            },
            {
                "provider": "Nobitex stats via raw TLS",
                "ok": false,
                "http_code": 400,
                "detail": "HTTP 400",
                "host": "apiv2.nobitex.ir",
                "ip": "185.143.233.238",
                "content_type": "application/json",
                "attempt": "raw_tls_direct"
            },
            {
                "provider": "Nobitex stats via raw TLS",
                "ok": false,
                "http_code": 400,
                "detail": "HTTP 400",
                "host": "apiv2.nobitex.ir",
                "ip": "185.143.234.238",
                "content_type": "application/json",
                "attempt": "raw_tls_direct"
            },
            {
                "provider": "Nobitex stats",
                "ok": true,
                "http_code": 200,
                "detail": "OK",
                "host": "apiv2.nobitex.ir",
                "ip": "185.143.234.238",
                "content_type": "application/json"
            },
            {
                "provider": "Nobitex orderbook USDT",
                "ok": true,
                "http_code": 200,
                "detail": "OK",
                "host": "apiv2.nobitex.ir",
                "ip": "185.143.234.238",
                "content_type": "application/json"
            },
            {
                "provider": "Nobitex orderbook TON",
                "ok": false,
                "http_code": 400,
                "detail": "invalid server response",
                "host": "apiv2.nobitex.ir",
                "ip": "185.143.234.238",
                "content_type": "application/json",
                "attempt": "system_dns"
            },
            {
                "provider": "Nobitex orderbook TON via raw TLS",
                "ok": false,
                "http_code": 400,
                "detail": "HTTP 400",
                "host": "apiv2.nobitex.ir",
                "ip": "185.143.233.238",
                "content_type": "application/json",
                "attempt": "raw_tls_direct"
            },
            {
                "provider": "Nobitex orderbook TON via raw TLS",
                "ok": false,
                "http_code": 400,
                "detail": "HTTP 400",
                "host": "apiv2.nobitex.ir",
                "ip": "185.143.234.238",
                "content_type": "application/json",
                "attempt": "raw_tls_direct"
            },
            {
                "provider": "Nobitex orderbook TON",
                "ok": true,
                "http_code": 200,
                "detail": "OK",
                "host": "apiv2.nobitex.ir",
                "ip": "185.143.234.238",
                "content_type": "application/json"
            },
            {
                "provider": "Nobitex orderbook TRX",
                "ok": true,
                "http_code": 200,
                "detail": "OK",
                "host": "apiv2.nobitex.ir",
                "ip": "185.143.234.238",
                "content_type": "application/json"
            },
            {
                "provider": "Wallex markets",
                "ok": true,
                "http_code": 200,
                "detail": "OK",
                "host": "api.wallex.ir",
                "ip": "31.7.66.220",
                "content_type": "application/json"
            },
            {
                "provider": "CoinGecko",
                "ok": true,
                "http_code": 200,
                "detail": "OK",
                "host": "api.coingecko.com",
                "ip": "104.20.41.132",
                "content_type": "application/json; charset=utf-8"
            }
        ]
    },
    "error_summary": "Engine: 2026.06.14-v3-raw-tls\nNobitex stats: invalid server response (HTTP 400)\nNobitex stats via raw TLS: HTTP 400 (HTTP 400)\nNobitex stats via raw TLS: HTTP 400 (HTTP 400)\nNobitex orderbook TON: invalid server response (HTTP 400)\nNobitex orderbook TON via raw TLS: HTTP 400 (HTTP 400)\nNobitex orderbook TON via raw TLS: HTTP 400 (HTTP 400)",
    "environment": {
        "engine_version": "2026.06.14-v3-raw-tls",
        "loaded_file": "/home/vipsvip5/public_html/Pingo-vpn/crypto_rates_v3.php",
        "file_sha1": "5e59d26a1df460b370475ea97d30b87c35c4e6ff",
        "php": "8.1.34",
        "curl_loaded": true,
        "curl_version": "8.19.0",
        "openssl_loaded": true,
        "allow_url_fopen": true,
        "force_ipv4": true,
        "ssl_verify": true,
        "cache_file_writable": true,
        "doh_enabled": true,
        "doh_cache_file_writable": true,
        "proxy_configured": false
    },
    "examples": {
        "500000_toman_in_usdt": 0.26,
        "500000_toman_in_ton": 0.183,
        "500000_toman_in_trx": 0.79
    }
}