|
2659 | 2659 | "x-pro-only": true
|
2660 | 2660 | }
|
2661 | 2661 | },
|
2662 |
| - "/etfs/overview": { |
| 2662 | + "/etfs/snapshot": { |
2663 | 2663 | "get": {
|
2664 | 2664 | "tags": ["ETFs"],
|
2665 |
| - "summary": "Get BTC ETFs and their metrics (aum, price, fees...)", |
| 2665 | + "summary": "Get ETFs and their metrics (aum, flows, fees...)", |
2666 | 2666 | "responses": {
|
2667 | 2667 | "200": {
|
2668 | 2668 | "description": "successful operation",
|
|
2673 | 2673 | "items": {
|
2674 | 2674 | "type": "object",
|
2675 | 2675 | "properties": {
|
| 2676 | + "ticker": { |
| 2677 | + "type": "string", |
| 2678 | + "description": "ETF ticker symbol" |
| 2679 | + }, |
2676 | 2680 | "timestamp": {
|
2677 | 2681 | "type": "integer",
|
2678 | 2682 | "description": "Current timestamp"
|
2679 | 2683 | },
|
2680 |
| - "timestamp_as_of": { |
2681 |
| - "type": "integer", |
2682 |
| - "description": "Timestamp as of date" |
2683 |
| - }, |
2684 |
| - "ticker": { |
| 2684 | + "asset": { |
2685 | 2685 | "type": "string",
|
2686 |
| - "description": "ETF ticker symbol" |
| 2686 | + "description": "Asset name" |
2687 | 2687 | },
|
2688 | 2688 | "issuer": {
|
2689 | 2689 | "type": "string",
|
|
2693 | 2693 | "type": "string",
|
2694 | 2694 | "description": "Full ETF name"
|
2695 | 2695 | },
|
2696 |
| - "etf_type": { |
2697 |
| - "type": "string", |
2698 |
| - "description": "Type of ETF (e.g., spot)" |
2699 |
| - }, |
2700 | 2696 | "custodian": {
|
2701 | 2697 | "type": "string",
|
2702 | 2698 | "description": "Custodian name"
|
|
2709 | 2705 | "type": "string",
|
2710 | 2706 | "description": "ETF URL"
|
2711 | 2707 | },
|
2712 |
| - "price": { |
2713 |
| - "type": "number", |
2714 |
| - "description": "Current price" |
2715 |
| - }, |
2716 |
| - "volume": { |
2717 |
| - "type": "number", |
2718 |
| - "description": "Trading volume" |
2719 |
| - }, |
2720 |
| - "shares": { |
2721 |
| - "type": "integer", |
2722 |
| - "description": "Number of shares" |
2723 |
| - }, |
2724 |
| - "underlying": { |
2725 |
| - "type": "number", |
2726 |
| - "nullable": true, |
2727 |
| - "description": "Underlying asset amount" |
2728 |
| - }, |
2729 |
| - "underlying_price": { |
| 2708 | + "flows": { |
2730 | 2709 | "type": "number",
|
2731 |
| - "description": "Underlying asset price" |
| 2710 | + "description": "Net flows" |
2732 | 2711 | },
|
2733 | 2712 | "aum": {
|
2734 | 2713 | "type": "number",
|
2735 | 2714 | "description": "Assets under management"
|
2736 | 2715 | },
|
2737 |
| - "flows": { |
| 2716 | + "volume": { |
2738 | 2717 | "type": "number",
|
2739 |
| - "description": "Net flows" |
| 2718 | + "description": "Trading volume" |
2740 | 2719 | }
|
2741 | 2720 | }
|
2742 | 2721 | }
|
2743 | 2722 | },
|
2744 | 2723 | "example": [
|
2745 | 2724 | {
|
2746 |
| - "timestamp": 1732278611, |
2747 |
| - "timestamp_as_of": 1732147200, |
2748 | 2725 | "ticker": "IBIT",
|
| 2726 | + "timestamp": 1755612389, |
| 2727 | + "asset": "bitcoin", |
2749 | 2728 | "issuer": "Blackrock",
|
2750 | 2729 | "etf_name": "iShares Bitcoin Trust",
|
2751 |
| - "etf_type": "spot", |
2752 | 2730 | "custodian": "Coinbase",
|
2753 | 2731 | "pct_fee": 0.25,
|
2754 | 2732 | "url": "https://www.blackrock.com/us/individual/products/333011/ishares-bitcoin-trust",
|
2755 |
| - "price": 55.9, |
2756 |
| - "volume": 5105037034.5, |
2757 |
| - "shares": 846080000, |
2758 |
| - "underlying": null, |
2759 |
| - "underlying_price": 98855, |
2760 |
| - "aum": 47313346647, |
2761 |
| - "flows": 645378400 |
2762 |
| - } |
2763 |
| - ] |
2764 |
| - } |
2765 |
| - } |
2766 |
| - } |
2767 |
| - }, |
2768 |
| - "x-pro-only": true |
2769 |
| - } |
2770 |
| - }, |
2771 |
| - "/etfs/overviewEth": { |
2772 |
| - "get": { |
2773 |
| - "tags": ["ETFs"], |
2774 |
| - "summary": "Get ETH ETFs", |
2775 |
| - "responses": { |
2776 |
| - "200": { |
2777 |
| - "description": "successful operation", |
2778 |
| - "content": { |
2779 |
| - "application/json": { |
2780 |
| - "schema": { |
2781 |
| - "type": "array", |
2782 |
| - "items": { |
2783 |
| - "type": "object", |
2784 |
| - "properties": { |
2785 |
| - "timestamp": { |
2786 |
| - "type": "integer", |
2787 |
| - "description": "Current timestamp" |
2788 |
| - }, |
2789 |
| - "timestamp_as_of": { |
2790 |
| - "type": "integer", |
2791 |
| - "description": "Timestamp as of date" |
2792 |
| - }, |
2793 |
| - "ticker": { |
2794 |
| - "type": "string", |
2795 |
| - "description": "ETF ticker symbol" |
2796 |
| - }, |
2797 |
| - "issuer": { |
2798 |
| - "type": "string", |
2799 |
| - "description": "ETF issuer name" |
2800 |
| - }, |
2801 |
| - "etf_name": { |
2802 |
| - "type": "string", |
2803 |
| - "description": "Full ETF name" |
2804 |
| - }, |
2805 |
| - "etf_type": { |
2806 |
| - "type": "string", |
2807 |
| - "description": "Type of ETF (e.g., spot)" |
2808 |
| - }, |
2809 |
| - "custodian": { |
2810 |
| - "type": "string", |
2811 |
| - "description": "Custodian name" |
2812 |
| - }, |
2813 |
| - "pct_fee": { |
2814 |
| - "type": "number", |
2815 |
| - "description": "Percentage fee" |
2816 |
| - }, |
2817 |
| - "url": { |
2818 |
| - "type": "string", |
2819 |
| - "description": "ETF URL" |
2820 |
| - }, |
2821 |
| - "price": { |
2822 |
| - "type": "number", |
2823 |
| - "description": "Current price" |
2824 |
| - }, |
2825 |
| - "volume": { |
2826 |
| - "type": "number", |
2827 |
| - "description": "Trading volume" |
2828 |
| - }, |
2829 |
| - "shares": { |
2830 |
| - "type": "integer", |
2831 |
| - "description": "Number of shares" |
2832 |
| - }, |
2833 |
| - "underlying": { |
2834 |
| - "type": "number", |
2835 |
| - "nullable": true, |
2836 |
| - "description": "Underlying asset amount" |
2837 |
| - }, |
2838 |
| - "underlying_price": { |
2839 |
| - "type": "number", |
2840 |
| - "description": "Underlying asset price" |
2841 |
| - }, |
2842 |
| - "aum": { |
2843 |
| - "type": "number", |
2844 |
| - "description": "Assets under management" |
2845 |
| - }, |
2846 |
| - "flows": { |
2847 |
| - "type": "number", |
2848 |
| - "description": "Net flows" |
2849 |
| - } |
2850 |
| - } |
2851 |
| - } |
2852 |
| - }, |
2853 |
| - "example": [ |
2854 |
| - { |
2855 |
| - "timestamp": 1732278617, |
2856 |
| - "timestamp_as_of": 1732147200, |
2857 |
| - "ticker": "ETHE", |
2858 |
| - "issuer": "Grayscale", |
2859 |
| - "etf_name": "Grayscale Ethereum Trust", |
2860 |
| - "etf_type": "spot", |
2861 |
| - "custodian": "Coinbase", |
2862 |
| - "pct_fee": 2.5, |
2863 |
| - "url": "https://etfs.grayscale.com/ethe", |
2864 |
| - "price": 28.18, |
2865 |
| - "volume": 182128523.56, |
2866 |
| - "shares": 180448500, |
2867 |
| - "underlying": 1517091.9224, |
2868 |
| - "underlying_price": 3352.05, |
2869 |
| - "aum": 5089266904.78, |
2870 |
| - "flows": 0 |
2871 |
| - } |
| 2733 | + "flows": -68700000, |
| 2734 | + "aum": 87276718199, |
| 2735 | + "volume": 453293317.84999996 |
| 2736 | + } |
2872 | 2737 | ]
|
2873 | 2738 | }
|
2874 | 2739 | }
|
|
2877 | 2742 | "x-pro-only": true
|
2878 | 2743 | }
|
2879 | 2744 | },
|
2880 |
| - "/etfs/history": { |
| 2745 | + "/etfs/flows": { |
2881 | 2746 | "get": {
|
2882 | 2747 | "tags": ["ETFs"],
|
2883 |
| - "summary": "Historical AUM of all BTC ETFs", |
| 2748 | + "summary": "Historical Flows at the Asset Level", |
2884 | 2749 | "responses": {
|
2885 | 2750 | "200": {
|
2886 | 2751 | "description": "successful operation",
|
|
2891 | 2756 | "items": {
|
2892 | 2757 | "type": "object",
|
2893 | 2758 | "properties": {
|
2894 |
| - "timestamp": { |
2895 |
| - "type": "integer", |
2896 |
| - "description": "Timestamp" |
2897 |
| - }, |
2898 |
| - "timestamp_exact": { |
2899 |
| - "type": "integer", |
2900 |
| - "description": "Exact timestamp" |
2901 |
| - }, |
2902 |
| - "ticker": { |
| 2759 | + "gecko_id": { |
2903 | 2760 | "type": "string",
|
2904 |
| - "description": "ETF ticker symbol" |
2905 |
| - }, |
2906 |
| - "price": { |
2907 |
| - "type": "number", |
2908 |
| - "description": "Price at timestamp" |
| 2761 | + "description": "CoinGecko ID" |
2909 | 2762 | },
|
2910 |
| - "volume": { |
2911 |
| - "type": "number", |
2912 |
| - "description": "Volume at timestamp" |
2913 |
| - }, |
2914 |
| - "aum": { |
2915 |
| - "type": "number", |
2916 |
| - "description": "Assets under management at timestamp" |
2917 |
| - }, |
2918 |
| - "underlying": { |
2919 |
| - "type": "number", |
2920 |
| - "nullable": true, |
2921 |
| - "description": "Underlying asset amount" |
2922 |
| - }, |
2923 |
| - "shares": { |
2924 |
| - "type": "number", |
2925 |
| - "description": "Number of shares" |
2926 |
| - }, |
2927 |
| - "underlying_price": { |
2928 |
| - "type": "number", |
2929 |
| - "description": "Underlying asset price" |
2930 |
| - }, |
2931 |
| - "flows": { |
2932 |
| - "type": "number", |
2933 |
| - "nullable": true, |
2934 |
| - "description": "Net flows" |
2935 |
| - } |
2936 |
| - } |
2937 |
| - } |
2938 |
| - }, |
2939 |
| - "example": [ |
2940 |
| - { |
2941 |
| - "timestamp": 1704931200, |
2942 |
| - "timestamp_exact": 1705017598, |
2943 |
| - "ticker": "ARKB", |
2944 |
| - "price": 46.76, |
2945 |
| - "volume": 279749462.16, |
2946 |
| - "aum": 46855730.4, |
2947 |
| - "underlying": null, |
2948 |
| - "shares": 1002047.271171942, |
2949 |
| - "underlying_price": 46396, |
2950 |
| - "flows": null |
2951 |
| - } |
2952 |
| - ] |
2953 |
| - } |
2954 |
| - } |
2955 |
| - } |
2956 |
| - }, |
2957 |
| - "x-pro-only": true |
2958 |
| - } |
2959 |
| - }, |
2960 |
| - "/etfs/historyEth": { |
2961 |
| - "get": { |
2962 |
| - "tags": ["ETFs"], |
2963 |
| - "summary": "Historical AUM of all BTC ETFs", |
2964 |
| - "responses": { |
2965 |
| - "200": { |
2966 |
| - "description": "successful operation", |
2967 |
| - "content": { |
2968 |
| - "application/json": { |
2969 |
| - "schema": { |
2970 |
| - "type": "array", |
2971 |
| - "items": { |
2972 |
| - "type": "object", |
2973 |
| - "properties": { |
2974 |
| - "timestamp": { |
2975 |
| - "type": "integer", |
2976 |
| - "description": "Timestamp" |
2977 |
| - }, |
2978 |
| - "timestamp_exact": { |
2979 |
| - "type": "integer", |
2980 |
| - "description": "Exact timestamp" |
2981 |
| - }, |
2982 |
| - "ticker": { |
| 2763 | + "day": { |
2983 | 2764 | "type": "string",
|
2984 |
| - "description": "ETF ticker symbol" |
2985 |
| - }, |
2986 |
| - "price": { |
2987 |
| - "type": "number", |
2988 |
| - "description": "Price at timestamp" |
2989 |
| - }, |
2990 |
| - "volume": { |
2991 |
| - "type": "number", |
2992 |
| - "description": "Volume at timestamp" |
2993 |
| - }, |
2994 |
| - "aum": { |
2995 |
| - "type": "number", |
2996 |
| - "description": "Assets under management at timestamp" |
| 2765 | + "description": "Day" |
2997 | 2766 | },
|
2998 |
| - "underlying": { |
| 2767 | + "total_flow_usd": { |
2999 | 2768 | "type": "number",
|
3000 |
| - "nullable": true, |
3001 |
| - "description": "Underlying asset amount" |
3002 |
| - }, |
3003 |
| - "shares": { |
3004 |
| - "type": "number", |
3005 |
| - "description": "Number of shares" |
3006 |
| - }, |
3007 |
| - "underlying_price": { |
3008 |
| - "type": "number", |
3009 |
| - "description": "Underlying asset price" |
3010 |
| - }, |
3011 |
| - "flows": { |
3012 |
| - "type": "number", |
3013 |
| - "nullable": true, |
3014 |
| - "description": "Net flows" |
| 2769 | + "description": "Sum of all USD flows per asset" |
3015 | 2770 | }
|
3016 | 2771 | }
|
3017 | 2772 | }
|
3018 | 2773 | },
|
3019 | 2774 | "example": [
|
3020 | 2775 | {
|
3021 |
| - "timestamp": 1721779200, |
3022 |
| - "timestamp_exact": 1721865445, |
3023 |
| - "ticker": "ETHA", |
3024 |
| - "price": 25.5, |
3025 |
| - "volume": 255655477.5, |
3026 |
| - "aum": 269883322, |
3027 |
| - "underlying": null, |
3028 |
| - "shares": 10520000, |
3029 |
| - "underlying_price": 3336.28, |
3030 |
| - "flows": 16326800 |
3031 |
| - } |
| 2776 | + "gecko_id": "bitcoin", |
| 2777 | + "day": "2024-01-11T00:00:00.000Z", |
| 2778 | + "total_flow_usd": 655300000 |
| 2779 | + } |
3032 | 2780 | ]
|
3033 | 2781 | }
|
3034 | 2782 | }
|
|
0 commit comments