CoinGecko API V3

Coins

coinsIdGet

Get current data (name, price, market, ... including exchange tickers) for a coin

Get current data (name, price, market, ... including exchange tickers) for a coin.<br><br> **IMPORTANT**: Ticker object is limited to 100 items, to get more tickers, use `/coins/{id}/tickers` Ticker `is_stale` is true when ticker that has not been updated/unchanged from the exchange for a while. Ticker `is_anomaly` is true if ticker's price is outliered by our system. You are responsible for managing how you want to display these information (e.g. footnote, different background, change opacity, hide)


/coins/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/coins/{id}?localization=&tickers=&market_data=&community_data=&developer_data=&sparkline="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CoinsApi;

import java.io.File;
import java.util.*;

public class CoinsApiExample {

    public static void main(String[] args) {
        
        CoinsApi apiInstance = new CoinsApi();
        String id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
        String localization = localization_example; // String | Include all localized languages in response (true/false) [default: true]
        Boolean tickers = true; // Boolean | Include tickers data (true/false) [default: true]
        Boolean marketData = true; // Boolean | Include market_data (true/false) [default: true]
        Boolean communityData = true; // Boolean | Include community_data data (true/false) [default: true]
        Boolean developerData = true; // Boolean | Include developer_data data (true/false) [default: true]
        Boolean sparkline = true; // Boolean | Include sparkline 7 days data (eg. true, false) [default: false]
        try {
            apiInstance.coinsIdGet(id, localization, tickers, marketData, communityData, developerData, sparkline);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CoinsApi;

public class CoinsApiExample {

    public static void main(String[] args) {
        CoinsApi apiInstance = new CoinsApi();
        String id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
        String localization = localization_example; // String | Include all localized languages in response (true/false) [default: true]
        Boolean tickers = true; // Boolean | Include tickers data (true/false) [default: true]
        Boolean marketData = true; // Boolean | Include market_data (true/false) [default: true]
        Boolean communityData = true; // Boolean | Include community_data data (true/false) [default: true]
        Boolean developerData = true; // Boolean | Include developer_data data (true/false) [default: true]
        Boolean sparkline = true; // Boolean | Include sparkline 7 days data (eg. true, false) [default: false]
        try {
            apiInstance.coinsIdGet(id, localization, tickers, marketData, communityData, developerData, sparkline);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsIdGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // pass the coin id (can be obtained from /coins) eg. bitcoin
String *localization = localization_example; // Include all localized languages in response (true/false) [default: true] (optional)
Boolean *tickers = true; // Include tickers data (true/false) [default: true] (optional)
Boolean *marketData = true; // Include market_data (true/false) [default: true] (optional)
Boolean *communityData = true; // Include community_data data (true/false) [default: true] (optional)
Boolean *developerData = true; // Include developer_data data (true/false) [default: true] (optional)
Boolean *sparkline = true; // Include sparkline 7 days data (eg. true, false) [default: false] (optional)

CoinsApi *apiInstance = [[CoinsApi alloc] init];

// Get current data (name, price, market, ... including exchange tickers) for a coin
[apiInstance coinsIdGetWith:id
    localization:localization
    tickers:tickers
    marketData:marketData
    communityData:communityData
    developerData:developerData
    sparkline:sparkline
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.CoinsApi()

var id = id_example; // {String} pass the coin id (can be obtained from /coins) eg. bitcoin

var opts = { 
  'localization': localization_example, // {String} Include all localized languages in response (true/false) [default: true]
  'tickers': true, // {Boolean} Include tickers data (true/false) [default: true]
  'marketData': true, // {Boolean} Include market_data (true/false) [default: true]
  'communityData': true, // {Boolean} Include community_data data (true/false) [default: true]
  'developerData': true, // {Boolean} Include developer_data data (true/false) [default: true]
  'sparkline': true // {Boolean} Include sparkline 7 days data (eg. true, false) [default: false]
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.coinsIdGet(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class coinsIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new CoinsApi();
            var id = id_example;  // String | pass the coin id (can be obtained from /coins) eg. bitcoin
            var localization = localization_example;  // String | Include all localized languages in response (true/false) [default: true] (optional) 
            var tickers = true;  // Boolean | Include tickers data (true/false) [default: true] (optional) 
            var marketData = true;  // Boolean | Include market_data (true/false) [default: true] (optional) 
            var communityData = true;  // Boolean | Include community_data data (true/false) [default: true] (optional) 
            var developerData = true;  // Boolean | Include developer_data data (true/false) [default: true] (optional) 
            var sparkline = true;  // Boolean | Include sparkline 7 days data (eg. true, false) [default: false] (optional) 

            try
            {
                // Get current data (name, price, market, ... including exchange tickers) for a coin
                apiInstance.coinsIdGet(id, localization, tickers, marketData, communityData, developerData, sparkline);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CoinsApi.coinsIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CoinsApi();
$id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
$localization = localization_example; // String | Include all localized languages in response (true/false) [default: true]
$tickers = true; // Boolean | Include tickers data (true/false) [default: true]
$marketData = true; // Boolean | Include market_data (true/false) [default: true]
$communityData = true; // Boolean | Include community_data data (true/false) [default: true]
$developerData = true; // Boolean | Include developer_data data (true/false) [default: true]
$sparkline = true; // Boolean | Include sparkline 7 days data (eg. true, false) [default: false]

try {
    $api_instance->coinsIdGet($id, $localization, $tickers, $marketData, $communityData, $developerData, $sparkline);
} catch (Exception $e) {
    echo 'Exception when calling CoinsApi->coinsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CoinsApi;

my $api_instance = WWW::SwaggerClient::CoinsApi->new();
my $id = id_example; # String | pass the coin id (can be obtained from /coins) eg. bitcoin
my $localization = localization_example; # String | Include all localized languages in response (true/false) [default: true]
my $tickers = true; # Boolean | Include tickers data (true/false) [default: true]
my $marketData = true; # Boolean | Include market_data (true/false) [default: true]
my $communityData = true; # Boolean | Include community_data data (true/false) [default: true]
my $developerData = true; # Boolean | Include developer_data data (true/false) [default: true]
my $sparkline = true; # Boolean | Include sparkline 7 days data (eg. true, false) [default: false]

eval { 
    $api_instance->coinsIdGet(id => $id, localization => $localization, tickers => $tickers, marketData => $marketData, communityData => $communityData, developerData => $developerData, sparkline => $sparkline);
};
if ($@) {
    warn "Exception when calling CoinsApi->coinsIdGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CoinsApi()
id = id_example # String | pass the coin id (can be obtained from /coins) eg. bitcoin
localization = localization_example # String | Include all localized languages in response (true/false) [default: true] (optional)
tickers = true # Boolean | Include tickers data (true/false) [default: true] (optional)
marketData = true # Boolean | Include market_data (true/false) [default: true] (optional)
communityData = true # Boolean | Include community_data data (true/false) [default: true] (optional)
developerData = true # Boolean | Include developer_data data (true/false) [default: true] (optional)
sparkline = true # Boolean | Include sparkline 7 days data (eg. true, false) [default: false] (optional)

try: 
    # Get current data (name, price, market, ... including exchange tickers) for a coin
    api_instance.coins_id_get(id, localization=localization, tickers=tickers, marketData=marketData, communityData=communityData, developerData=developerData, sparkline=sparkline)
except ApiException as e:
    print("Exception when calling CoinsApi->coinsIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
pass the coin id (can be obtained from /coins) eg. bitcoin
Required
Query parameters
Name Description
localization
String
Include all localized languages in response (true/false) <b>[default: true]</b>
tickers
Boolean
Include tickers data (true/false) <b>[default: true]</b>
market_data
Boolean
Include market_data (true/false) <b>[default: true]</b>
community_data
Boolean
Include community_data data (true/false) <b>[default: true]</b>
developer_data
Boolean
Include developer_data data (true/false) <b>[default: true]</b>
sparkline
Boolean
Include sparkline 7 days data (eg. true, false) <b>[default: false]</b>

Responses

Status: 200 - Get current data for a coin


coinsIdHistoryGet

Get historical data (name, price, market, stats) at a given date for a coin

Get historical data (name, price, market, stats) at a given date for a coin


/coins/{id}/history

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/coins/{id}/history?date=&localization="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CoinsApi;

import java.io.File;
import java.util.*;

public class CoinsApiExample {

    public static void main(String[] args) {
        
        CoinsApi apiInstance = new CoinsApi();
        String id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
        String date = date_example; // String | The date of data snapshot in dd-mm-yyyy eg. 30-12-2017
        String localization = localization_example; // String | Set to false to exclude localized languages in response
        try {
            apiInstance.coinsIdHistoryGet(id, date, localization);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsIdHistoryGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CoinsApi;

public class CoinsApiExample {

    public static void main(String[] args) {
        CoinsApi apiInstance = new CoinsApi();
        String id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
        String date = date_example; // String | The date of data snapshot in dd-mm-yyyy eg. 30-12-2017
        String localization = localization_example; // String | Set to false to exclude localized languages in response
        try {
            apiInstance.coinsIdHistoryGet(id, date, localization);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsIdHistoryGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // pass the coin id (can be obtained from /coins) eg. bitcoin
String *date = date_example; // The date of data snapshot in dd-mm-yyyy eg. 30-12-2017
String *localization = localization_example; // Set to false to exclude localized languages in response (optional)

CoinsApi *apiInstance = [[CoinsApi alloc] init];

// Get historical data (name, price, market, stats) at a given date for a coin
[apiInstance coinsIdHistoryGetWith:id
    date:date
    localization:localization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.CoinsApi()

var id = id_example; // {String} pass the coin id (can be obtained from /coins) eg. bitcoin

var date = date_example; // {String} The date of data snapshot in dd-mm-yyyy eg. 30-12-2017

var opts = { 
  'localization': localization_example // {String} Set to false to exclude localized languages in response
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.coinsIdHistoryGet(id, date, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class coinsIdHistoryGetExample
    {
        public void main()
        {
            
            var apiInstance = new CoinsApi();
            var id = id_example;  // String | pass the coin id (can be obtained from /coins) eg. bitcoin
            var date = date_example;  // String | The date of data snapshot in dd-mm-yyyy eg. 30-12-2017
            var localization = localization_example;  // String | Set to false to exclude localized languages in response (optional) 

            try
            {
                // Get historical data (name, price, market, stats) at a given date for a coin
                apiInstance.coinsIdHistoryGet(id, date, localization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CoinsApi.coinsIdHistoryGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CoinsApi();
$id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
$date = date_example; // String | The date of data snapshot in dd-mm-yyyy eg. 30-12-2017
$localization = localization_example; // String | Set to false to exclude localized languages in response

try {
    $api_instance->coinsIdHistoryGet($id, $date, $localization);
} catch (Exception $e) {
    echo 'Exception when calling CoinsApi->coinsIdHistoryGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CoinsApi;

my $api_instance = WWW::SwaggerClient::CoinsApi->new();
my $id = id_example; # String | pass the coin id (can be obtained from /coins) eg. bitcoin
my $date = date_example; # String | The date of data snapshot in dd-mm-yyyy eg. 30-12-2017
my $localization = localization_example; # String | Set to false to exclude localized languages in response

eval { 
    $api_instance->coinsIdHistoryGet(id => $id, date => $date, localization => $localization);
};
if ($@) {
    warn "Exception when calling CoinsApi->coinsIdHistoryGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CoinsApi()
id = id_example # String | pass the coin id (can be obtained from /coins) eg. bitcoin
date = date_example # String | The date of data snapshot in dd-mm-yyyy eg. 30-12-2017
localization = localization_example # String | Set to false to exclude localized languages in response (optional)

try: 
    # Get historical data (name, price, market, stats) at a given date for a coin
    api_instance.coins_id_history_get(id, date, localization=localization)
except ApiException as e:
    print("Exception when calling CoinsApi->coinsIdHistoryGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
pass the coin id (can be obtained from /coins) eg. bitcoin
Required
Query parameters
Name Description
date*
String
The date of data snapshot in dd-mm-yyyy eg. 30-12-2017
Required
localization
String
Set to false to exclude localized languages in response

Responses

Status: 200 - Get historical data at a given date for a coin


coinsIdMarketChartGet

Get historical market data include price, market cap, and 24h volume (granularity auto)

Get historical market data include price, market cap, and 24h volume (granularity auto) <b>Minutely data will be used for duration within 1 day, Hourly data will be used for duration between 1 day and 90 days, Daily data will be used for duration above 90 days.</b>


/coins/{id}/market_chart

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/coins/{id}/market_chart?vs_currency=&days="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CoinsApi;

import java.io.File;
import java.util.*;

public class CoinsApiExample {

    public static void main(String[] args) {
        
        CoinsApi apiInstance = new CoinsApi();
        String id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
        String vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
        String days = days_example; // String | Data up to number of days ago (eg. 1,14,30,max)
        try {
            apiInstance.coinsIdMarketChartGet(id, vsCurrency, days);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsIdMarketChartGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CoinsApi;

public class CoinsApiExample {

    public static void main(String[] args) {
        CoinsApi apiInstance = new CoinsApi();
        String id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
        String vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
        String days = days_example; // String | Data up to number of days ago (eg. 1,14,30,max)
        try {
            apiInstance.coinsIdMarketChartGet(id, vsCurrency, days);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsIdMarketChartGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // pass the coin id (can be obtained from /coins) eg. bitcoin
String *vsCurrency = vsCurrency_example; // The target currency of market data (usd, eur, jpy, etc.)
String *days = days_example; // Data up to number of days ago (eg. 1,14,30,max)

CoinsApi *apiInstance = [[CoinsApi alloc] init];

// Get historical market data include price, market cap, and 24h volume (granularity auto)
[apiInstance coinsIdMarketChartGetWith:id
    vsCurrency:vsCurrency
    days:days
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.CoinsApi()

var id = id_example; // {String} pass the coin id (can be obtained from /coins) eg. bitcoin

var vsCurrency = vsCurrency_example; // {String} The target currency of market data (usd, eur, jpy, etc.)

var days = days_example; // {String} Data up to number of days ago (eg. 1,14,30,max)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.coinsIdMarketChartGet(id, vsCurrency, days, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class coinsIdMarketChartGetExample
    {
        public void main()
        {
            
            var apiInstance = new CoinsApi();
            var id = id_example;  // String | pass the coin id (can be obtained from /coins) eg. bitcoin
            var vsCurrency = vsCurrency_example;  // String | The target currency of market data (usd, eur, jpy, etc.)
            var days = days_example;  // String | Data up to number of days ago (eg. 1,14,30,max)

            try
            {
                // Get historical market data include price, market cap, and 24h volume (granularity auto)
                apiInstance.coinsIdMarketChartGet(id, vsCurrency, days);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CoinsApi.coinsIdMarketChartGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CoinsApi();
$id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
$vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
$days = days_example; // String | Data up to number of days ago (eg. 1,14,30,max)

try {
    $api_instance->coinsIdMarketChartGet($id, $vsCurrency, $days);
} catch (Exception $e) {
    echo 'Exception when calling CoinsApi->coinsIdMarketChartGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CoinsApi;

my $api_instance = WWW::SwaggerClient::CoinsApi->new();
my $id = id_example; # String | pass the coin id (can be obtained from /coins) eg. bitcoin
my $vsCurrency = vsCurrency_example; # String | The target currency of market data (usd, eur, jpy, etc.)
my $days = days_example; # String | Data up to number of days ago (eg. 1,14,30,max)

eval { 
    $api_instance->coinsIdMarketChartGet(id => $id, vsCurrency => $vsCurrency, days => $days);
};
if ($@) {
    warn "Exception when calling CoinsApi->coinsIdMarketChartGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CoinsApi()
id = id_example # String | pass the coin id (can be obtained from /coins) eg. bitcoin
vsCurrency = vsCurrency_example # String | The target currency of market data (usd, eur, jpy, etc.)
days = days_example # String | Data up to number of days ago (eg. 1,14,30,max)

try: 
    # Get historical market data include price, market cap, and 24h volume (granularity auto)
    api_instance.coins_id_market_chart_get(id, vsCurrency, days)
except ApiException as e:
    print("Exception when calling CoinsApi->coinsIdMarketChartGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
pass the coin id (can be obtained from /coins) eg. bitcoin
Required
Query parameters
Name Description
vs_currency*
String
The target currency of market data (usd, eur, jpy, etc.)
Required
days*
String
Data up to number of days ago (eg. 1,14,30,max)
Required

Responses

Status: 200 - Get historical market data include price, market cap, and 24h volume


coinsIdMarketChartRangeGet

Get historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto)

Get historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto) <b>Minutely data will be used for duration within 1 day, Hourly data will be used for duration between 1 day and 90 days, Daily data will be used for duration above 90 days.</b>


/coins/{id}/market_chart/range

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/coins/{id}/market_chart/range?vs_currency=&from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CoinsApi;

import java.io.File;
import java.util.*;

public class CoinsApiExample {

    public static void main(String[] args) {
        
        CoinsApi apiInstance = new CoinsApi();
        String id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
        String vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
        String from = from_example; // String | From date in UNIX Timestamp (eg. 1392577232)
        String to = to_example; // String | To date in UNIX Timestamp (eg. 1422577232)
        try {
            apiInstance.coinsIdMarketChartRangeGet(id, vsCurrency, from, to);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsIdMarketChartRangeGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CoinsApi;

public class CoinsApiExample {

    public static void main(String[] args) {
        CoinsApi apiInstance = new CoinsApi();
        String id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
        String vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
        String from = from_example; // String | From date in UNIX Timestamp (eg. 1392577232)
        String to = to_example; // String | To date in UNIX Timestamp (eg. 1422577232)
        try {
            apiInstance.coinsIdMarketChartRangeGet(id, vsCurrency, from, to);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsIdMarketChartRangeGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // pass the coin id (can be obtained from /coins) eg. bitcoin
String *vsCurrency = vsCurrency_example; // The target currency of market data (usd, eur, jpy, etc.)
String *from = from_example; // From date in UNIX Timestamp (eg. 1392577232)
String *to = to_example; // To date in UNIX Timestamp (eg. 1422577232)

CoinsApi *apiInstance = [[CoinsApi alloc] init];

// Get historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto)
[apiInstance coinsIdMarketChartRangeGetWith:id
    vsCurrency:vsCurrency
    from:from
    to:to
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.CoinsApi()

var id = id_example; // {String} pass the coin id (can be obtained from /coins) eg. bitcoin

var vsCurrency = vsCurrency_example; // {String} The target currency of market data (usd, eur, jpy, etc.)

var from = from_example; // {String} From date in UNIX Timestamp (eg. 1392577232)

var to = to_example; // {String} To date in UNIX Timestamp (eg. 1422577232)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.coinsIdMarketChartRangeGet(id, vsCurrency, from, to, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class coinsIdMarketChartRangeGetExample
    {
        public void main()
        {
            
            var apiInstance = new CoinsApi();
            var id = id_example;  // String | pass the coin id (can be obtained from /coins) eg. bitcoin
            var vsCurrency = vsCurrency_example;  // String | The target currency of market data (usd, eur, jpy, etc.)
            var from = from_example;  // String | From date in UNIX Timestamp (eg. 1392577232)
            var to = to_example;  // String | To date in UNIX Timestamp (eg. 1422577232)

            try
            {
                // Get historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto)
                apiInstance.coinsIdMarketChartRangeGet(id, vsCurrency, from, to);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CoinsApi.coinsIdMarketChartRangeGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CoinsApi();
$id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
$vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
$from = from_example; // String | From date in UNIX Timestamp (eg. 1392577232)
$to = to_example; // String | To date in UNIX Timestamp (eg. 1422577232)

try {
    $api_instance->coinsIdMarketChartRangeGet($id, $vsCurrency, $from, $to);
} catch (Exception $e) {
    echo 'Exception when calling CoinsApi->coinsIdMarketChartRangeGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CoinsApi;

my $api_instance = WWW::SwaggerClient::CoinsApi->new();
my $id = id_example; # String | pass the coin id (can be obtained from /coins) eg. bitcoin
my $vsCurrency = vsCurrency_example; # String | The target currency of market data (usd, eur, jpy, etc.)
my $from = from_example; # String | From date in UNIX Timestamp (eg. 1392577232)
my $to = to_example; # String | To date in UNIX Timestamp (eg. 1422577232)

eval { 
    $api_instance->coinsIdMarketChartRangeGet(id => $id, vsCurrency => $vsCurrency, from => $from, to => $to);
};
if ($@) {
    warn "Exception when calling CoinsApi->coinsIdMarketChartRangeGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CoinsApi()
id = id_example # String | pass the coin id (can be obtained from /coins) eg. bitcoin
vsCurrency = vsCurrency_example # String | The target currency of market data (usd, eur, jpy, etc.)
from = from_example # String | From date in UNIX Timestamp (eg. 1392577232)
to = to_example # String | To date in UNIX Timestamp (eg. 1422577232)

try: 
    # Get historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto)
    api_instance.coins_id_market_chart_range_get(id, vsCurrency, from, to)
except ApiException as e:
    print("Exception when calling CoinsApi->coinsIdMarketChartRangeGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
pass the coin id (can be obtained from /coins) eg. bitcoin
Required
Query parameters
Name Description
vs_currency*
String
The target currency of market data (usd, eur, jpy, etc.)
Required
from*
String
From date in UNIX Timestamp (eg. 1392577232)
Required
to*
String
To date in UNIX Timestamp (eg. 1422577232)
Required

Responses

Status: 200 - Get historical market data include price, market cap, and 24h volume


coinsIdOhlcGet

Get coin's OHLC (Beta)

Candle's body: 1 - 2 days: 30 minutes 3 - 30 days: 4 hours 31 and before: 4 days


/coins/{id}/ohlc

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/coins/{id}/ohlc?vs_currency=&days="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CoinsApi;

import java.io.File;
import java.util.*;

public class CoinsApiExample {

    public static void main(String[] args) {
        
        CoinsApi apiInstance = new CoinsApi();
        String id = id_example; // String | pass the coin id (can be obtained from /coins/list) eg. bitcoin
        String vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
        Integer days = 56; // Integer |  Data up to number of days ago (1/7/14/30/90/180/365/max)
        try {
            array[BigDecimal] result = apiInstance.coinsIdOhlcGet(id, vsCurrency, days);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsIdOhlcGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CoinsApi;

public class CoinsApiExample {

    public static void main(String[] args) {
        CoinsApi apiInstance = new CoinsApi();
        String id = id_example; // String | pass the coin id (can be obtained from /coins/list) eg. bitcoin
        String vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
        Integer days = 56; // Integer |  Data up to number of days ago (1/7/14/30/90/180/365/max)
        try {
            array[BigDecimal] result = apiInstance.coinsIdOhlcGet(id, vsCurrency, days);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsIdOhlcGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // pass the coin id (can be obtained from /coins/list) eg. bitcoin
String *vsCurrency = vsCurrency_example; // The target currency of market data (usd, eur, jpy, etc.)
Integer *days = 56; //  Data up to number of days ago (1/7/14/30/90/180/365/max)

CoinsApi *apiInstance = [[CoinsApi alloc] init];

// Get coin's OHLC (Beta)
[apiInstance coinsIdOhlcGetWith:id
    vsCurrency:vsCurrency
    days:days
              completionHandler: ^(array[BigDecimal] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.CoinsApi()

var id = id_example; // {String} pass the coin id (can be obtained from /coins/list) eg. bitcoin

var vsCurrency = vsCurrency_example; // {String} The target currency of market data (usd, eur, jpy, etc.)

var days = 56; // {Integer}  Data up to number of days ago (1/7/14/30/90/180/365/max)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.coinsIdOhlcGet(id, vsCurrency, days, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class coinsIdOhlcGetExample
    {
        public void main()
        {
            
            var apiInstance = new CoinsApi();
            var id = id_example;  // String | pass the coin id (can be obtained from /coins/list) eg. bitcoin
            var vsCurrency = vsCurrency_example;  // String | The target currency of market data (usd, eur, jpy, etc.)
            var days = 56;  // Integer |  Data up to number of days ago (1/7/14/30/90/180/365/max)

            try
            {
                // Get coin's OHLC (Beta)
                array[BigDecimal] result = apiInstance.coinsIdOhlcGet(id, vsCurrency, days);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CoinsApi.coinsIdOhlcGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CoinsApi();
$id = id_example; // String | pass the coin id (can be obtained from /coins/list) eg. bitcoin
$vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
$days = 56; // Integer |  Data up to number of days ago (1/7/14/30/90/180/365/max)

try {
    $result = $api_instance->coinsIdOhlcGet($id, $vsCurrency, $days);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CoinsApi->coinsIdOhlcGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CoinsApi;

my $api_instance = WWW::SwaggerClient::CoinsApi->new();
my $id = id_example; # String | pass the coin id (can be obtained from /coins/list) eg. bitcoin
my $vsCurrency = vsCurrency_example; # String | The target currency of market data (usd, eur, jpy, etc.)
my $days = 56; # Integer |  Data up to number of days ago (1/7/14/30/90/180/365/max)

eval { 
    my $result = $api_instance->coinsIdOhlcGet(id => $id, vsCurrency => $vsCurrency, days => $days);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CoinsApi->coinsIdOhlcGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CoinsApi()
id = id_example # String | pass the coin id (can be obtained from /coins/list) eg. bitcoin
vsCurrency = vsCurrency_example # String | The target currency of market data (usd, eur, jpy, etc.)
days = 56 # Integer |  Data up to number of days ago (1/7/14/30/90/180/365/max)

try: 
    # Get coin's OHLC (Beta)
    api_response = api_instance.coins_id_ohlc_get(id, vsCurrency, days)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CoinsApi->coinsIdOhlcGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
pass the coin id (can be obtained from /coins/list) eg. bitcoin
Required
Query parameters
Name Description
vs_currency*
String
The target currency of market data (usd, eur, jpy, etc.)
Required
days*
Integer
Data up to number of days ago (1/7/14/30/90/180/365/max)
Required

Responses

Status: 200 - successful operation [ 1594382400000 (time), 1.1 (open), 2.2 (high), 3.3 (low), 4.4 (close) ]


coinsIdStatusUpdatesGet

Get status updates for a given coin (beta)

Get status updates for a given coin


/coins/{id}/status_updates

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/coins/{id}/status_updates?per_page=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CoinsApi;

import java.io.File;
import java.util.*;

public class CoinsApiExample {

    public static void main(String[] args) {
        
        CoinsApi apiInstance = new CoinsApi();
        String id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
        Integer perPage = 56; // Integer | Total results per page
        Integer page = 56; // Integer | Page through results
        try {
            apiInstance.coinsIdStatusUpdatesGet(id, perPage, page);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsIdStatusUpdatesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CoinsApi;

public class CoinsApiExample {

    public static void main(String[] args) {
        CoinsApi apiInstance = new CoinsApi();
        String id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
        Integer perPage = 56; // Integer | Total results per page
        Integer page = 56; // Integer | Page through results
        try {
            apiInstance.coinsIdStatusUpdatesGet(id, perPage, page);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsIdStatusUpdatesGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // pass the coin id (can be obtained from /coins) eg. bitcoin
Integer *perPage = 56; // Total results per page (optional)
Integer *page = 56; // Page through results (optional)

CoinsApi *apiInstance = [[CoinsApi alloc] init];

// Get status updates for a given coin (beta)
[apiInstance coinsIdStatusUpdatesGetWith:id
    perPage:perPage
    page:page
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.CoinsApi()

var id = id_example; // {String} pass the coin id (can be obtained from /coins) eg. bitcoin

var opts = { 
  'perPage': 56, // {Integer} Total results per page
  'page': 56 // {Integer} Page through results
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.coinsIdStatusUpdatesGet(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class coinsIdStatusUpdatesGetExample
    {
        public void main()
        {
            
            var apiInstance = new CoinsApi();
            var id = id_example;  // String | pass the coin id (can be obtained from /coins) eg. bitcoin
            var perPage = 56;  // Integer | Total results per page (optional) 
            var page = 56;  // Integer | Page through results (optional) 

            try
            {
                // Get status updates for a given coin (beta)
                apiInstance.coinsIdStatusUpdatesGet(id, perPage, page);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CoinsApi.coinsIdStatusUpdatesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CoinsApi();
$id = id_example; // String | pass the coin id (can be obtained from /coins) eg. bitcoin
$perPage = 56; // Integer | Total results per page
$page = 56; // Integer | Page through results

try {
    $api_instance->coinsIdStatusUpdatesGet($id, $perPage, $page);
} catch (Exception $e) {
    echo 'Exception when calling CoinsApi->coinsIdStatusUpdatesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CoinsApi;

my $api_instance = WWW::SwaggerClient::CoinsApi->new();
my $id = id_example; # String | pass the coin id (can be obtained from /coins) eg. bitcoin
my $perPage = 56; # Integer | Total results per page
my $page = 56; # Integer | Page through results

eval { 
    $api_instance->coinsIdStatusUpdatesGet(id => $id, perPage => $perPage, page => $page);
};
if ($@) {
    warn "Exception when calling CoinsApi->coinsIdStatusUpdatesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CoinsApi()
id = id_example # String | pass the coin id (can be obtained from /coins) eg. bitcoin
perPage = 56 # Integer | Total results per page (optional)
page = 56 # Integer | Page through results (optional)

try: 
    # Get status updates for a given coin (beta)
    api_instance.coins_id_status_updates_get(id, perPage=perPage, page=page)
except ApiException as e:
    print("Exception when calling CoinsApi->coinsIdStatusUpdatesGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
pass the coin id (can be obtained from /coins) eg. bitcoin
Required
Query parameters
Name Description
per_page
Integer
Total results per page
page
Integer
Page through results

Responses

Status: 200 - Get paginated status updates for a given coin


coinsIdTickersGet

Get coin tickers (paginated to 100 items)

Get coin tickers (paginated to 100 items)<br><br> **IMPORTANT**: Ticker `is_stale` is true when ticker that has not been updated/unchanged from the exchange for a while. Ticker `is_anomaly` is true if ticker's price is outliered by our system. You are responsible for managing how you want to display these information (e.g. footnote, different background, change opacity, hide)


/coins/{id}/tickers

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/coins/{id}/tickers?exchange_ids=&include_exchange_logo=&page=&order="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CoinsApi;

import java.io.File;
import java.util.*;

public class CoinsApiExample {

    public static void main(String[] args) {
        
        CoinsApi apiInstance = new CoinsApi();
        String id = id_example; // String | pass the coin id (can be obtained from /coins/list) eg. bitcoin
        String exchangeIds = exchangeIds_example; // String | filter results by exchange_ids (ref: v3/exchanges/list)
        String includeExchangeLogo = includeExchangeLogo_example; // String | flag to show exchange_logo
        Integer page = 56; // Integer | Page through results
        String order = order_example; // String | valid values: trust_score_desc (default), trust_score_asc and volume_desc
        try {
            apiInstance.coinsIdTickersGet(id, exchangeIds, includeExchangeLogo, page, order);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsIdTickersGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CoinsApi;

public class CoinsApiExample {

    public static void main(String[] args) {
        CoinsApi apiInstance = new CoinsApi();
        String id = id_example; // String | pass the coin id (can be obtained from /coins/list) eg. bitcoin
        String exchangeIds = exchangeIds_example; // String | filter results by exchange_ids (ref: v3/exchanges/list)
        String includeExchangeLogo = includeExchangeLogo_example; // String | flag to show exchange_logo
        Integer page = 56; // Integer | Page through results
        String order = order_example; // String | valid values: trust_score_desc (default), trust_score_asc and volume_desc
        try {
            apiInstance.coinsIdTickersGet(id, exchangeIds, includeExchangeLogo, page, order);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsIdTickersGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // pass the coin id (can be obtained from /coins/list) eg. bitcoin
String *exchangeIds = exchangeIds_example; // filter results by exchange_ids (ref: v3/exchanges/list) (optional)
String *includeExchangeLogo = includeExchangeLogo_example; // flag to show exchange_logo (optional)
Integer *page = 56; // Page through results (optional)
String *order = order_example; // valid values: trust_score_desc (default), trust_score_asc and volume_desc (optional)

CoinsApi *apiInstance = [[CoinsApi alloc] init];

// Get coin tickers (paginated to 100 items)
[apiInstance coinsIdTickersGetWith:id
    exchangeIds:exchangeIds
    includeExchangeLogo:includeExchangeLogo
    page:page
    order:order
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.CoinsApi()

var id = id_example; // {String} pass the coin id (can be obtained from /coins/list) eg. bitcoin

var opts = { 
  'exchangeIds': exchangeIds_example, // {String} filter results by exchange_ids (ref: v3/exchanges/list)
  'includeExchangeLogo': includeExchangeLogo_example, // {String} flag to show exchange_logo
  'page': 56, // {Integer} Page through results
  'order': order_example // {String} valid values: trust_score_desc (default), trust_score_asc and volume_desc
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.coinsIdTickersGet(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class coinsIdTickersGetExample
    {
        public void main()
        {
            
            var apiInstance = new CoinsApi();
            var id = id_example;  // String | pass the coin id (can be obtained from /coins/list) eg. bitcoin
            var exchangeIds = exchangeIds_example;  // String | filter results by exchange_ids (ref: v3/exchanges/list) (optional) 
            var includeExchangeLogo = includeExchangeLogo_example;  // String | flag to show exchange_logo (optional) 
            var page = 56;  // Integer | Page through results (optional) 
            var order = order_example;  // String | valid values: trust_score_desc (default), trust_score_asc and volume_desc (optional) 

            try
            {
                // Get coin tickers (paginated to 100 items)
                apiInstance.coinsIdTickersGet(id, exchangeIds, includeExchangeLogo, page, order);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CoinsApi.coinsIdTickersGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CoinsApi();
$id = id_example; // String | pass the coin id (can be obtained from /coins/list) eg. bitcoin
$exchangeIds = exchangeIds_example; // String | filter results by exchange_ids (ref: v3/exchanges/list)
$includeExchangeLogo = includeExchangeLogo_example; // String | flag to show exchange_logo
$page = 56; // Integer | Page through results
$order = order_example; // String | valid values: trust_score_desc (default), trust_score_asc and volume_desc

try {
    $api_instance->coinsIdTickersGet($id, $exchangeIds, $includeExchangeLogo, $page, $order);
} catch (Exception $e) {
    echo 'Exception when calling CoinsApi->coinsIdTickersGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CoinsApi;

my $api_instance = WWW::SwaggerClient::CoinsApi->new();
my $id = id_example; # String | pass the coin id (can be obtained from /coins/list) eg. bitcoin
my $exchangeIds = exchangeIds_example; # String | filter results by exchange_ids (ref: v3/exchanges/list)
my $includeExchangeLogo = includeExchangeLogo_example; # String | flag to show exchange_logo
my $page = 56; # Integer | Page through results
my $order = order_example; # String | valid values: trust_score_desc (default), trust_score_asc and volume_desc

eval { 
    $api_instance->coinsIdTickersGet(id => $id, exchangeIds => $exchangeIds, includeExchangeLogo => $includeExchangeLogo, page => $page, order => $order);
};
if ($@) {
    warn "Exception when calling CoinsApi->coinsIdTickersGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CoinsApi()
id = id_example # String | pass the coin id (can be obtained from /coins/list) eg. bitcoin
exchangeIds = exchangeIds_example # String | filter results by exchange_ids (ref: v3/exchanges/list) (optional)
includeExchangeLogo = includeExchangeLogo_example # String | flag to show exchange_logo (optional)
page = 56 # Integer | Page through results (optional)
order = order_example # String | valid values: trust_score_desc (default), trust_score_asc and volume_desc (optional)

try: 
    # Get coin tickers (paginated to 100 items)
    api_instance.coins_id_tickers_get(id, exchangeIds=exchangeIds, includeExchangeLogo=includeExchangeLogo, page=page, order=order)
except ApiException as e:
    print("Exception when calling CoinsApi->coinsIdTickersGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
pass the coin id (can be obtained from /coins/list) eg. bitcoin
Required
Query parameters
Name Description
exchange_ids
String
filter results by exchange_ids (ref: v3/exchanges/list)
include_exchange_logo
page
Integer
Page through results
order
String
valid values: <b>trust_score_desc (default), trust_score_asc and volume_desc</b>

Responses

Status: 200 - Get coin tickers


coinsListGet

List all supported coins id, name and symbol (no pagination required)

Use this to obtain all the coins' id in order to make API calls


/coins/list

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/coins/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CoinsApi;

import java.io.File;
import java.util.*;

public class CoinsApiExample {

    public static void main(String[] args) {
        
        CoinsApi apiInstance = new CoinsApi();
        try {
            apiInstance.coinsListGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsListGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CoinsApi;

public class CoinsApiExample {

    public static void main(String[] args) {
        CoinsApi apiInstance = new CoinsApi();
        try {
            apiInstance.coinsListGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsListGet");
            e.printStackTrace();
        }
    }
}

CoinsApi *apiInstance = [[CoinsApi alloc] init];

// List all supported coins id, name and symbol (no pagination required)
[apiInstance coinsListGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.CoinsApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.coinsListGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class coinsListGetExample
    {
        public void main()
        {
            
            var apiInstance = new CoinsApi();

            try
            {
                // List all supported coins id, name and symbol (no pagination required)
                apiInstance.coinsListGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CoinsApi.coinsListGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CoinsApi();

try {
    $api_instance->coinsListGet();
} catch (Exception $e) {
    echo 'Exception when calling CoinsApi->coinsListGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CoinsApi;

my $api_instance = WWW::SwaggerClient::CoinsApi->new();

eval { 
    $api_instance->coinsListGet();
};
if ($@) {
    warn "Exception when calling CoinsApi->coinsListGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CoinsApi()

try: 
    # List all supported coins id, name and symbol (no pagination required)
    api_instance.coins_list_get()
except ApiException as e:
    print("Exception when calling CoinsApi->coinsListGet: %s\n" % e)

Parameters

Responses

Status: 200 - List all coins with id, name, and symbol


coinsMarketsGet

List all supported coins price, market cap, volume, and market related data

Use this to obtain all the coins market data (price, market cap, volume)


/coins/markets

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/coins/markets?vs_currency=&ids=&category=&order=&per_page=&page=&sparkline=&price_change_percentage="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CoinsApi;

import java.io.File;
import java.util.*;

public class CoinsApiExample {

    public static void main(String[] args) {
        
        CoinsApi apiInstance = new CoinsApi();
        String vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
        String ids = ids_example; // String | The ids of the coin, comma separated crytocurrency symbols (base). refers to `/coins/list`.
When left empty, returns numbers the coins observing the params `limit` and `start`
        String category = category_example; // String | filter by coin category, only decentralized_finance_defi is supported at the moment
        String order = order_example; // String | valid values: market_cap_desc, gecko_desc, gecko_asc, market_cap_asc, market_cap_desc, volume_asc, volume_desc, id_asc, id_desc
sort results by field.
        Integer perPage = 56; // Integer | valid values: 1..250
 Total results per page
        Integer page = 56; // Integer | Page through results
        Boolean sparkline = true; // Boolean | Include sparkline 7 days data (eg. true, false)
        String priceChangePercentage = priceChangePercentage_example; // String | Include price change percentage in 1h, 24h, 7d, 14d, 30d, 200d, 1y (eg. '`1h,24h,7d`' comma-separated, invalid values will be discarded)
        try {
            apiInstance.coinsMarketsGet(vsCurrency, ids, category, order, perPage, page, sparkline, priceChangePercentage);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsMarketsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CoinsApi;

public class CoinsApiExample {

    public static void main(String[] args) {
        CoinsApi apiInstance = new CoinsApi();
        String vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
        String ids = ids_example; // String | The ids of the coin, comma separated crytocurrency symbols (base). refers to `/coins/list`.
When left empty, returns numbers the coins observing the params `limit` and `start`
        String category = category_example; // String | filter by coin category, only decentralized_finance_defi is supported at the moment
        String order = order_example; // String | valid values: market_cap_desc, gecko_desc, gecko_asc, market_cap_asc, market_cap_desc, volume_asc, volume_desc, id_asc, id_desc
sort results by field.
        Integer perPage = 56; // Integer | valid values: 1..250
 Total results per page
        Integer page = 56; // Integer | Page through results
        Boolean sparkline = true; // Boolean | Include sparkline 7 days data (eg. true, false)
        String priceChangePercentage = priceChangePercentage_example; // String | Include price change percentage in 1h, 24h, 7d, 14d, 30d, 200d, 1y (eg. '`1h,24h,7d`' comma-separated, invalid values will be discarded)
        try {
            apiInstance.coinsMarketsGet(vsCurrency, ids, category, order, perPage, page, sparkline, priceChangePercentage);
        } catch (ApiException e) {
            System.err.println("Exception when calling CoinsApi#coinsMarketsGet");
            e.printStackTrace();
        }
    }
}
String *vsCurrency = vsCurrency_example; // The target currency of market data (usd, eur, jpy, etc.)
String *ids = ids_example; // The ids of the coin, comma separated crytocurrency symbols (base). refers to `/coins/list`.
When left empty, returns numbers the coins observing the params `limit` and `start` (optional)
String *category = category_example; // filter by coin category, only decentralized_finance_defi is supported at the moment (optional)
String *order = order_example; // valid values: market_cap_desc, gecko_desc, gecko_asc, market_cap_asc, market_cap_desc, volume_asc, volume_desc, id_asc, id_desc
sort results by field. (optional) (default to market_cap_desc)
Integer *perPage = 56; // valid values: 1..250
 Total results per page (optional) (default to 100)
Integer *page = 56; // Page through results (optional) (default to 1)
Boolean *sparkline = true; // Include sparkline 7 days data (eg. true, false) (optional) (default to false)
String *priceChangePercentage = priceChangePercentage_example; // Include price change percentage in 1h, 24h, 7d, 14d, 30d, 200d, 1y (eg. '`1h,24h,7d`' comma-separated, invalid values will be discarded) (optional)

CoinsApi *apiInstance = [[CoinsApi alloc] init];

// List all supported coins price, market cap, volume, and market related data
[apiInstance coinsMarketsGetWith:vsCurrency
    ids:ids
    category:category
    order:order
    perPage:perPage
    page:page
    sparkline:sparkline
    priceChangePercentage:priceChangePercentage
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.CoinsApi()

var vsCurrency = vsCurrency_example; // {String} The target currency of market data (usd, eur, jpy, etc.)

var opts = { 
  'ids': ids_example, // {String} The ids of the coin, comma separated crytocurrency symbols (base). refers to `/coins/list`.
When left empty, returns numbers the coins observing the params `limit` and `start`
  'category': category_example, // {String} filter by coin category, only decentralized_finance_defi is supported at the moment
  'order': order_example, // {String} valid values: market_cap_desc, gecko_desc, gecko_asc, market_cap_asc, market_cap_desc, volume_asc, volume_desc, id_asc, id_desc
sort results by field.
  'perPage': 56, // {Integer} valid values: 1..250
 Total results per page
  'page': 56, // {Integer} Page through results
  'sparkline': true, // {Boolean} Include sparkline 7 days data (eg. true, false)
  'priceChangePercentage': priceChangePercentage_example // {String} Include price change percentage in 1h, 24h, 7d, 14d, 30d, 200d, 1y (eg. '`1h,24h,7d`' comma-separated, invalid values will be discarded)
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.coinsMarketsGet(vsCurrency, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class coinsMarketsGetExample
    {
        public void main()
        {
            
            var apiInstance = new CoinsApi();
            var vsCurrency = vsCurrency_example;  // String | The target currency of market data (usd, eur, jpy, etc.)
            var ids = ids_example;  // String | The ids of the coin, comma separated crytocurrency symbols (base). refers to `/coins/list`.
When left empty, returns numbers the coins observing the params `limit` and `start` (optional) 
            var category = category_example;  // String | filter by coin category, only decentralized_finance_defi is supported at the moment (optional) 
            var order = order_example;  // String | valid values: market_cap_desc, gecko_desc, gecko_asc, market_cap_asc, market_cap_desc, volume_asc, volume_desc, id_asc, id_desc
sort results by field. (optional)  (default to market_cap_desc)
            var perPage = 56;  // Integer | valid values: 1..250
 Total results per page (optional)  (default to 100)
            var page = 56;  // Integer | Page through results (optional)  (default to 1)
            var sparkline = true;  // Boolean | Include sparkline 7 days data (eg. true, false) (optional)  (default to false)
            var priceChangePercentage = priceChangePercentage_example;  // String | Include price change percentage in 1h, 24h, 7d, 14d, 30d, 200d, 1y (eg. '`1h,24h,7d`' comma-separated, invalid values will be discarded) (optional) 

            try
            {
                // List all supported coins price, market cap, volume, and market related data
                apiInstance.coinsMarketsGet(vsCurrency, ids, category, order, perPage, page, sparkline, priceChangePercentage);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CoinsApi.coinsMarketsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CoinsApi();
$vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
$ids = ids_example; // String | The ids of the coin, comma separated crytocurrency symbols (base). refers to `/coins/list`.
When left empty, returns numbers the coins observing the params `limit` and `start`
$category = category_example; // String | filter by coin category, only decentralized_finance_defi is supported at the moment
$order = order_example; // String | valid values: market_cap_desc, gecko_desc, gecko_asc, market_cap_asc, market_cap_desc, volume_asc, volume_desc, id_asc, id_desc
sort results by field.
$perPage = 56; // Integer | valid values: 1..250
 Total results per page
$page = 56; // Integer | Page through results
$sparkline = true; // Boolean | Include sparkline 7 days data (eg. true, false)
$priceChangePercentage = priceChangePercentage_example; // String | Include price change percentage in 1h, 24h, 7d, 14d, 30d, 200d, 1y (eg. '`1h,24h,7d`' comma-separated, invalid values will be discarded)

try {
    $api_instance->coinsMarketsGet($vsCurrency, $ids, $category, $order, $perPage, $page, $sparkline, $priceChangePercentage);
} catch (Exception $e) {
    echo 'Exception when calling CoinsApi->coinsMarketsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CoinsApi;

my $api_instance = WWW::SwaggerClient::CoinsApi->new();
my $vsCurrency = vsCurrency_example; # String | The target currency of market data (usd, eur, jpy, etc.)
my $ids = ids_example; # String | The ids of the coin, comma separated crytocurrency symbols (base). refers to `/coins/list`.
When left empty, returns numbers the coins observing the params `limit` and `start`
my $category = category_example; # String | filter by coin category, only decentralized_finance_defi is supported at the moment
my $order = order_example; # String | valid values: market_cap_desc, gecko_desc, gecko_asc, market_cap_asc, market_cap_desc, volume_asc, volume_desc, id_asc, id_desc
sort results by field.
my $perPage = 56; # Integer | valid values: 1..250
 Total results per page
my $page = 56; # Integer | Page through results
my $sparkline = true; # Boolean | Include sparkline 7 days data (eg. true, false)
my $priceChangePercentage = priceChangePercentage_example; # String | Include price change percentage in 1h, 24h, 7d, 14d, 30d, 200d, 1y (eg. '`1h,24h,7d`' comma-separated, invalid values will be discarded)

eval { 
    $api_instance->coinsMarketsGet(vsCurrency => $vsCurrency, ids => $ids, category => $category, order => $order, perPage => $perPage, page => $page, sparkline => $sparkline, priceChangePercentage => $priceChangePercentage);
};
if ($@) {
    warn "Exception when calling CoinsApi->coinsMarketsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CoinsApi()
vsCurrency = vsCurrency_example # String | The target currency of market data (usd, eur, jpy, etc.)
ids = ids_example # String | The ids of the coin, comma separated crytocurrency symbols (base). refers to `/coins/list`.
When left empty, returns numbers the coins observing the params `limit` and `start` (optional)
category = category_example # String | filter by coin category, only decentralized_finance_defi is supported at the moment (optional)
order = order_example # String | valid values: market_cap_desc, gecko_desc, gecko_asc, market_cap_asc, market_cap_desc, volume_asc, volume_desc, id_asc, id_desc
sort results by field. (optional) (default to market_cap_desc)
perPage = 56 # Integer | valid values: 1..250
 Total results per page (optional) (default to 100)
page = 56 # Integer | Page through results (optional) (default to 1)
sparkline = true # Boolean | Include sparkline 7 days data (eg. true, false) (optional) (default to false)
priceChangePercentage = priceChangePercentage_example # String | Include price change percentage in 1h, 24h, 7d, 14d, 30d, 200d, 1y (eg. '`1h,24h,7d`' comma-separated, invalid values will be discarded) (optional)

try: 
    # List all supported coins price, market cap, volume, and market related data
    api_instance.coins_markets_get(vsCurrency, ids=ids, category=category, order=order, perPage=perPage, page=page, sparkline=sparkline, priceChangePercentage=priceChangePercentage)
except ApiException as e:
    print("Exception when calling CoinsApi->coinsMarketsGet: %s\n" % e)

Parameters

Query parameters
Name Description
vs_currency*
String
The target currency of market data (usd, eur, jpy, etc.)
Required
ids
String
The ids of the coin, comma separated crytocurrency symbols (base). refers to `/coins/list`. <b>When left empty, returns numbers the coins observing the params `limit` and `start`</b>
category
String
filter by coin category, only decentralized_finance_defi is supported at the moment
order
String
valid values: <b>market_cap_desc, gecko_desc, gecko_asc, market_cap_asc, market_cap_desc, volume_asc, volume_desc, id_asc, id_desc</b> sort results by field.
per_page
Integer
valid values: 1..250 Total results per page
page
Integer
Page through results
sparkline
Boolean
Include sparkline 7 days data (eg. true, false)
price_change_percentage
String
Include price change percentage in <b>1h, 24h, 7d, 14d, 30d, 200d, 1y</b> (eg. '`1h,24h,7d`' comma-separated, invalid values will be discarded)

Responses

Status: 200 - List all coins with market data


Contract

coinsIdContractContractAddressGet

Get coin info from contract address

Get coin info from contract address


/coins/{id}/contract/{contract_address}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/coins/{id}/contract/{contract_address}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ContractApi;

import java.io.File;
import java.util.*;

public class ContractApiExample {

    public static void main(String[] args) {
        
        ContractApi apiInstance = new ContractApi();
        String id = id_example; // String | Asset platform (only `ethereum` is supported at this moment)
        String contractAddress = contractAddress_example; // String | Token's contract address
        try {
            apiInstance.coinsIdContractContractAddressGet(id, contractAddress);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContractApi#coinsIdContractContractAddressGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ContractApi;

public class ContractApiExample {

    public static void main(String[] args) {
        ContractApi apiInstance = new ContractApi();
        String id = id_example; // String | Asset platform (only `ethereum` is supported at this moment)
        String contractAddress = contractAddress_example; // String | Token's contract address
        try {
            apiInstance.coinsIdContractContractAddressGet(id, contractAddress);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContractApi#coinsIdContractContractAddressGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // Asset platform (only `ethereum` is supported at this moment)
String *contractAddress = contractAddress_example; // Token's contract address

ContractApi *apiInstance = [[ContractApi alloc] init];

// Get coin info from contract address
[apiInstance coinsIdContractContractAddressGetWith:id
    contractAddress:contractAddress
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.ContractApi()

var id = id_example; // {String} Asset platform (only `ethereum` is supported at this moment)

var contractAddress = contractAddress_example; // {String} Token's contract address


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.coinsIdContractContractAddressGet(id, contractAddress, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class coinsIdContractContractAddressGetExample
    {
        public void main()
        {
            
            var apiInstance = new ContractApi();
            var id = id_example;  // String | Asset platform (only `ethereum` is supported at this moment)
            var contractAddress = contractAddress_example;  // String | Token's contract address

            try
            {
                // Get coin info from contract address
                apiInstance.coinsIdContractContractAddressGet(id, contractAddress);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ContractApi.coinsIdContractContractAddressGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ContractApi();
$id = id_example; // String | Asset platform (only `ethereum` is supported at this moment)
$contractAddress = contractAddress_example; // String | Token's contract address

try {
    $api_instance->coinsIdContractContractAddressGet($id, $contractAddress);
} catch (Exception $e) {
    echo 'Exception when calling ContractApi->coinsIdContractContractAddressGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ContractApi;

my $api_instance = WWW::SwaggerClient::ContractApi->new();
my $id = id_example; # String | Asset platform (only `ethereum` is supported at this moment)
my $contractAddress = contractAddress_example; # String | Token's contract address

eval { 
    $api_instance->coinsIdContractContractAddressGet(id => $id, contractAddress => $contractAddress);
};
if ($@) {
    warn "Exception when calling ContractApi->coinsIdContractContractAddressGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ContractApi()
id = id_example # String | Asset platform (only `ethereum` is supported at this moment)
contractAddress = contractAddress_example # String | Token's contract address

try: 
    # Get coin info from contract address
    api_instance.coins_id_contract_contract_address_get(id, contractAddress)
except ApiException as e:
    print("Exception when calling ContractApi->coinsIdContractContractAddressGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Asset platform (only `ethereum` is supported at this moment)
Required
contract_address*
String
Token's contract address
Required

Responses

Status: 200 - Get current data for a coin


coinsIdContractContractAddressMarketChartGet

Get historical market data include price, market cap, and 24h volume (granularity auto) from a contract address

Get historical market data include price, market cap, and 24h volume (granularity auto)


/coins/{id}/contract/{contract_address}/market_chart/

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/coins/{id}/contract/{contract_address}/market_chart/?vs_currency=&days="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ContractApi;

import java.io.File;
import java.util.*;

public class ContractApiExample {

    public static void main(String[] args) {
        
        ContractApi apiInstance = new ContractApi();
        String id = id_example; // String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
        String contractAddress = contractAddress_example; // String | Token's contract address
        String vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
        String days = days_example; // String | Data up to number of days ago (eg. 1,14,30,max)
        try {
            apiInstance.coinsIdContractContractAddressMarketChartGet(id, contractAddress, vsCurrency, days);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContractApi#coinsIdContractContractAddressMarketChartGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ContractApi;

public class ContractApiExample {

    public static void main(String[] args) {
        ContractApi apiInstance = new ContractApi();
        String id = id_example; // String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
        String contractAddress = contractAddress_example; // String | Token's contract address
        String vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
        String days = days_example; // String | Data up to number of days ago (eg. 1,14,30,max)
        try {
            apiInstance.coinsIdContractContractAddressMarketChartGet(id, contractAddress, vsCurrency, days);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContractApi#coinsIdContractContractAddressMarketChartGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // The id of the platform issuing tokens (Only `ethereum` is supported for now)
String *contractAddress = contractAddress_example; // Token's contract address
String *vsCurrency = vsCurrency_example; // The target currency of market data (usd, eur, jpy, etc.)
String *days = days_example; // Data up to number of days ago (eg. 1,14,30,max)

ContractApi *apiInstance = [[ContractApi alloc] init];

// Get historical market data include price, market cap, and 24h volume (granularity auto) from a contract address 
[apiInstance coinsIdContractContractAddressMarketChartGetWith:id
    contractAddress:contractAddress
    vsCurrency:vsCurrency
    days:days
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.ContractApi()

var id = id_example; // {String} The id of the platform issuing tokens (Only `ethereum` is supported for now)

var contractAddress = contractAddress_example; // {String} Token's contract address

var vsCurrency = vsCurrency_example; // {String} The target currency of market data (usd, eur, jpy, etc.)

var days = days_example; // {String} Data up to number of days ago (eg. 1,14,30,max)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.coinsIdContractContractAddressMarketChartGet(id, contractAddress, vsCurrency, days, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class coinsIdContractContractAddressMarketChartGetExample
    {
        public void main()
        {
            
            var apiInstance = new ContractApi();
            var id = id_example;  // String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
            var contractAddress = contractAddress_example;  // String | Token's contract address
            var vsCurrency = vsCurrency_example;  // String | The target currency of market data (usd, eur, jpy, etc.)
            var days = days_example;  // String | Data up to number of days ago (eg. 1,14,30,max)

            try
            {
                // Get historical market data include price, market cap, and 24h volume (granularity auto) from a contract address 
                apiInstance.coinsIdContractContractAddressMarketChartGet(id, contractAddress, vsCurrency, days);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ContractApi.coinsIdContractContractAddressMarketChartGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ContractApi();
$id = id_example; // String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
$contractAddress = contractAddress_example; // String | Token's contract address
$vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
$days = days_example; // String | Data up to number of days ago (eg. 1,14,30,max)

try {
    $api_instance->coinsIdContractContractAddressMarketChartGet($id, $contractAddress, $vsCurrency, $days);
} catch (Exception $e) {
    echo 'Exception when calling ContractApi->coinsIdContractContractAddressMarketChartGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ContractApi;

my $api_instance = WWW::SwaggerClient::ContractApi->new();
my $id = id_example; # String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
my $contractAddress = contractAddress_example; # String | Token's contract address
my $vsCurrency = vsCurrency_example; # String | The target currency of market data (usd, eur, jpy, etc.)
my $days = days_example; # String | Data up to number of days ago (eg. 1,14,30,max)

eval { 
    $api_instance->coinsIdContractContractAddressMarketChartGet(id => $id, contractAddress => $contractAddress, vsCurrency => $vsCurrency, days => $days);
};
if ($@) {
    warn "Exception when calling ContractApi->coinsIdContractContractAddressMarketChartGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ContractApi()
id = id_example # String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
contractAddress = contractAddress_example # String | Token's contract address
vsCurrency = vsCurrency_example # String | The target currency of market data (usd, eur, jpy, etc.)
days = days_example # String | Data up to number of days ago (eg. 1,14,30,max)

try: 
    # Get historical market data include price, market cap, and 24h volume (granularity auto) from a contract address 
    api_instance.coins_id_contract_contract_address_market_chart_get(id, contractAddress, vsCurrency, days)
except ApiException as e:
    print("Exception when calling ContractApi->coinsIdContractContractAddressMarketChartGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
The id of the platform issuing tokens (Only `ethereum` is supported for now)
Required
contract_address*
String
Token's contract address
Required
Query parameters
Name Description
vs_currency*
String
The target currency of market data (usd, eur, jpy, etc.)
Required
days*
String
Data up to number of days ago (eg. 1,14,30,max)
Required

Responses

Status: 200 - Get historical market data include price, market cap, and 24h volume


coinsIdContractContractAddressMarketChartRangeGet

Get historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto) from a contract address

Get historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto)


/coins/{id}/contract/{contract_address}/market_chart/range

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/coins/{id}/contract/{contract_address}/market_chart/range?vs_currency=&from=&to="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ContractApi;

import java.io.File;
import java.util.*;

public class ContractApiExample {

    public static void main(String[] args) {
        
        ContractApi apiInstance = new ContractApi();
        String id = id_example; // String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
        String contractAddress = contractAddress_example; // String | Token's contract address
        String vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
        String from = from_example; // String | From date in UNIX Timestamp (eg. 1392577232)
        String to = to_example; // String | To date in UNIX Timestamp (eg. 1422577232)
        try {
            apiInstance.coinsIdContractContractAddressMarketChartRangeGet(id, contractAddress, vsCurrency, from, to);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContractApi#coinsIdContractContractAddressMarketChartRangeGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ContractApi;

public class ContractApiExample {

    public static void main(String[] args) {
        ContractApi apiInstance = new ContractApi();
        String id = id_example; // String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
        String contractAddress = contractAddress_example; // String | Token's contract address
        String vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
        String from = from_example; // String | From date in UNIX Timestamp (eg. 1392577232)
        String to = to_example; // String | To date in UNIX Timestamp (eg. 1422577232)
        try {
            apiInstance.coinsIdContractContractAddressMarketChartRangeGet(id, contractAddress, vsCurrency, from, to);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContractApi#coinsIdContractContractAddressMarketChartRangeGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // The id of the platform issuing tokens (Only `ethereum` is supported for now)
String *contractAddress = contractAddress_example; // Token's contract address
String *vsCurrency = vsCurrency_example; // The target currency of market data (usd, eur, jpy, etc.)
String *from = from_example; // From date in UNIX Timestamp (eg. 1392577232)
String *to = to_example; // To date in UNIX Timestamp (eg. 1422577232)

ContractApi *apiInstance = [[ContractApi alloc] init];

// Get historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto) from a contract address
[apiInstance coinsIdContractContractAddressMarketChartRangeGetWith:id
    contractAddress:contractAddress
    vsCurrency:vsCurrency
    from:from
    to:to
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.ContractApi()

var id = id_example; // {String} The id of the platform issuing tokens (Only `ethereum` is supported for now)

var contractAddress = contractAddress_example; // {String} Token's contract address

var vsCurrency = vsCurrency_example; // {String} The target currency of market data (usd, eur, jpy, etc.)

var from = from_example; // {String} From date in UNIX Timestamp (eg. 1392577232)

var to = to_example; // {String} To date in UNIX Timestamp (eg. 1422577232)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.coinsIdContractContractAddressMarketChartRangeGet(id, contractAddress, vsCurrency, from, to, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class coinsIdContractContractAddressMarketChartRangeGetExample
    {
        public void main()
        {
            
            var apiInstance = new ContractApi();
            var id = id_example;  // String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
            var contractAddress = contractAddress_example;  // String | Token's contract address
            var vsCurrency = vsCurrency_example;  // String | The target currency of market data (usd, eur, jpy, etc.)
            var from = from_example;  // String | From date in UNIX Timestamp (eg. 1392577232)
            var to = to_example;  // String | To date in UNIX Timestamp (eg. 1422577232)

            try
            {
                // Get historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto) from a contract address
                apiInstance.coinsIdContractContractAddressMarketChartRangeGet(id, contractAddress, vsCurrency, from, to);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ContractApi.coinsIdContractContractAddressMarketChartRangeGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ContractApi();
$id = id_example; // String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
$contractAddress = contractAddress_example; // String | Token's contract address
$vsCurrency = vsCurrency_example; // String | The target currency of market data (usd, eur, jpy, etc.)
$from = from_example; // String | From date in UNIX Timestamp (eg. 1392577232)
$to = to_example; // String | To date in UNIX Timestamp (eg. 1422577232)

try {
    $api_instance->coinsIdContractContractAddressMarketChartRangeGet($id, $contractAddress, $vsCurrency, $from, $to);
} catch (Exception $e) {
    echo 'Exception when calling ContractApi->coinsIdContractContractAddressMarketChartRangeGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ContractApi;

my $api_instance = WWW::SwaggerClient::ContractApi->new();
my $id = id_example; # String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
my $contractAddress = contractAddress_example; # String | Token's contract address
my $vsCurrency = vsCurrency_example; # String | The target currency of market data (usd, eur, jpy, etc.)
my $from = from_example; # String | From date in UNIX Timestamp (eg. 1392577232)
my $to = to_example; # String | To date in UNIX Timestamp (eg. 1422577232)

eval { 
    $api_instance->coinsIdContractContractAddressMarketChartRangeGet(id => $id, contractAddress => $contractAddress, vsCurrency => $vsCurrency, from => $from, to => $to);
};
if ($@) {
    warn "Exception when calling ContractApi->coinsIdContractContractAddressMarketChartRangeGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ContractApi()
id = id_example # String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
contractAddress = contractAddress_example # String | Token's contract address
vsCurrency = vsCurrency_example # String | The target currency of market data (usd, eur, jpy, etc.)
from = from_example # String | From date in UNIX Timestamp (eg. 1392577232)
to = to_example # String | To date in UNIX Timestamp (eg. 1422577232)

try: 
    # Get historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto) from a contract address
    api_instance.coins_id_contract_contract_address_market_chart_range_get(id, contractAddress, vsCurrency, from, to)
except ApiException as e:
    print("Exception when calling ContractApi->coinsIdContractContractAddressMarketChartRangeGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
The id of the platform issuing tokens (Only `ethereum` is supported for now)
Required
contract_address*
String
Token's contract address
Required
Query parameters
Name Description
vs_currency*
String
The target currency of market data (usd, eur, jpy, etc.)
Required
from*
String
From date in UNIX Timestamp (eg. 1392577232)
Required
to*
String
To date in UNIX Timestamp (eg. 1422577232)
Required

Responses

Status: 200 - Get historical market data include price, market cap, and 24h volume


DerivativesBeta

derivativesExchangesGet

List all derivative exchanges

List all derivative exchanges


/derivatives/exchanges

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/derivatives/exchanges?order=&per_page=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DerivativesBetaApi;

import java.io.File;
import java.util.*;

public class DerivativesBetaApiExample {

    public static void main(String[] args) {
        
        DerivativesBetaApi apiInstance = new DerivativesBetaApi();
        String order = order_example; // String | order results using following params name_asc,name_desc,open_interest_btc_asc,open_interest_btc_desc,trade_volume_24h_btc_asc,trade_volume_24h_btc_desc
        Integer perPage = 56; // Integer | Total results per page
        Integer page = 56; // Integer | Page through results
        try {
            apiInstance.derivativesExchangesGet(order, perPage, page);
        } catch (ApiException e) {
            System.err.println("Exception when calling DerivativesBetaApi#derivativesExchangesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DerivativesBetaApi;

public class DerivativesBetaApiExample {

    public static void main(String[] args) {
        DerivativesBetaApi apiInstance = new DerivativesBetaApi();
        String order = order_example; // String | order results using following params name_asc,name_desc,open_interest_btc_asc,open_interest_btc_desc,trade_volume_24h_btc_asc,trade_volume_24h_btc_desc
        Integer perPage = 56; // Integer | Total results per page
        Integer page = 56; // Integer | Page through results
        try {
            apiInstance.derivativesExchangesGet(order, perPage, page);
        } catch (ApiException e) {
            System.err.println("Exception when calling DerivativesBetaApi#derivativesExchangesGet");
            e.printStackTrace();
        }
    }
}
String *order = order_example; // order results using following params name_asc,name_desc,open_interest_btc_asc,open_interest_btc_desc,trade_volume_24h_btc_asc,trade_volume_24h_btc_desc (optional)
Integer *perPage = 56; // Total results per page (optional)
Integer *page = 56; // Page through results (optional)

DerivativesBetaApi *apiInstance = [[DerivativesBetaApi alloc] init];

// List all derivative exchanges
[apiInstance derivativesExchangesGetWith:order
    perPage:perPage
    page:page
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.DerivativesBetaApi()

var opts = { 
  'order': order_example, // {String} order results using following params name_asc,name_desc,open_interest_btc_asc,open_interest_btc_desc,trade_volume_24h_btc_asc,trade_volume_24h_btc_desc
  'perPage': 56, // {Integer} Total results per page
  'page': 56 // {Integer} Page through results
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.derivativesExchangesGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class derivativesExchangesGetExample
    {
        public void main()
        {
            
            var apiInstance = new DerivativesBetaApi();
            var order = order_example;  // String | order results using following params name_asc,name_desc,open_interest_btc_asc,open_interest_btc_desc,trade_volume_24h_btc_asc,trade_volume_24h_btc_desc (optional) 
            var perPage = 56;  // Integer | Total results per page (optional) 
            var page = 56;  // Integer | Page through results (optional) 

            try
            {
                // List all derivative exchanges
                apiInstance.derivativesExchangesGet(order, perPage, page);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DerivativesBetaApi.derivativesExchangesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DerivativesBetaApi();
$order = order_example; // String | order results using following params name_asc,name_desc,open_interest_btc_asc,open_interest_btc_desc,trade_volume_24h_btc_asc,trade_volume_24h_btc_desc
$perPage = 56; // Integer | Total results per page
$page = 56; // Integer | Page through results

try {
    $api_instance->derivativesExchangesGet($order, $perPage, $page);
} catch (Exception $e) {
    echo 'Exception when calling DerivativesBetaApi->derivativesExchangesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DerivativesBetaApi;

my $api_instance = WWW::SwaggerClient::DerivativesBetaApi->new();
my $order = order_example; # String | order results using following params name_asc,name_desc,open_interest_btc_asc,open_interest_btc_desc,trade_volume_24h_btc_asc,trade_volume_24h_btc_desc
my $perPage = 56; # Integer | Total results per page
my $page = 56; # Integer | Page through results

eval { 
    $api_instance->derivativesExchangesGet(order => $order, perPage => $perPage, page => $page);
};
if ($@) {
    warn "Exception when calling DerivativesBetaApi->derivativesExchangesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DerivativesBetaApi()
order = order_example # String | order results using following params name_asc,name_desc,open_interest_btc_asc,open_interest_btc_desc,trade_volume_24h_btc_asc,trade_volume_24h_btc_desc (optional)
perPage = 56 # Integer | Total results per page (optional)
page = 56 # Integer | Page through results (optional)

try: 
    # List all derivative exchanges
    api_instance.derivatives_exchanges_get(order=order, perPage=perPage, page=page)
except ApiException as e:
    print("Exception when calling DerivativesBetaApi->derivativesExchangesGet: %s\n" % e)

Parameters

Query parameters
Name Description
order
String
order results using following params name_asc,name_desc,open_interest_btc_asc,open_interest_btc_desc,trade_volume_24h_btc_asc,trade_volume_24h_btc_desc
per_page
Integer
Total results per page
page
Integer
Page through results

Responses

Status: 200 - List all derivative exchanges


derivativesExchangesIdGet

show derivative exchange data

show derivative exchange data


/derivatives/exchanges/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/derivatives/exchanges/{id}?include_tickers="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DerivativesBetaApi;

import java.io.File;
import java.util.*;

public class DerivativesBetaApiExample {

    public static void main(String[] args) {
        
        DerivativesBetaApi apiInstance = new DerivativesBetaApi();
        String id = id_example; // String | pass the exchange id (can be obtained from derivatives/exchanges/list) eg. bitmex
        String includeTickers = includeTickers_example; // String | ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, leave blank to omit tickers data in response
        try {
            apiInstance.derivativesExchangesIdGet(id, includeTickers);
        } catch (ApiException e) {
            System.err.println("Exception when calling DerivativesBetaApi#derivativesExchangesIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DerivativesBetaApi;

public class DerivativesBetaApiExample {

    public static void main(String[] args) {
        DerivativesBetaApi apiInstance = new DerivativesBetaApi();
        String id = id_example; // String | pass the exchange id (can be obtained from derivatives/exchanges/list) eg. bitmex
        String includeTickers = includeTickers_example; // String | ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, leave blank to omit tickers data in response
        try {
            apiInstance.derivativesExchangesIdGet(id, includeTickers);
        } catch (ApiException e) {
            System.err.println("Exception when calling DerivativesBetaApi#derivativesExchangesIdGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // pass the exchange id (can be obtained from derivatives/exchanges/list) eg. bitmex
String *includeTickers = includeTickers_example; // ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, leave blank to omit tickers data in response (optional)

DerivativesBetaApi *apiInstance = [[DerivativesBetaApi alloc] init];

// show derivative exchange data
[apiInstance derivativesExchangesIdGetWith:id
    includeTickers:includeTickers
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.DerivativesBetaApi()

var id = id_example; // {String} pass the exchange id (can be obtained from derivatives/exchanges/list) eg. bitmex

var opts = { 
  'includeTickers': includeTickers_example // {String} ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, leave blank to omit tickers data in response
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.derivativesExchangesIdGet(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class derivativesExchangesIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new DerivativesBetaApi();
            var id = id_example;  // String | pass the exchange id (can be obtained from derivatives/exchanges/list) eg. bitmex
            var includeTickers = includeTickers_example;  // String | ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, leave blank to omit tickers data in response (optional) 

            try
            {
                // show derivative exchange data
                apiInstance.derivativesExchangesIdGet(id, includeTickers);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DerivativesBetaApi.derivativesExchangesIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DerivativesBetaApi();
$id = id_example; // String | pass the exchange id (can be obtained from derivatives/exchanges/list) eg. bitmex
$includeTickers = includeTickers_example; // String | ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, leave blank to omit tickers data in response

try {
    $api_instance->derivativesExchangesIdGet($id, $includeTickers);
} catch (Exception $e) {
    echo 'Exception when calling DerivativesBetaApi->derivativesExchangesIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DerivativesBetaApi;

my $api_instance = WWW::SwaggerClient::DerivativesBetaApi->new();
my $id = id_example; # String | pass the exchange id (can be obtained from derivatives/exchanges/list) eg. bitmex
my $includeTickers = includeTickers_example; # String | ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, leave blank to omit tickers data in response

eval { 
    $api_instance->derivativesExchangesIdGet(id => $id, includeTickers => $includeTickers);
};
if ($@) {
    warn "Exception when calling DerivativesBetaApi->derivativesExchangesIdGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DerivativesBetaApi()
id = id_example # String | pass the exchange id (can be obtained from derivatives/exchanges/list) eg. bitmex
includeTickers = includeTickers_example # String | ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, leave blank to omit tickers data in response (optional)

try: 
    # show derivative exchange data
    api_instance.derivatives_exchanges_id_get(id, includeTickers=includeTickers)
except ApiException as e:
    print("Exception when calling DerivativesBetaApi->derivativesExchangesIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
pass the exchange id (can be obtained from derivatives/exchanges/list) eg. bitmex
Required
Query parameters
Name Description
include_tickers
String
['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, leave blank to omit tickers data in response

Responses

Status: 200 - show derivative exchange data


derivativesExchangesListGet

List all derivative exchanges name and identifier

List all derivative exchanges name and identifier


/derivatives/exchanges/list

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/derivatives/exchanges/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DerivativesBetaApi;

import java.io.File;
import java.util.*;

public class DerivativesBetaApiExample {

    public static void main(String[] args) {
        
        DerivativesBetaApi apiInstance = new DerivativesBetaApi();
        try {
            apiInstance.derivativesExchangesListGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DerivativesBetaApi#derivativesExchangesListGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DerivativesBetaApi;

public class DerivativesBetaApiExample {

    public static void main(String[] args) {
        DerivativesBetaApi apiInstance = new DerivativesBetaApi();
        try {
            apiInstance.derivativesExchangesListGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling DerivativesBetaApi#derivativesExchangesListGet");
            e.printStackTrace();
        }
    }
}

DerivativesBetaApi *apiInstance = [[DerivativesBetaApi alloc] init];

// List all derivative exchanges name and identifier
[apiInstance derivativesExchangesListGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.DerivativesBetaApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.derivativesExchangesListGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class derivativesExchangesListGetExample
    {
        public void main()
        {
            
            var apiInstance = new DerivativesBetaApi();

            try
            {
                // List all derivative exchanges name and identifier
                apiInstance.derivativesExchangesListGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DerivativesBetaApi.derivativesExchangesListGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DerivativesBetaApi();

try {
    $api_instance->derivativesExchangesListGet();
} catch (Exception $e) {
    echo 'Exception when calling DerivativesBetaApi->derivativesExchangesListGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DerivativesBetaApi;

my $api_instance = WWW::SwaggerClient::DerivativesBetaApi->new();

eval { 
    $api_instance->derivativesExchangesListGet();
};
if ($@) {
    warn "Exception when calling DerivativesBetaApi->derivativesExchangesListGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DerivativesBetaApi()

try: 
    # List all derivative exchanges name and identifier
    api_instance.derivatives_exchanges_list_get()
except ApiException as e:
    print("Exception when calling DerivativesBetaApi->derivativesExchangesListGet: %s\n" % e)

Parameters

Responses

Status: 200 - List all derivative exchanges name and identifier


derivativesGet

List all derivative tickers

List all derivative tickers


/derivatives

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/derivatives?include_tickers="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DerivativesBetaApi;

import java.io.File;
import java.util.*;

public class DerivativesBetaApiExample {

    public static void main(String[] args) {
        
        DerivativesBetaApi apiInstance = new DerivativesBetaApi();
        String includeTickers = includeTickers_example; // String | ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, defaults to unexpired
        try {
            apiInstance.derivativesGet(includeTickers);
        } catch (ApiException e) {
            System.err.println("Exception when calling DerivativesBetaApi#derivativesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DerivativesBetaApi;

public class DerivativesBetaApiExample {

    public static void main(String[] args) {
        DerivativesBetaApi apiInstance = new DerivativesBetaApi();
        String includeTickers = includeTickers_example; // String | ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, defaults to unexpired
        try {
            apiInstance.derivativesGet(includeTickers);
        } catch (ApiException e) {
            System.err.println("Exception when calling DerivativesBetaApi#derivativesGet");
            e.printStackTrace();
        }
    }
}
String *includeTickers = includeTickers_example; // ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, defaults to unexpired (optional)

DerivativesBetaApi *apiInstance = [[DerivativesBetaApi alloc] init];

// List all derivative tickers
[apiInstance derivativesGetWith:includeTickers
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.DerivativesBetaApi()

var opts = { 
  'includeTickers': includeTickers_example // {String} ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, defaults to unexpired
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.derivativesGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class derivativesGetExample
    {
        public void main()
        {
            
            var apiInstance = new DerivativesBetaApi();
            var includeTickers = includeTickers_example;  // String | ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, defaults to unexpired (optional) 

            try
            {
                // List all derivative tickers
                apiInstance.derivativesGet(includeTickers);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DerivativesBetaApi.derivativesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DerivativesBetaApi();
$includeTickers = includeTickers_example; // String | ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, defaults to unexpired

try {
    $api_instance->derivativesGet($includeTickers);
} catch (Exception $e) {
    echo 'Exception when calling DerivativesBetaApi->derivativesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DerivativesBetaApi;

my $api_instance = WWW::SwaggerClient::DerivativesBetaApi->new();
my $includeTickers = includeTickers_example; # String | ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, defaults to unexpired

eval { 
    $api_instance->derivativesGet(includeTickers => $includeTickers);
};
if ($@) {
    warn "Exception when calling DerivativesBetaApi->derivativesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DerivativesBetaApi()
includeTickers = includeTickers_example # String | ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, defaults to unexpired (optional)

try: 
    # List all derivative tickers
    api_instance.derivatives_get(includeTickers=includeTickers)
except ApiException as e:
    print("Exception when calling DerivativesBetaApi->derivativesGet: %s\n" % e)

Parameters

Query parameters
Name Description
include_tickers
String
['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, defaults to unexpired

Responses

Status: 200 - List all derivative tickers


Events

eventsCountriesGet

Get list of event countries

Get list of event countries


/events/countries

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/events/countries"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EventsApi;

import java.io.File;
import java.util.*;

public class EventsApiExample {

    public static void main(String[] args) {
        
        EventsApi apiInstance = new EventsApi();
        try {
            apiInstance.eventsCountriesGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#eventsCountriesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EventsApi;

public class EventsApiExample {

    public static void main(String[] args) {
        EventsApi apiInstance = new EventsApi();
        try {
            apiInstance.eventsCountriesGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#eventsCountriesGet");
            e.printStackTrace();
        }
    }
}

EventsApi *apiInstance = [[EventsApi alloc] init];

// Get list of event countries
[apiInstance eventsCountriesGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.EventsApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventsCountriesGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class eventsCountriesGetExample
    {
        public void main()
        {
            
            var apiInstance = new EventsApi();

            try
            {
                // Get list of event countries
                apiInstance.eventsCountriesGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EventsApi.eventsCountriesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EventsApi();

try {
    $api_instance->eventsCountriesGet();
} catch (Exception $e) {
    echo 'Exception when calling EventsApi->eventsCountriesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EventsApi;

my $api_instance = WWW::SwaggerClient::EventsApi->new();

eval { 
    $api_instance->eventsCountriesGet();
};
if ($@) {
    warn "Exception when calling EventsApi->eventsCountriesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.EventsApi()

try: 
    # Get list of event countries
    api_instance.events_countries_get()
except ApiException as e:
    print("Exception when calling EventsApi->eventsCountriesGet: %s\n" % e)

Parameters

Responses

Status: 200 - List event countries


eventsGet

Get events, paginated by 100

Get events, paginated by 100


/events

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/events?country_code=&type=&page=&upcoming_events_only=&from_date=&to_date="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EventsApi;

import java.io.File;
import java.util.*;

public class EventsApiExample {

    public static void main(String[] args) {
        
        EventsApi apiInstance = new EventsApi();
        String countryCode = countryCode_example; // String | country_code of event (eg. 'US'). use /api/v3/events/countries for list of country_codes
        String type = type_example; // String | type of event (eg. 'Conference'). use /api/v3/events/types for list of types
        String page = page_example; // String | page of results (paginated by 100)
        String upcomingEventsOnly = upcomingEventsOnly_example; // String | lists only upcoming events. 
true, false
(defaults to true, set to false to list all events) String fromDate = fromDate_example; // String | lists events after this date yyyy-mm-dd String toDate = toDate_example; // String | lists events before this date yyyy-mm-dd (set upcoming_events_only to false if fetching past events) try { apiInstance.eventsGet(countryCode, type, page, upcomingEventsOnly, fromDate, toDate); } catch (ApiException e) { System.err.println("Exception when calling EventsApi#eventsGet"); e.printStackTrace(); } } }
import io.swagger.client.api.EventsApi;

public class EventsApiExample {

    public static void main(String[] args) {
        EventsApi apiInstance = new EventsApi();
        String countryCode = countryCode_example; // String | country_code of event (eg. 'US'). use /api/v3/events/countries for list of country_codes
        String type = type_example; // String | type of event (eg. 'Conference'). use /api/v3/events/types for list of types
        String page = page_example; // String | page of results (paginated by 100)
        String upcomingEventsOnly = upcomingEventsOnly_example; // String | lists only upcoming events. 
true, false
(defaults to true, set to false to list all events) String fromDate = fromDate_example; // String | lists events after this date yyyy-mm-dd String toDate = toDate_example; // String | lists events before this date yyyy-mm-dd (set upcoming_events_only to false if fetching past events) try { apiInstance.eventsGet(countryCode, type, page, upcomingEventsOnly, fromDate, toDate); } catch (ApiException e) { System.err.println("Exception when calling EventsApi#eventsGet"); e.printStackTrace(); } } }
String *countryCode = countryCode_example; // country_code of event (eg. 'US'). use /api/v3/events/countries for list of country_codes (optional)
String *type = type_example; // type of event (eg. 'Conference'). use /api/v3/events/types for list of types (optional)
String *page = page_example; // page of results (paginated by 100) (optional)
String *upcomingEventsOnly = upcomingEventsOnly_example; // lists only upcoming events. 
true, false
(defaults to true, set to false to list all events) (optional) String *fromDate = fromDate_example; // lists events after this date yyyy-mm-dd (optional) String *toDate = toDate_example; // lists events before this date yyyy-mm-dd (set upcoming_events_only to false if fetching past events) (optional) EventsApi *apiInstance = [[EventsApi alloc] init]; // Get events, paginated by 100 [apiInstance eventsGetWith:countryCode type:type page:page upcomingEventsOnly:upcomingEventsOnly fromDate:fromDate toDate:toDate completionHandler: ^(NSError* error) { if (error) { NSLog(@"Error: %@", error); } }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.EventsApi()

var opts = { 
  'countryCode': countryCode_example, // {String} country_code of event (eg. 'US'). use /api/v3/events/countries for list of country_codes
  'type': type_example, // {String} type of event (eg. 'Conference'). use /api/v3/events/types for list of types
  'page': page_example, // {String} page of results (paginated by 100)
  'upcomingEventsOnly': upcomingEventsOnly_example, // {String} lists only upcoming events. 
true, false
(defaults to true, set to false to list all events) 'fromDate': fromDate_example, // {String} lists events after this date yyyy-mm-dd 'toDate': toDate_example // {String} lists events before this date yyyy-mm-dd (set upcoming_events_only to false if fetching past events) }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully.'); } }; api.eventsGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class eventsGetExample
    {
        public void main()
        {
            
            var apiInstance = new EventsApi();
            var countryCode = countryCode_example;  // String | country_code of event (eg. 'US'). use /api/v3/events/countries for list of country_codes (optional) 
            var type = type_example;  // String | type of event (eg. 'Conference'). use /api/v3/events/types for list of types (optional) 
            var page = page_example;  // String | page of results (paginated by 100) (optional) 
            var upcomingEventsOnly = upcomingEventsOnly_example;  // String | lists only upcoming events. 
true, false
(defaults to true, set to false to list all events) (optional) var fromDate = fromDate_example; // String | lists events after this date yyyy-mm-dd (optional) var toDate = toDate_example; // String | lists events before this date yyyy-mm-dd (set upcoming_events_only to false if fetching past events) (optional) try { // Get events, paginated by 100 apiInstance.eventsGet(countryCode, type, page, upcomingEventsOnly, fromDate, toDate); } catch (Exception e) { Debug.Print("Exception when calling EventsApi.eventsGet: " + e.Message ); } } } }
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EventsApi();
$countryCode = countryCode_example; // String | country_code of event (eg. 'US'). use /api/v3/events/countries for list of country_codes
$type = type_example; // String | type of event (eg. 'Conference'). use /api/v3/events/types for list of types
$page = page_example; // String | page of results (paginated by 100)
$upcomingEventsOnly = upcomingEventsOnly_example; // String | lists only upcoming events. 
true, false
(defaults to true, set to false to list all events) $fromDate = fromDate_example; // String | lists events after this date yyyy-mm-dd $toDate = toDate_example; // String | lists events before this date yyyy-mm-dd (set upcoming_events_only to false if fetching past events) try { $api_instance->eventsGet($countryCode, $type, $page, $upcomingEventsOnly, $fromDate, $toDate); } catch (Exception $e) { echo 'Exception when calling EventsApi->eventsGet: ', $e->getMessage(), PHP_EOL; } ?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EventsApi;

my $api_instance = WWW::SwaggerClient::EventsApi->new();
my $countryCode = countryCode_example; # String | country_code of event (eg. 'US'). use /api/v3/events/countries for list of country_codes
my $type = type_example; # String | type of event (eg. 'Conference'). use /api/v3/events/types for list of types
my $page = page_example; # String | page of results (paginated by 100)
my $upcomingEventsOnly = upcomingEventsOnly_example; # String | lists only upcoming events. 
true, false
(defaults to true, set to false to list all events) my $fromDate = fromDate_example; # String | lists events after this date yyyy-mm-dd my $toDate = toDate_example; # String | lists events before this date yyyy-mm-dd (set upcoming_events_only to false if fetching past events) eval { $api_instance->eventsGet(countryCode => $countryCode, type => $type, page => $page, upcomingEventsOnly => $upcomingEventsOnly, fromDate => $fromDate, toDate => $toDate); }; if ($@) { warn "Exception when calling EventsApi->eventsGet: $@\n"; }
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.EventsApi()
countryCode = countryCode_example # String | country_code of event (eg. 'US'). use /api/v3/events/countries for list of country_codes (optional)
type = type_example # String | type of event (eg. 'Conference'). use /api/v3/events/types for list of types (optional)
page = page_example # String | page of results (paginated by 100) (optional)
upcomingEventsOnly = upcomingEventsOnly_example # String | lists only upcoming events. 
true, false
(defaults to true, set to false to list all events) (optional) fromDate = fromDate_example # String | lists events after this date yyyy-mm-dd (optional) toDate = toDate_example # String | lists events before this date yyyy-mm-dd (set upcoming_events_only to false if fetching past events) (optional) try: # Get events, paginated by 100 api_instance.events_get(countryCode=countryCode, type=type, page=page, upcomingEventsOnly=upcomingEventsOnly, fromDate=fromDate, toDate=toDate) except ApiException as e: print("Exception when calling EventsApi->eventsGet: %s\n" % e)

Parameters

Query parameters
Name Description
country_code
String
country_code of event (eg. 'US'). use <b>/api/v3/events/countries</b> for list of country_codes
type
String
type of event (eg. 'Conference'). use <b>/api/v3/events/types</b> for list of types
page
String
page of results (paginated by 100)
upcoming_events_only
String
lists only upcoming events. <br>true, false</br> (defaults to true, set to false to list all events)
from_date
String
lists events after this date yyyy-mm-dd
to_date
String
lists events before this date yyyy-mm-dd (set upcoming_events_only to false if fetching past events)

Responses

Status: 200 - List events


eventsTypesGet

Get list of events types

Get list of event types


/events/types

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/events/types"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EventsApi;

import java.io.File;
import java.util.*;

public class EventsApiExample {

    public static void main(String[] args) {
        
        EventsApi apiInstance = new EventsApi();
        try {
            apiInstance.eventsTypesGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#eventsTypesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EventsApi;

public class EventsApiExample {

    public static void main(String[] args) {
        EventsApi apiInstance = new EventsApi();
        try {
            apiInstance.eventsTypesGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#eventsTypesGet");
            e.printStackTrace();
        }
    }
}

EventsApi *apiInstance = [[EventsApi alloc] init];

// Get list of events types
[apiInstance eventsTypesGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.EventsApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.eventsTypesGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class eventsTypesGetExample
    {
        public void main()
        {
            
            var apiInstance = new EventsApi();

            try
            {
                // Get list of events types
                apiInstance.eventsTypesGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EventsApi.eventsTypesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EventsApi();

try {
    $api_instance->eventsTypesGet();
} catch (Exception $e) {
    echo 'Exception when calling EventsApi->eventsTypesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EventsApi;

my $api_instance = WWW::SwaggerClient::EventsApi->new();

eval { 
    $api_instance->eventsTypesGet();
};
if ($@) {
    warn "Exception when calling EventsApi->eventsTypesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.EventsApi()

try: 
    # Get list of events types
    api_instance.events_types_get()
except ApiException as e:
    print("Exception when calling EventsApi->eventsTypesGet: %s\n" % e)

Parameters

Responses

Status: 200 - List event types


ExchangeRates

exchangeRatesGet

Get BTC-to-Currency exchange rates

Get BTC-to-Currency exchange rates


/exchange_rates

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/exchange_rates"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ExchangeRatesApi;

import java.io.File;
import java.util.*;

public class ExchangeRatesApiExample {

    public static void main(String[] args) {
        
        ExchangeRatesApi apiInstance = new ExchangeRatesApi();
        try {
            apiInstance.exchangeRatesGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangeRatesApi#exchangeRatesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ExchangeRatesApi;

public class ExchangeRatesApiExample {

    public static void main(String[] args) {
        ExchangeRatesApi apiInstance = new ExchangeRatesApi();
        try {
            apiInstance.exchangeRatesGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangeRatesApi#exchangeRatesGet");
            e.printStackTrace();
        }
    }
}

ExchangeRatesApi *apiInstance = [[ExchangeRatesApi alloc] init];

// Get BTC-to-Currency exchange rates
[apiInstance exchangeRatesGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.ExchangeRatesApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.exchangeRatesGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class exchangeRatesGetExample
    {
        public void main()
        {
            
            var apiInstance = new ExchangeRatesApi();

            try
            {
                // Get BTC-to-Currency exchange rates
                apiInstance.exchangeRatesGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ExchangeRatesApi.exchangeRatesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ExchangeRatesApi();

try {
    $api_instance->exchangeRatesGet();
} catch (Exception $e) {
    echo 'Exception when calling ExchangeRatesApi->exchangeRatesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ExchangeRatesApi;

my $api_instance = WWW::SwaggerClient::ExchangeRatesApi->new();

eval { 
    $api_instance->exchangeRatesGet();
};
if ($@) {
    warn "Exception when calling ExchangeRatesApi->exchangeRatesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ExchangeRatesApi()

try: 
    # Get BTC-to-Currency exchange rates
    api_instance.exchange_rates_get()
except ApiException as e:
    print("Exception when calling ExchangeRatesApi->exchangeRatesGet: %s\n" % e)

Parameters

Responses

Status: 200 - List rates


ExchangesBeta

exchangesGet

List all exchanges

List all exchanges


/exchanges

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/exchanges?per_page=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ExchangesBetaApi;

import java.io.File;
import java.util.*;

public class ExchangesBetaApiExample {

    public static void main(String[] args) {
        
        ExchangesBetaApi apiInstance = new ExchangesBetaApi();
        Integer perPage = 56; // Integer | Valid values: 1...250
Total results per page
Default value:: 100
        String page = page_example; // String | page through results
        try {
            apiInstance.exchangesGet(perPage, page);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangesBetaApi#exchangesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ExchangesBetaApi;

public class ExchangesBetaApiExample {

    public static void main(String[] args) {
        ExchangesBetaApi apiInstance = new ExchangesBetaApi();
        Integer perPage = 56; // Integer | Valid values: 1...250
Total results per page
Default value:: 100
        String page = page_example; // String | page through results
        try {
            apiInstance.exchangesGet(perPage, page);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangesBetaApi#exchangesGet");
            e.printStackTrace();
        }
    }
}
Integer *perPage = 56; // Valid values: 1...250
Total results per page
Default value:: 100 (optional)
String *page = page_example; // page through results (optional)

ExchangesBetaApi *apiInstance = [[ExchangesBetaApi alloc] init];

// List all exchanges
[apiInstance exchangesGetWith:perPage
    page:page
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.ExchangesBetaApi()

var opts = { 
  'perPage': 56, // {Integer} Valid values: 1...250
Total results per page
Default value:: 100
  'page': page_example // {String} page through results
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.exchangesGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class exchangesGetExample
    {
        public void main()
        {
            
            var apiInstance = new ExchangesBetaApi();
            var perPage = 56;  // Integer | Valid values: 1...250
Total results per page
Default value:: 100 (optional) 
            var page = page_example;  // String | page through results (optional) 

            try
            {
                // List all exchanges
                apiInstance.exchangesGet(perPage, page);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ExchangesBetaApi.exchangesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ExchangesBetaApi();
$perPage = 56; // Integer | Valid values: 1...250
Total results per page
Default value:: 100
$page = page_example; // String | page through results

try {
    $api_instance->exchangesGet($perPage, $page);
} catch (Exception $e) {
    echo 'Exception when calling ExchangesBetaApi->exchangesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ExchangesBetaApi;

my $api_instance = WWW::SwaggerClient::ExchangesBetaApi->new();
my $perPage = 56; # Integer | Valid values: 1...250
Total results per page
Default value:: 100
my $page = page_example; # String | page through results

eval { 
    $api_instance->exchangesGet(perPage => $perPage, page => $page);
};
if ($@) {
    warn "Exception when calling ExchangesBetaApi->exchangesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ExchangesBetaApi()
perPage = 56 # Integer | Valid values: 1...250
Total results per page
Default value:: 100 (optional)
page = page_example # String | page through results (optional)

try: 
    # List all exchanges
    api_instance.exchanges_get(perPage=perPage, page=page)
except ApiException as e:
    print("Exception when calling ExchangesBetaApi->exchangesGet: %s\n" % e)

Parameters

Query parameters
Name Description
per_page
Integer
Valid values: 1...250 Total results per page Default value:: 100
page
String
page through results

Responses

Status: 200 - List all exchanges


exchangesIdGet

Get exchange volume in BTC and top 100 tickers only

Get exchange volume in BTC and tickers<br><br> **IMPORTANT**: Ticker object is limited to 100 items, to get more tickers, use `/exchanges/{id}/tickers` Ticker `is_stale` is true when ticker that has not been updated/unchanged from the exchange for a while. Ticker `is_anomaly` is true if ticker's price is outliered by our system. You are responsible for managing how you want to display these information (e.g. footnote, different background, change opacity, hide)


/exchanges/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/exchanges/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ExchangesBetaApi;

import java.io.File;
import java.util.*;

public class ExchangesBetaApiExample {

    public static void main(String[] args) {
        
        ExchangesBetaApi apiInstance = new ExchangesBetaApi();
        String id = id_example; // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
        try {
            apiInstance.exchangesIdGet(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangesBetaApi#exchangesIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ExchangesBetaApi;

public class ExchangesBetaApiExample {

    public static void main(String[] args) {
        ExchangesBetaApi apiInstance = new ExchangesBetaApi();
        String id = id_example; // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
        try {
            apiInstance.exchangesIdGet(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangesBetaApi#exchangesIdGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // pass the exchange id (can be obtained from /exchanges/list) eg. binance

ExchangesBetaApi *apiInstance = [[ExchangesBetaApi alloc] init];

// Get exchange volume in BTC and top 100 tickers only
[apiInstance exchangesIdGetWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.ExchangesBetaApi()

var id = id_example; // {String} pass the exchange id (can be obtained from /exchanges/list) eg. binance


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.exchangesIdGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class exchangesIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new ExchangesBetaApi();
            var id = id_example;  // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance

            try
            {
                // Get exchange volume in BTC and top 100 tickers only
                apiInstance.exchangesIdGet(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ExchangesBetaApi.exchangesIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ExchangesBetaApi();
$id = id_example; // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance

try {
    $api_instance->exchangesIdGet($id);
} catch (Exception $e) {
    echo 'Exception when calling ExchangesBetaApi->exchangesIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ExchangesBetaApi;

my $api_instance = WWW::SwaggerClient::ExchangesBetaApi->new();
my $id = id_example; # String | pass the exchange id (can be obtained from /exchanges/list) eg. binance

eval { 
    $api_instance->exchangesIdGet(id => $id);
};
if ($@) {
    warn "Exception when calling ExchangesBetaApi->exchangesIdGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ExchangesBetaApi()
id = id_example # String | pass the exchange id (can be obtained from /exchanges/list) eg. binance

try: 
    # Get exchange volume in BTC and top 100 tickers only
    api_instance.exchanges_id_get(id)
except ApiException as e:
    print("Exception when calling ExchangesBetaApi->exchangesIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
pass the exchange id (can be obtained from /exchanges/list) eg. binance
Required

Responses

Status: 200 - Get exchange volume in BTC and top 100 tickers


exchangesIdStatusUpdatesGet

Get status updates for a given exchange (beta)

Get status updates for a given exchange


/exchanges/{id}/status_updates

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/exchanges/{id}/status_updates?per_page=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ExchangesBetaApi;

import java.io.File;
import java.util.*;

public class ExchangesBetaApiExample {

    public static void main(String[] args) {
        
        ExchangesBetaApi apiInstance = new ExchangesBetaApi();
        String id = id_example; // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
        Integer perPage = 56; // Integer | Total results per page
        Integer page = 56; // Integer | Page through results
        try {
            apiInstance.exchangesIdStatusUpdatesGet(id, perPage, page);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangesBetaApi#exchangesIdStatusUpdatesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ExchangesBetaApi;

public class ExchangesBetaApiExample {

    public static void main(String[] args) {
        ExchangesBetaApi apiInstance = new ExchangesBetaApi();
        String id = id_example; // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
        Integer perPage = 56; // Integer | Total results per page
        Integer page = 56; // Integer | Page through results
        try {
            apiInstance.exchangesIdStatusUpdatesGet(id, perPage, page);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangesBetaApi#exchangesIdStatusUpdatesGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // pass the exchange id (can be obtained from /exchanges/list) eg. binance
Integer *perPage = 56; // Total results per page (optional)
Integer *page = 56; // Page through results (optional)

ExchangesBetaApi *apiInstance = [[ExchangesBetaApi alloc] init];

// Get status updates for a given exchange (beta)
[apiInstance exchangesIdStatusUpdatesGetWith:id
    perPage:perPage
    page:page
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.ExchangesBetaApi()

var id = id_example; // {String} pass the exchange id (can be obtained from /exchanges/list) eg. binance

var opts = { 
  'perPage': 56, // {Integer} Total results per page
  'page': 56 // {Integer} Page through results
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.exchangesIdStatusUpdatesGet(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class exchangesIdStatusUpdatesGetExample
    {
        public void main()
        {
            
            var apiInstance = new ExchangesBetaApi();
            var id = id_example;  // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
            var perPage = 56;  // Integer | Total results per page (optional) 
            var page = 56;  // Integer | Page through results (optional) 

            try
            {
                // Get status updates for a given exchange (beta)
                apiInstance.exchangesIdStatusUpdatesGet(id, perPage, page);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ExchangesBetaApi.exchangesIdStatusUpdatesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ExchangesBetaApi();
$id = id_example; // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
$perPage = 56; // Integer | Total results per page
$page = 56; // Integer | Page through results

try {
    $api_instance->exchangesIdStatusUpdatesGet($id, $perPage, $page);
} catch (Exception $e) {
    echo 'Exception when calling ExchangesBetaApi->exchangesIdStatusUpdatesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ExchangesBetaApi;

my $api_instance = WWW::SwaggerClient::ExchangesBetaApi->new();
my $id = id_example; # String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
my $perPage = 56; # Integer | Total results per page
my $page = 56; # Integer | Page through results

eval { 
    $api_instance->exchangesIdStatusUpdatesGet(id => $id, perPage => $perPage, page => $page);
};
if ($@) {
    warn "Exception when calling ExchangesBetaApi->exchangesIdStatusUpdatesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ExchangesBetaApi()
id = id_example # String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
perPage = 56 # Integer | Total results per page (optional)
page = 56 # Integer | Page through results (optional)

try: 
    # Get status updates for a given exchange (beta)
    api_instance.exchanges_id_status_updates_get(id, perPage=perPage, page=page)
except ApiException as e:
    print("Exception when calling ExchangesBetaApi->exchangesIdStatusUpdatesGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
pass the exchange id (can be obtained from /exchanges/list) eg. binance
Required
Query parameters
Name Description
per_page
Integer
Total results per page
page
Integer
Page through results

Responses

Status: 200 - Get paginated status updates for a given coin


exchangesIdTickersGet

Get exchange tickers (paginated, 100 tickers per page)

Get exchange tickers (paginated)<br><br> **IMPORTANT**: Ticker `is_stale` is true when ticker that has not been updated/unchanged from the exchange for a while. Ticker `is_anomaly` is true if ticker's price is outliered by our system. You are responsible for managing how you want to display these information (e.g. footnote, different background, change opacity, hide)


/exchanges/{id}/tickers

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/exchanges/{id}/tickers?coin_ids=&include_exchange_logo=&page=&order="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ExchangesBetaApi;

import java.io.File;
import java.util.*;

public class ExchangesBetaApiExample {

    public static void main(String[] args) {
        
        ExchangesBetaApi apiInstance = new ExchangesBetaApi();
        String id = id_example; // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
        String coinIds = coinIds_example; // String | filter tickers by coin_ids (ref: v3/coins/list)
        String includeExchangeLogo = includeExchangeLogo_example; // String | flag to show exchange_logo
        Integer page = 56; // Integer | Page through results
        String order = order_example; // String | valid values: trust_score_desc (default), trust_score_asc and volume_desc
        try {
            apiInstance.exchangesIdTickersGet(id, coinIds, includeExchangeLogo, page, order);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangesBetaApi#exchangesIdTickersGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ExchangesBetaApi;

public class ExchangesBetaApiExample {

    public static void main(String[] args) {
        ExchangesBetaApi apiInstance = new ExchangesBetaApi();
        String id = id_example; // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
        String coinIds = coinIds_example; // String | filter tickers by coin_ids (ref: v3/coins/list)
        String includeExchangeLogo = includeExchangeLogo_example; // String | flag to show exchange_logo
        Integer page = 56; // Integer | Page through results
        String order = order_example; // String | valid values: trust_score_desc (default), trust_score_asc and volume_desc
        try {
            apiInstance.exchangesIdTickersGet(id, coinIds, includeExchangeLogo, page, order);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangesBetaApi#exchangesIdTickersGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // pass the exchange id (can be obtained from /exchanges/list) eg. binance
String *coinIds = coinIds_example; // filter tickers by coin_ids (ref: v3/coins/list) (optional)
String *includeExchangeLogo = includeExchangeLogo_example; // flag to show exchange_logo (optional)
Integer *page = 56; // Page through results (optional)
String *order = order_example; // valid values: trust_score_desc (default), trust_score_asc and volume_desc (optional)

ExchangesBetaApi *apiInstance = [[ExchangesBetaApi alloc] init];

// Get exchange tickers (paginated, 100 tickers per page)
[apiInstance exchangesIdTickersGetWith:id
    coinIds:coinIds
    includeExchangeLogo:includeExchangeLogo
    page:page
    order:order
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.ExchangesBetaApi()

var id = id_example; // {String} pass the exchange id (can be obtained from /exchanges/list) eg. binance

var opts = { 
  'coinIds': coinIds_example, // {String} filter tickers by coin_ids (ref: v3/coins/list)
  'includeExchangeLogo': includeExchangeLogo_example, // {String} flag to show exchange_logo
  'page': 56, // {Integer} Page through results
  'order': order_example // {String} valid values: trust_score_desc (default), trust_score_asc and volume_desc
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.exchangesIdTickersGet(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class exchangesIdTickersGetExample
    {
        public void main()
        {
            
            var apiInstance = new ExchangesBetaApi();
            var id = id_example;  // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
            var coinIds = coinIds_example;  // String | filter tickers by coin_ids (ref: v3/coins/list) (optional) 
            var includeExchangeLogo = includeExchangeLogo_example;  // String | flag to show exchange_logo (optional) 
            var page = 56;  // Integer | Page through results (optional) 
            var order = order_example;  // String | valid values: trust_score_desc (default), trust_score_asc and volume_desc (optional) 

            try
            {
                // Get exchange tickers (paginated, 100 tickers per page)
                apiInstance.exchangesIdTickersGet(id, coinIds, includeExchangeLogo, page, order);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ExchangesBetaApi.exchangesIdTickersGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ExchangesBetaApi();
$id = id_example; // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
$coinIds = coinIds_example; // String | filter tickers by coin_ids (ref: v3/coins/list)
$includeExchangeLogo = includeExchangeLogo_example; // String | flag to show exchange_logo
$page = 56; // Integer | Page through results
$order = order_example; // String | valid values: trust_score_desc (default), trust_score_asc and volume_desc

try {
    $api_instance->exchangesIdTickersGet($id, $coinIds, $includeExchangeLogo, $page, $order);
} catch (Exception $e) {
    echo 'Exception when calling ExchangesBetaApi->exchangesIdTickersGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ExchangesBetaApi;

my $api_instance = WWW::SwaggerClient::ExchangesBetaApi->new();
my $id = id_example; # String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
my $coinIds = coinIds_example; # String | filter tickers by coin_ids (ref: v3/coins/list)
my $includeExchangeLogo = includeExchangeLogo_example; # String | flag to show exchange_logo
my $page = 56; # Integer | Page through results
my $order = order_example; # String | valid values: trust_score_desc (default), trust_score_asc and volume_desc

eval { 
    $api_instance->exchangesIdTickersGet(id => $id, coinIds => $coinIds, includeExchangeLogo => $includeExchangeLogo, page => $page, order => $order);
};
if ($@) {
    warn "Exception when calling ExchangesBetaApi->exchangesIdTickersGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ExchangesBetaApi()
id = id_example # String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
coinIds = coinIds_example # String | filter tickers by coin_ids (ref: v3/coins/list) (optional)
includeExchangeLogo = includeExchangeLogo_example # String | flag to show exchange_logo (optional)
page = 56 # Integer | Page through results (optional)
order = order_example # String | valid values: trust_score_desc (default), trust_score_asc and volume_desc (optional)

try: 
    # Get exchange tickers (paginated, 100 tickers per page)
    api_instance.exchanges_id_tickers_get(id, coinIds=coinIds, includeExchangeLogo=includeExchangeLogo, page=page, order=order)
except ApiException as e:
    print("Exception when calling ExchangesBetaApi->exchangesIdTickersGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
pass the exchange id (can be obtained from /exchanges/list) eg. binance
Required
Query parameters
Name Description
coin_ids
String
filter tickers by coin_ids (ref: v3/coins/list)
include_exchange_logo
page
Integer
Page through results
order
String
valid values: <b>trust_score_desc (default), trust_score_asc and volume_desc</b>

Responses

Status: 200 - Get exchange tickers


exchangesIdVolumeChartGet

Get volume_chart data for a given exchange (beta)

Get volume_chart data for a given exchange


/exchanges/{id}/volume_chart

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/exchanges/{id}/volume_chart?days="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ExchangesBetaApi;

import java.io.File;
import java.util.*;

public class ExchangesBetaApiExample {

    public static void main(String[] args) {
        
        ExchangesBetaApi apiInstance = new ExchangesBetaApi();
        String id = id_example; // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
        Integer days = 56; // Integer |  Data up to number of days ago (eg. 1,14,30)
        try {
            apiInstance.exchangesIdVolumeChartGet(id, days);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangesBetaApi#exchangesIdVolumeChartGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ExchangesBetaApi;

public class ExchangesBetaApiExample {

    public static void main(String[] args) {
        ExchangesBetaApi apiInstance = new ExchangesBetaApi();
        String id = id_example; // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
        Integer days = 56; // Integer |  Data up to number of days ago (eg. 1,14,30)
        try {
            apiInstance.exchangesIdVolumeChartGet(id, days);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangesBetaApi#exchangesIdVolumeChartGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // pass the exchange id (can be obtained from /exchanges/list) eg. binance
Integer *days = 56; //  Data up to number of days ago (eg. 1,14,30)

ExchangesBetaApi *apiInstance = [[ExchangesBetaApi alloc] init];

// Get volume_chart data for a given exchange (beta)
[apiInstance exchangesIdVolumeChartGetWith:id
    days:days
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.ExchangesBetaApi()

var id = id_example; // {String} pass the exchange id (can be obtained from /exchanges/list) eg. binance

var days = 56; // {Integer}  Data up to number of days ago (eg. 1,14,30)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.exchangesIdVolumeChartGet(id, days, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class exchangesIdVolumeChartGetExample
    {
        public void main()
        {
            
            var apiInstance = new ExchangesBetaApi();
            var id = id_example;  // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
            var days = 56;  // Integer |  Data up to number of days ago (eg. 1,14,30)

            try
            {
                // Get volume_chart data for a given exchange (beta)
                apiInstance.exchangesIdVolumeChartGet(id, days);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ExchangesBetaApi.exchangesIdVolumeChartGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ExchangesBetaApi();
$id = id_example; // String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
$days = 56; // Integer |  Data up to number of days ago (eg. 1,14,30)

try {
    $api_instance->exchangesIdVolumeChartGet($id, $days);
} catch (Exception $e) {
    echo 'Exception when calling ExchangesBetaApi->exchangesIdVolumeChartGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ExchangesBetaApi;

my $api_instance = WWW::SwaggerClient::ExchangesBetaApi->new();
my $id = id_example; # String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
my $days = 56; # Integer |  Data up to number of days ago (eg. 1,14,30)

eval { 
    $api_instance->exchangesIdVolumeChartGet(id => $id, days => $days);
};
if ($@) {
    warn "Exception when calling ExchangesBetaApi->exchangesIdVolumeChartGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ExchangesBetaApi()
id = id_example # String | pass the exchange id (can be obtained from /exchanges/list) eg. binance
days = 56 # Integer |  Data up to number of days ago (eg. 1,14,30)

try: 
    # Get volume_chart data for a given exchange (beta)
    api_instance.exchanges_id_volume_chart_get(id, days)
except ApiException as e:
    print("Exception when calling ExchangesBetaApi->exchangesIdVolumeChartGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
pass the exchange id (can be obtained from /exchanges/list) eg. binance
Required
Query parameters
Name Description
days*
Integer
Data up to number of days ago (eg. 1,14,30)
Required

Responses

Status: 200 - Get exchange volume_chart data


exchangesListGet

List all supported markets id and name (no pagination required)

Use this to obtain all the markets' id in order to make API calls


/exchanges/list

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/exchanges/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ExchangesBetaApi;

import java.io.File;
import java.util.*;

public class ExchangesBetaApiExample {

    public static void main(String[] args) {
        
        ExchangesBetaApi apiInstance = new ExchangesBetaApi();
        try {
            apiInstance.exchangesListGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangesBetaApi#exchangesListGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ExchangesBetaApi;

public class ExchangesBetaApiExample {

    public static void main(String[] args) {
        ExchangesBetaApi apiInstance = new ExchangesBetaApi();
        try {
            apiInstance.exchangesListGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling ExchangesBetaApi#exchangesListGet");
            e.printStackTrace();
        }
    }
}

ExchangesBetaApi *apiInstance = [[ExchangesBetaApi alloc] init];

// List all supported markets id and name (no pagination required)
[apiInstance exchangesListGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.ExchangesBetaApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.exchangesListGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class exchangesListGetExample
    {
        public void main()
        {
            
            var apiInstance = new ExchangesBetaApi();

            try
            {
                // List all supported markets id and name (no pagination required)
                apiInstance.exchangesListGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ExchangesBetaApi.exchangesListGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ExchangesBetaApi();

try {
    $api_instance->exchangesListGet();
} catch (Exception $e) {
    echo 'Exception when calling ExchangesBetaApi->exchangesListGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ExchangesBetaApi;

my $api_instance = WWW::SwaggerClient::ExchangesBetaApi->new();

eval { 
    $api_instance->exchangesListGet();
};
if ($@) {
    warn "Exception when calling ExchangesBetaApi->exchangesListGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ExchangesBetaApi()

try: 
    # List all supported markets id and name (no pagination required)
    api_instance.exchanges_list_get()
except ApiException as e:
    print("Exception when calling ExchangesBetaApi->exchangesListGet: %s\n" % e)

Parameters

Responses

Status: 200 - List all coins with id and name


FinanceBeta

financePlatformsPageGet

List all finance platforms

List all finance platforms


/finance_platforms/{page}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/finance_platforms/{page}?per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FinanceBetaApi;

import java.io.File;
import java.util.*;

public class FinanceBetaApiExample {

    public static void main(String[] args) {
        
        FinanceBetaApi apiInstance = new FinanceBetaApi();
        String page = page_example; // String | page of results (paginated to 100 by default)
        Integer perPage = 56; // Integer | Total results per page
        try {
            apiInstance.financePlatformsPageGet(page, perPage);
        } catch (ApiException e) {
            System.err.println("Exception when calling FinanceBetaApi#financePlatformsPageGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FinanceBetaApi;

public class FinanceBetaApiExample {

    public static void main(String[] args) {
        FinanceBetaApi apiInstance = new FinanceBetaApi();
        String page = page_example; // String | page of results (paginated to 100 by default)
        Integer perPage = 56; // Integer | Total results per page
        try {
            apiInstance.financePlatformsPageGet(page, perPage);
        } catch (ApiException e) {
            System.err.println("Exception when calling FinanceBetaApi#financePlatformsPageGet");
            e.printStackTrace();
        }
    }
}
String *page = page_example; // page of results (paginated to 100 by default)
Integer *perPage = 56; // Total results per page (optional)

FinanceBetaApi *apiInstance = [[FinanceBetaApi alloc] init];

// List all finance platforms
[apiInstance financePlatformsPageGetWith:page
    perPage:perPage
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.FinanceBetaApi()

var page = page_example; // {String} page of results (paginated to 100 by default)

var opts = { 
  'perPage': 56 // {Integer} Total results per page
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.financePlatformsPageGet(page, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class financePlatformsPageGetExample
    {
        public void main()
        {
            
            var apiInstance = new FinanceBetaApi();
            var page = page_example;  // String | page of results (paginated to 100 by default)
            var perPage = 56;  // Integer | Total results per page (optional) 

            try
            {
                // List all finance platforms
                apiInstance.financePlatformsPageGet(page, perPage);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FinanceBetaApi.financePlatformsPageGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FinanceBetaApi();
$page = page_example; // String | page of results (paginated to 100 by default)
$perPage = 56; // Integer | Total results per page

try {
    $api_instance->financePlatformsPageGet($page, $perPage);
} catch (Exception $e) {
    echo 'Exception when calling FinanceBetaApi->financePlatformsPageGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::FinanceBetaApi;

my $api_instance = WWW::SwaggerClient::FinanceBetaApi->new();
my $page = page_example; # String | page of results (paginated to 100 by default)
my $perPage = 56; # Integer | Total results per page

eval { 
    $api_instance->financePlatformsPageGet(page => $page, perPage => $perPage);
};
if ($@) {
    warn "Exception when calling FinanceBetaApi->financePlatformsPageGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.FinanceBetaApi()
page = page_example # String | page of results (paginated to 100 by default)
perPage = 56 # Integer | Total results per page (optional)

try: 
    # List all finance platforms
    api_instance.finance_platforms_page_get(page, perPage=perPage)
except ApiException as e:
    print("Exception when calling FinanceBetaApi->financePlatformsPageGet: %s\n" % e)

Parameters

Path parameters
Name Description
page*
String
page of results (paginated to 100 by default)
Required
Query parameters
Name Description
per_page
Integer
Total results per page

Responses

Status: 200 - List all finance platforms


financeProductsPageStartAtEndAtGet

List all finance products

List all finance products


/finance_products/{page}/{start_at}/{end_at}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/finance_products/{page}/{start_at}/{end_at}?per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FinanceBetaApi;

import java.io.File;
import java.util.*;

public class FinanceBetaApiExample {

    public static void main(String[] args) {
        
        FinanceBetaApi apiInstance = new FinanceBetaApi();
        String page = page_example; // String | page of results (paginated to 100 by default)
        String startAt = startAt_example; // String | start date of the financial products
        String endAt = endAt_example; // String | end date of the financial products
        Integer perPage = 56; // Integer | Total results per page
        try {
            apiInstance.financeProductsPageStartAtEndAtGet(page, startAt, endAt, perPage);
        } catch (ApiException e) {
            System.err.println("Exception when calling FinanceBetaApi#financeProductsPageStartAtEndAtGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FinanceBetaApi;

public class FinanceBetaApiExample {

    public static void main(String[] args) {
        FinanceBetaApi apiInstance = new FinanceBetaApi();
        String page = page_example; // String | page of results (paginated to 100 by default)
        String startAt = startAt_example; // String | start date of the financial products
        String endAt = endAt_example; // String | end date of the financial products
        Integer perPage = 56; // Integer | Total results per page
        try {
            apiInstance.financeProductsPageStartAtEndAtGet(page, startAt, endAt, perPage);
        } catch (ApiException e) {
            System.err.println("Exception when calling FinanceBetaApi#financeProductsPageStartAtEndAtGet");
            e.printStackTrace();
        }
    }
}
String *page = page_example; // page of results (paginated to 100 by default)
String *startAt = startAt_example; // start date of the financial products
String *endAt = endAt_example; // end date of the financial products
Integer *perPage = 56; // Total results per page (optional)

FinanceBetaApi *apiInstance = [[FinanceBetaApi alloc] init];

// List all finance products
[apiInstance financeProductsPageStartAtEndAtGetWith:page
    startAt:startAt
    endAt:endAt
    perPage:perPage
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.FinanceBetaApi()

var page = page_example; // {String} page of results (paginated to 100 by default)

var startAt = startAt_example; // {String} start date of the financial products

var endAt = endAt_example; // {String} end date of the financial products

var opts = { 
  'perPage': 56 // {Integer} Total results per page
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.financeProductsPageStartAtEndAtGet(page, startAt, endAt, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class financeProductsPageStartAtEndAtGetExample
    {
        public void main()
        {
            
            var apiInstance = new FinanceBetaApi();
            var page = page_example;  // String | page of results (paginated to 100 by default)
            var startAt = startAt_example;  // String | start date of the financial products
            var endAt = endAt_example;  // String | end date of the financial products
            var perPage = 56;  // Integer | Total results per page (optional) 

            try
            {
                // List all finance products
                apiInstance.financeProductsPageStartAtEndAtGet(page, startAt, endAt, perPage);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FinanceBetaApi.financeProductsPageStartAtEndAtGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FinanceBetaApi();
$page = page_example; // String | page of results (paginated to 100 by default)
$startAt = startAt_example; // String | start date of the financial products
$endAt = endAt_example; // String | end date of the financial products
$perPage = 56; // Integer | Total results per page

try {
    $api_instance->financeProductsPageStartAtEndAtGet($page, $startAt, $endAt, $perPage);
} catch (Exception $e) {
    echo 'Exception when calling FinanceBetaApi->financeProductsPageStartAtEndAtGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::FinanceBetaApi;

my $api_instance = WWW::SwaggerClient::FinanceBetaApi->new();
my $page = page_example; # String | page of results (paginated to 100 by default)
my $startAt = startAt_example; # String | start date of the financial products
my $endAt = endAt_example; # String | end date of the financial products
my $perPage = 56; # Integer | Total results per page

eval { 
    $api_instance->financeProductsPageStartAtEndAtGet(page => $page, startAt => $startAt, endAt => $endAt, perPage => $perPage);
};
if ($@) {
    warn "Exception when calling FinanceBetaApi->financeProductsPageStartAtEndAtGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.FinanceBetaApi()
page = page_example # String | page of results (paginated to 100 by default)
startAt = startAt_example # String | start date of the financial products
endAt = endAt_example # String | end date of the financial products
perPage = 56 # Integer | Total results per page (optional)

try: 
    # List all finance products
    api_instance.finance_products_page_start_at_end_at_get(page, startAt, endAt, perPage=perPage)
except ApiException as e:
    print("Exception when calling FinanceBetaApi->financeProductsPageStartAtEndAtGet: %s\n" % e)

Parameters

Path parameters
Name Description
page*
String
page of results (paginated to 100 by default)
Required
start_at*
String
start date of the financial products
Required
end_at*
String
end date of the financial products
Required
Query parameters
Name Description
per_page
Integer
Total results per page

Responses

Status: 200 - List all finance products


Global

globalDecentralizedFinanceDefiGet

Get cryptocurrency global decentralized finance(defi) data

Get Top 100 Cryptocurrency Global Eecentralized Finance(defi) data


/global/decentralized_finance_defi

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/global/decentralized_finance_defi"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GlobalApi;

import java.io.File;
import java.util.*;

public class GlobalApiExample {

    public static void main(String[] args) {
        
        GlobalApi apiInstance = new GlobalApi();
        try {
            apiInstance.globalDecentralizedFinanceDefiGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling GlobalApi#globalDecentralizedFinanceDefiGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GlobalApi;

public class GlobalApiExample {

    public static void main(String[] args) {
        GlobalApi apiInstance = new GlobalApi();
        try {
            apiInstance.globalDecentralizedFinanceDefiGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling GlobalApi#globalDecentralizedFinanceDefiGet");
            e.printStackTrace();
        }
    }
}

GlobalApi *apiInstance = [[GlobalApi alloc] init];

// Get cryptocurrency global decentralized finance(defi) data
[apiInstance globalDecentralizedFinanceDefiGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.GlobalApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.globalDecentralizedFinanceDefiGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class globalDecentralizedFinanceDefiGetExample
    {
        public void main()
        {
            
            var apiInstance = new GlobalApi();

            try
            {
                // Get cryptocurrency global decentralized finance(defi) data
                apiInstance.globalDecentralizedFinanceDefiGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GlobalApi.globalDecentralizedFinanceDefiGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GlobalApi();

try {
    $api_instance->globalDecentralizedFinanceDefiGet();
} catch (Exception $e) {
    echo 'Exception when calling GlobalApi->globalDecentralizedFinanceDefiGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GlobalApi;

my $api_instance = WWW::SwaggerClient::GlobalApi->new();

eval { 
    $api_instance->globalDecentralizedFinanceDefiGet();
};
if ($@) {
    warn "Exception when calling GlobalApi->globalDecentralizedFinanceDefiGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.GlobalApi()

try: 
    # Get cryptocurrency global decentralized finance(defi) data
    api_instance.global_decentralized_finance_defi_get()
except ApiException as e:
    print("Exception when calling GlobalApi->globalDecentralizedFinanceDefiGet: %s\n" % e)

Parameters

Responses

Status: defi_market_cap - Defi Market Capitalization in USD

Status: eth_market_cap - Ethereum Market Capitalization in USD

Status: defi_to_eth_ratio - defi_market_cap to eth_market_cap ratio

Status: trading_volume_24h - defi trading volume in 24h in USD

Status: defi_dominance - defi_market_cap to total_market_cap ratio

Status: top_coin_name - defi coin with largest market_cap

Status: top_coin_dominance - top defi coin market dominance


globalGet

Get cryptocurrency global data

Get cryptocurrency global data


/global

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/global"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GlobalApi;

import java.io.File;
import java.util.*;

public class GlobalApiExample {

    public static void main(String[] args) {
        
        GlobalApi apiInstance = new GlobalApi();
        try {
            apiInstance.globalGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling GlobalApi#globalGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GlobalApi;

public class GlobalApiExample {

    public static void main(String[] args) {
        GlobalApi apiInstance = new GlobalApi();
        try {
            apiInstance.globalGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling GlobalApi#globalGet");
            e.printStackTrace();
        }
    }
}

GlobalApi *apiInstance = [[GlobalApi alloc] init];

// Get cryptocurrency global data
[apiInstance globalGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.GlobalApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.globalGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class globalGetExample
    {
        public void main()
        {
            
            var apiInstance = new GlobalApi();

            try
            {
                // Get cryptocurrency global data
                apiInstance.globalGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GlobalApi.globalGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GlobalApi();

try {
    $api_instance->globalGet();
} catch (Exception $e) {
    echo 'Exception when calling GlobalApi->globalGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GlobalApi;

my $api_instance = WWW::SwaggerClient::GlobalApi->new();

eval { 
    $api_instance->globalGet();
};
if ($@) {
    warn "Exception when calling GlobalApi->globalGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.GlobalApi()

try: 
    # Get cryptocurrency global data
    api_instance.global_get()
except ApiException as e:
    print("Exception when calling GlobalApi->globalGet: %s\n" % e)

Parameters

Responses

Status: 200 - Get global data - total_volume, total_market_cap, ongoing icos etc


IndexesBeta

indexesGet

List all market indexes

List all market indexes


/indexes

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/indexes?per_page=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.IndexesBetaApi;

import java.io.File;
import java.util.*;

public class IndexesBetaApiExample {

    public static void main(String[] args) {
        
        IndexesBetaApi apiInstance = new IndexesBetaApi();
        Integer perPage = 56; // Integer | Total results per page
        Integer page = 56; // Integer | Page through results
        try {
            apiInstance.indexesGet(perPage, page);
        } catch (ApiException e) {
            System.err.println("Exception when calling IndexesBetaApi#indexesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.IndexesBetaApi;

public class IndexesBetaApiExample {

    public static void main(String[] args) {
        IndexesBetaApi apiInstance = new IndexesBetaApi();
        Integer perPage = 56; // Integer | Total results per page
        Integer page = 56; // Integer | Page through results
        try {
            apiInstance.indexesGet(perPage, page);
        } catch (ApiException e) {
            System.err.println("Exception when calling IndexesBetaApi#indexesGet");
            e.printStackTrace();
        }
    }
}
Integer *perPage = 56; // Total results per page (optional)
Integer *page = 56; // Page through results (optional)

IndexesBetaApi *apiInstance = [[IndexesBetaApi alloc] init];

// List all market indexes
[apiInstance indexesGetWith:perPage
    page:page
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.IndexesBetaApi()

var opts = { 
  'perPage': 56, // {Integer} Total results per page
  'page': 56 // {Integer} Page through results
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.indexesGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class indexesGetExample
    {
        public void main()
        {
            
            var apiInstance = new IndexesBetaApi();
            var perPage = 56;  // Integer | Total results per page (optional) 
            var page = 56;  // Integer | Page through results (optional) 

            try
            {
                // List all market indexes
                apiInstance.indexesGet(perPage, page);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling IndexesBetaApi.indexesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\IndexesBetaApi();
$perPage = 56; // Integer | Total results per page
$page = 56; // Integer | Page through results

try {
    $api_instance->indexesGet($perPage, $page);
} catch (Exception $e) {
    echo 'Exception when calling IndexesBetaApi->indexesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::IndexesBetaApi;

my $api_instance = WWW::SwaggerClient::IndexesBetaApi->new();
my $perPage = 56; # Integer | Total results per page
my $page = 56; # Integer | Page through results

eval { 
    $api_instance->indexesGet(perPage => $perPage, page => $page);
};
if ($@) {
    warn "Exception when calling IndexesBetaApi->indexesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.IndexesBetaApi()
perPage = 56 # Integer | Total results per page (optional)
page = 56 # Integer | Page through results (optional)

try: 
    # List all market indexes
    api_instance.indexes_get(perPage=perPage, page=page)
except ApiException as e:
    print("Exception when calling IndexesBetaApi->indexesGet: %s\n" % e)

Parameters

Query parameters
Name Description
per_page
Integer
Total results per page
page
Integer
Page through results

Responses

Status: 200 - List all market indexes


indexesIdGet

get market index by id

get market index by id


/indexes/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/indexes/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.IndexesBetaApi;

import java.io.File;
import java.util.*;

public class IndexesBetaApiExample {

    public static void main(String[] args) {
        
        IndexesBetaApi apiInstance = new IndexesBetaApi();
        String id = id_example; // String | pass the index id (can be obtained from /indexes/list)
        try {
            apiInstance.indexesIdGet(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling IndexesBetaApi#indexesIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.IndexesBetaApi;

public class IndexesBetaApiExample {

    public static void main(String[] args) {
        IndexesBetaApi apiInstance = new IndexesBetaApi();
        String id = id_example; // String | pass the index id (can be obtained from /indexes/list)
        try {
            apiInstance.indexesIdGet(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling IndexesBetaApi#indexesIdGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // pass the index id (can be obtained from /indexes/list)

IndexesBetaApi *apiInstance = [[IndexesBetaApi alloc] init];

// get market index by id
[apiInstance indexesIdGetWith:id
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.IndexesBetaApi()

var id = id_example; // {String} pass the index id (can be obtained from /indexes/list)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.indexesIdGet(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class indexesIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new IndexesBetaApi();
            var id = id_example;  // String | pass the index id (can be obtained from /indexes/list)

            try
            {
                // get market index by id
                apiInstance.indexesIdGet(id);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling IndexesBetaApi.indexesIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\IndexesBetaApi();
$id = id_example; // String | pass the index id (can be obtained from /indexes/list)

try {
    $api_instance->indexesIdGet($id);
} catch (Exception $e) {
    echo 'Exception when calling IndexesBetaApi->indexesIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::IndexesBetaApi;

my $api_instance = WWW::SwaggerClient::IndexesBetaApi->new();
my $id = id_example; # String | pass the index id (can be obtained from /indexes/list)

eval { 
    $api_instance->indexesIdGet(id => $id);
};
if ($@) {
    warn "Exception when calling IndexesBetaApi->indexesIdGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.IndexesBetaApi()
id = id_example # String | pass the index id (can be obtained from /indexes/list)

try: 
    # get market index by id
    api_instance.indexes_id_get(id)
except ApiException as e:
    print("Exception when calling IndexesBetaApi->indexesIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
pass the index id (can be obtained from /indexes/list)
Required

Responses

Status: 200 - get market index by id


indexesListGet

list market indexes id and name

list market indexes id and name


/indexes/list

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/indexes/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.IndexesBetaApi;

import java.io.File;
import java.util.*;

public class IndexesBetaApiExample {

    public static void main(String[] args) {
        
        IndexesBetaApi apiInstance = new IndexesBetaApi();
        try {
            apiInstance.indexesListGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling IndexesBetaApi#indexesListGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.IndexesBetaApi;

public class IndexesBetaApiExample {

    public static void main(String[] args) {
        IndexesBetaApi apiInstance = new IndexesBetaApi();
        try {
            apiInstance.indexesListGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling IndexesBetaApi#indexesListGet");
            e.printStackTrace();
        }
    }
}

IndexesBetaApi *apiInstance = [[IndexesBetaApi alloc] init];

// list market indexes id and name
[apiInstance indexesListGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.IndexesBetaApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.indexesListGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class indexesListGetExample
    {
        public void main()
        {
            
            var apiInstance = new IndexesBetaApi();

            try
            {
                // list market indexes id and name
                apiInstance.indexesListGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling IndexesBetaApi.indexesListGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\IndexesBetaApi();

try {
    $api_instance->indexesListGet();
} catch (Exception $e) {
    echo 'Exception when calling IndexesBetaApi->indexesListGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::IndexesBetaApi;

my $api_instance = WWW::SwaggerClient::IndexesBetaApi->new();

eval { 
    $api_instance->indexesListGet();
};
if ($@) {
    warn "Exception when calling IndexesBetaApi->indexesListGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.IndexesBetaApi()

try: 
    # list market indexes id and name
    api_instance.indexes_list_get()
except ApiException as e:
    print("Exception when calling IndexesBetaApi->indexesListGet: %s\n" % e)

Parameters

Responses

Status: 200 - list market indexes id and name


Ping

pingGet

Check API server status

Check API server status


/ping

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/ping"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PingApi;

import java.io.File;
import java.util.*;

public class PingApiExample {

    public static void main(String[] args) {
        
        PingApi apiInstance = new PingApi();
        try {
            apiInstance.pingGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling PingApi#pingGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PingApi;

public class PingApiExample {

    public static void main(String[] args) {
        PingApi apiInstance = new PingApi();
        try {
            apiInstance.pingGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling PingApi#pingGet");
            e.printStackTrace();
        }
    }
}

PingApi *apiInstance = [[PingApi alloc] init];

// Check API server status
[apiInstance pingGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.PingApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.pingGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pingGetExample
    {
        public void main()
        {
            
            var apiInstance = new PingApi();

            try
            {
                // Check API server status
                apiInstance.pingGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PingApi.pingGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PingApi();

try {
    $api_instance->pingGet();
} catch (Exception $e) {
    echo 'Exception when calling PingApi->pingGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PingApi;

my $api_instance = WWW::SwaggerClient::PingApi->new();

eval { 
    $api_instance->pingGet();
};
if ($@) {
    warn "Exception when calling PingApi->pingGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.PingApi()

try: 
    # Check API server status
    api_instance.ping_get()
except ApiException as e:
    print("Exception when calling PingApi->pingGet: %s\n" % e)

Parameters

Responses

Status: 200 - Status OK


Simple

simplePriceGet

Get the current price of any cryptocurrencies in any other supported currencies that you need.


/simple/price

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/simple/price?ids=&vs_currencies=&include_market_cap=&include_24hr_vol=&include_24hr_change=&include_last_updated_at="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SimpleApi;

import java.io.File;
import java.util.*;

public class SimpleApiExample {

    public static void main(String[] args) {
        
        SimpleApi apiInstance = new SimpleApi();
        String ids = ids_example; // String | id of coins, comma-separated if querying more than 1 coin
*refers to `coins/list`
        String vsCurrencies = vsCurrencies_example; // String | vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`
        String includeMarketCap = includeMarketCap_example; // String | true/false to include market_cap, default: false
        String include24hrVol = include24hrVol_example; // String | true/false to include 24hr_vol, default: false
        String include24hrChange = include24hrChange_example; // String | true/false to include 24hr_change, default: false
        String includeLastUpdatedAt = includeLastUpdatedAt_example; // String | true/false to include last_updated_at of price, default: false
        try {
            apiInstance.simplePriceGet(ids, vsCurrencies, includeMarketCap, include24hrVol, include24hrChange, includeLastUpdatedAt);
        } catch (ApiException e) {
            System.err.println("Exception when calling SimpleApi#simplePriceGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SimpleApi;

public class SimpleApiExample {

    public static void main(String[] args) {
        SimpleApi apiInstance = new SimpleApi();
        String ids = ids_example; // String | id of coins, comma-separated if querying more than 1 coin
*refers to `coins/list`
        String vsCurrencies = vsCurrencies_example; // String | vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`
        String includeMarketCap = includeMarketCap_example; // String | true/false to include market_cap, default: false
        String include24hrVol = include24hrVol_example; // String | true/false to include 24hr_vol, default: false
        String include24hrChange = include24hrChange_example; // String | true/false to include 24hr_change, default: false
        String includeLastUpdatedAt = includeLastUpdatedAt_example; // String | true/false to include last_updated_at of price, default: false
        try {
            apiInstance.simplePriceGet(ids, vsCurrencies, includeMarketCap, include24hrVol, include24hrChange, includeLastUpdatedAt);
        } catch (ApiException e) {
            System.err.println("Exception when calling SimpleApi#simplePriceGet");
            e.printStackTrace();
        }
    }
}
String *ids = ids_example; // id of coins, comma-separated if querying more than 1 coin
*refers to `coins/list`
String *vsCurrencies = vsCurrencies_example; // vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`
String *includeMarketCap = includeMarketCap_example; // true/false to include market_cap, default: false (optional)
String *include24hrVol = include24hrVol_example; // true/false to include 24hr_vol, default: false (optional)
String *include24hrChange = include24hrChange_example; // true/false to include 24hr_change, default: false (optional)
String *includeLastUpdatedAt = includeLastUpdatedAt_example; // true/false to include last_updated_at of price, default: false (optional)

SimpleApi *apiInstance = [[SimpleApi alloc] init];

// Get the current price of any cryptocurrencies in any other supported currencies that you need.
[apiInstance simplePriceGetWith:ids
    vsCurrencies:vsCurrencies
    includeMarketCap:includeMarketCap
    include24hrVol:include24hrVol
    include24hrChange:include24hrChange
    includeLastUpdatedAt:includeLastUpdatedAt
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.SimpleApi()

var ids = ids_example; // {String} id of coins, comma-separated if querying more than 1 coin
*refers to `coins/list`

var vsCurrencies = vsCurrencies_example; // {String} vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`

var opts = { 
  'includeMarketCap': includeMarketCap_example, // {String} true/false to include market_cap, default: false
  'include24hrVol': include24hrVol_example, // {String} true/false to include 24hr_vol, default: false
  'include24hrChange': include24hrChange_example, // {String} true/false to include 24hr_change, default: false
  'includeLastUpdatedAt': includeLastUpdatedAt_example // {String} true/false to include last_updated_at of price, default: false
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.simplePriceGet(ids, vsCurrencies, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class simplePriceGetExample
    {
        public void main()
        {
            
            var apiInstance = new SimpleApi();
            var ids = ids_example;  // String | id of coins, comma-separated if querying more than 1 coin
*refers to `coins/list`
            var vsCurrencies = vsCurrencies_example;  // String | vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`
            var includeMarketCap = includeMarketCap_example;  // String | true/false to include market_cap, default: false (optional) 
            var include24hrVol = include24hrVol_example;  // String | true/false to include 24hr_vol, default: false (optional) 
            var include24hrChange = include24hrChange_example;  // String | true/false to include 24hr_change, default: false (optional) 
            var includeLastUpdatedAt = includeLastUpdatedAt_example;  // String | true/false to include last_updated_at of price, default: false (optional) 

            try
            {
                // Get the current price of any cryptocurrencies in any other supported currencies that you need.
                apiInstance.simplePriceGet(ids, vsCurrencies, includeMarketCap, include24hrVol, include24hrChange, includeLastUpdatedAt);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SimpleApi.simplePriceGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SimpleApi();
$ids = ids_example; // String | id of coins, comma-separated if querying more than 1 coin
*refers to `coins/list`
$vsCurrencies = vsCurrencies_example; // String | vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`
$includeMarketCap = includeMarketCap_example; // String | true/false to include market_cap, default: false
$include24hrVol = include24hrVol_example; // String | true/false to include 24hr_vol, default: false
$include24hrChange = include24hrChange_example; // String | true/false to include 24hr_change, default: false
$includeLastUpdatedAt = includeLastUpdatedAt_example; // String | true/false to include last_updated_at of price, default: false

try {
    $api_instance->simplePriceGet($ids, $vsCurrencies, $includeMarketCap, $include24hrVol, $include24hrChange, $includeLastUpdatedAt);
} catch (Exception $e) {
    echo 'Exception when calling SimpleApi->simplePriceGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SimpleApi;

my $api_instance = WWW::SwaggerClient::SimpleApi->new();
my $ids = ids_example; # String | id of coins, comma-separated if querying more than 1 coin
*refers to `coins/list`
my $vsCurrencies = vsCurrencies_example; # String | vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`
my $includeMarketCap = includeMarketCap_example; # String | true/false to include market_cap, default: false
my $include24hrVol = include24hrVol_example; # String | true/false to include 24hr_vol, default: false
my $include24hrChange = include24hrChange_example; # String | true/false to include 24hr_change, default: false
my $includeLastUpdatedAt = includeLastUpdatedAt_example; # String | true/false to include last_updated_at of price, default: false

eval { 
    $api_instance->simplePriceGet(ids => $ids, vsCurrencies => $vsCurrencies, includeMarketCap => $includeMarketCap, include24hrVol => $include24hrVol, include24hrChange => $include24hrChange, includeLastUpdatedAt => $includeLastUpdatedAt);
};
if ($@) {
    warn "Exception when calling SimpleApi->simplePriceGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SimpleApi()
ids = ids_example # String | id of coins, comma-separated if querying more than 1 coin
*refers to `coins/list`
vsCurrencies = vsCurrencies_example # String | vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`
includeMarketCap = includeMarketCap_example # String | true/false to include market_cap, default: false (optional)
include24hrVol = include24hrVol_example # String | true/false to include 24hr_vol, default: false (optional)
include24hrChange = include24hrChange_example # String | true/false to include 24hr_change, default: false (optional)
includeLastUpdatedAt = includeLastUpdatedAt_example # String | true/false to include last_updated_at of price, default: false (optional)

try: 
    # Get the current price of any cryptocurrencies in any other supported currencies that you need.
    api_instance.simple_price_get(ids, vsCurrencies, includeMarketCap=includeMarketCap, include24hrVol=include24hrVol, include24hrChange=include24hrChange, includeLastUpdatedAt=includeLastUpdatedAt)
except ApiException as e:
    print("Exception when calling SimpleApi->simplePriceGet: %s\n" % e)

Parameters

Query parameters
Name Description
ids*
String
id of coins, comma-separated if querying more than 1 coin *refers to <b>`coins/list`</b>
Required
vs_currencies*
String
vs_currency of coins, comma-separated if querying more than 1 vs_currency *refers to <b>`simple/supported_vs_currencies`</b>
Required
include_market_cap
String
<b>true/false</b> to include market_cap, <b>default: false</b>
include_24hr_vol
String
<b>true/false</b> to include 24hr_vol, <b>default: false</b>
include_24hr_change
String
<b>true/false</b> to include 24hr_change, <b>default: false</b>
include_last_updated_at
String
<b>true/false</b> to include last_updated_at of price, <b>default: false</b>

Responses

Status: 200 - price(s) of cryptocurrency


simpleSupportedVsCurrenciesGet

Get list of supported_vs_currencies.


/simple/supported_vs_currencies

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/simple/supported_vs_currencies"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SimpleApi;

import java.io.File;
import java.util.*;

public class SimpleApiExample {

    public static void main(String[] args) {
        
        SimpleApi apiInstance = new SimpleApi();
        try {
            apiInstance.simpleSupportedVsCurrenciesGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling SimpleApi#simpleSupportedVsCurrenciesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SimpleApi;

public class SimpleApiExample {

    public static void main(String[] args) {
        SimpleApi apiInstance = new SimpleApi();
        try {
            apiInstance.simpleSupportedVsCurrenciesGet();
        } catch (ApiException e) {
            System.err.println("Exception when calling SimpleApi#simpleSupportedVsCurrenciesGet");
            e.printStackTrace();
        }
    }
}

SimpleApi *apiInstance = [[SimpleApi alloc] init];

// Get list of supported_vs_currencies.
[apiInstance simpleSupportedVsCurrenciesGetWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.SimpleApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.simpleSupportedVsCurrenciesGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class simpleSupportedVsCurrenciesGetExample
    {
        public void main()
        {
            
            var apiInstance = new SimpleApi();

            try
            {
                // Get list of supported_vs_currencies.
                apiInstance.simpleSupportedVsCurrenciesGet();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SimpleApi.simpleSupportedVsCurrenciesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SimpleApi();

try {
    $api_instance->simpleSupportedVsCurrenciesGet();
} catch (Exception $e) {
    echo 'Exception when calling SimpleApi->simpleSupportedVsCurrenciesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SimpleApi;

my $api_instance = WWW::SwaggerClient::SimpleApi->new();

eval { 
    $api_instance->simpleSupportedVsCurrenciesGet();
};
if ($@) {
    warn "Exception when calling SimpleApi->simpleSupportedVsCurrenciesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SimpleApi()

try: 
    # Get list of supported_vs_currencies.
    api_instance.simple_supported_vs_currencies_get()
except ApiException as e:
    print("Exception when calling SimpleApi->simpleSupportedVsCurrenciesGet: %s\n" % e)

Parameters

Responses

Status: 200 - list of supported_vs_currencies


simpleTokenPriceIdGet

Get current price of tokens (using contract addresses) for a given platform in any other currency that you need.


/simple/token_price/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/simple/token_price/{id}?contract_addresses=&vs_currencies=&include_market_cap=&include_24hr_vol=&include_24hr_change=&include_last_updated_at="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SimpleApi;

import java.io.File;
import java.util.*;

public class SimpleApiExample {

    public static void main(String[] args) {
        
        SimpleApi apiInstance = new SimpleApi();
        String id = id_example; // String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
        String contractAddresses = contractAddresses_example; // String | The contract address of tokens, comma separated
        String vsCurrencies = vsCurrencies_example; // String | vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`
        String includeMarketCap = includeMarketCap_example; // String | true/false to include market_cap, default: false
        String include24hrVol = include24hrVol_example; // String | true/false to include 24hr_vol, default: false
        String include24hrChange = include24hrChange_example; // String | true/false to include 24hr_change, default: false
        String includeLastUpdatedAt = includeLastUpdatedAt_example; // String | true/false to include last_updated_at of price, default: false
        try {
            apiInstance.simpleTokenPriceIdGet(id, contractAddresses, vsCurrencies, includeMarketCap, include24hrVol, include24hrChange, includeLastUpdatedAt);
        } catch (ApiException e) {
            System.err.println("Exception when calling SimpleApi#simpleTokenPriceIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SimpleApi;

public class SimpleApiExample {

    public static void main(String[] args) {
        SimpleApi apiInstance = new SimpleApi();
        String id = id_example; // String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
        String contractAddresses = contractAddresses_example; // String | The contract address of tokens, comma separated
        String vsCurrencies = vsCurrencies_example; // String | vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`
        String includeMarketCap = includeMarketCap_example; // String | true/false to include market_cap, default: false
        String include24hrVol = include24hrVol_example; // String | true/false to include 24hr_vol, default: false
        String include24hrChange = include24hrChange_example; // String | true/false to include 24hr_change, default: false
        String includeLastUpdatedAt = includeLastUpdatedAt_example; // String | true/false to include last_updated_at of price, default: false
        try {
            apiInstance.simpleTokenPriceIdGet(id, contractAddresses, vsCurrencies, includeMarketCap, include24hrVol, include24hrChange, includeLastUpdatedAt);
        } catch (ApiException e) {
            System.err.println("Exception when calling SimpleApi#simpleTokenPriceIdGet");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // The id of the platform issuing tokens (Only `ethereum` is supported for now)
String *contractAddresses = contractAddresses_example; // The contract address of tokens, comma separated
String *vsCurrencies = vsCurrencies_example; // vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`
String *includeMarketCap = includeMarketCap_example; // true/false to include market_cap, default: false (optional)
String *include24hrVol = include24hrVol_example; // true/false to include 24hr_vol, default: false (optional)
String *include24hrChange = include24hrChange_example; // true/false to include 24hr_change, default: false (optional)
String *includeLastUpdatedAt = includeLastUpdatedAt_example; // true/false to include last_updated_at of price, default: false (optional)

SimpleApi *apiInstance = [[SimpleApi alloc] init];

// Get current price of tokens (using contract addresses) for a given platform in any other currency that you need.
[apiInstance simpleTokenPriceIdGetWith:id
    contractAddresses:contractAddresses
    vsCurrencies:vsCurrencies
    includeMarketCap:includeMarketCap
    include24hrVol:include24hrVol
    include24hrChange:include24hrChange
    includeLastUpdatedAt:includeLastUpdatedAt
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.SimpleApi()

var id = id_example; // {String} The id of the platform issuing tokens (Only `ethereum` is supported for now)

var contractAddresses = contractAddresses_example; // {String} The contract address of tokens, comma separated

var vsCurrencies = vsCurrencies_example; // {String} vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`

var opts = { 
  'includeMarketCap': includeMarketCap_example, // {String} true/false to include market_cap, default: false
  'include24hrVol': include24hrVol_example, // {String} true/false to include 24hr_vol, default: false
  'include24hrChange': include24hrChange_example, // {String} true/false to include 24hr_change, default: false
  'includeLastUpdatedAt': includeLastUpdatedAt_example // {String} true/false to include last_updated_at of price, default: false
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.simpleTokenPriceIdGet(id, contractAddresses, vsCurrencies, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class simpleTokenPriceIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new SimpleApi();
            var id = id_example;  // String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
            var contractAddresses = contractAddresses_example;  // String | The contract address of tokens, comma separated
            var vsCurrencies = vsCurrencies_example;  // String | vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`
            var includeMarketCap = includeMarketCap_example;  // String | true/false to include market_cap, default: false (optional) 
            var include24hrVol = include24hrVol_example;  // String | true/false to include 24hr_vol, default: false (optional) 
            var include24hrChange = include24hrChange_example;  // String | true/false to include 24hr_change, default: false (optional) 
            var includeLastUpdatedAt = includeLastUpdatedAt_example;  // String | true/false to include last_updated_at of price, default: false (optional) 

            try
            {
                // Get current price of tokens (using contract addresses) for a given platform in any other currency that you need.
                apiInstance.simpleTokenPriceIdGet(id, contractAddresses, vsCurrencies, includeMarketCap, include24hrVol, include24hrChange, includeLastUpdatedAt);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SimpleApi.simpleTokenPriceIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SimpleApi();
$id = id_example; // String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
$contractAddresses = contractAddresses_example; // String | The contract address of tokens, comma separated
$vsCurrencies = vsCurrencies_example; // String | vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`
$includeMarketCap = includeMarketCap_example; // String | true/false to include market_cap, default: false
$include24hrVol = include24hrVol_example; // String | true/false to include 24hr_vol, default: false
$include24hrChange = include24hrChange_example; // String | true/false to include 24hr_change, default: false
$includeLastUpdatedAt = includeLastUpdatedAt_example; // String | true/false to include last_updated_at of price, default: false

try {
    $api_instance->simpleTokenPriceIdGet($id, $contractAddresses, $vsCurrencies, $includeMarketCap, $include24hrVol, $include24hrChange, $includeLastUpdatedAt);
} catch (Exception $e) {
    echo 'Exception when calling SimpleApi->simpleTokenPriceIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SimpleApi;

my $api_instance = WWW::SwaggerClient::SimpleApi->new();
my $id = id_example; # String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
my $contractAddresses = contractAddresses_example; # String | The contract address of tokens, comma separated
my $vsCurrencies = vsCurrencies_example; # String | vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`
my $includeMarketCap = includeMarketCap_example; # String | true/false to include market_cap, default: false
my $include24hrVol = include24hrVol_example; # String | true/false to include 24hr_vol, default: false
my $include24hrChange = include24hrChange_example; # String | true/false to include 24hr_change, default: false
my $includeLastUpdatedAt = includeLastUpdatedAt_example; # String | true/false to include last_updated_at of price, default: false

eval { 
    $api_instance->simpleTokenPriceIdGet(id => $id, contractAddresses => $contractAddresses, vsCurrencies => $vsCurrencies, includeMarketCap => $includeMarketCap, include24hrVol => $include24hrVol, include24hrChange => $include24hrChange, includeLastUpdatedAt => $includeLastUpdatedAt);
};
if ($@) {
    warn "Exception when calling SimpleApi->simpleTokenPriceIdGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SimpleApi()
id = id_example # String | The id of the platform issuing tokens (Only `ethereum` is supported for now)
contractAddresses = contractAddresses_example # String | The contract address of tokens, comma separated
vsCurrencies = vsCurrencies_example # String | vs_currency of coins, comma-separated if querying more than 1 vs_currency
*refers to `simple/supported_vs_currencies`
includeMarketCap = includeMarketCap_example # String | true/false to include market_cap, default: false (optional)
include24hrVol = include24hrVol_example # String | true/false to include 24hr_vol, default: false (optional)
include24hrChange = include24hrChange_example # String | true/false to include 24hr_change, default: false (optional)
includeLastUpdatedAt = includeLastUpdatedAt_example # String | true/false to include last_updated_at of price, default: false (optional)

try: 
    # Get current price of tokens (using contract addresses) for a given platform in any other currency that you need.
    api_instance.simple_token_price_id_get(id, contractAddresses, vsCurrencies, includeMarketCap=includeMarketCap, include24hrVol=include24hrVol, include24hrChange=include24hrChange, includeLastUpdatedAt=includeLastUpdatedAt)
except ApiException as e:
    print("Exception when calling SimpleApi->simpleTokenPriceIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
The id of the platform issuing tokens (Only `ethereum` is supported for now)
Required
Query parameters
Name Description
contract_addresses*
String
The contract address of tokens, comma separated
Required
vs_currencies*
String
vs_currency of coins, comma-separated if querying more than 1 vs_currency *refers to <b>`simple/supported_vs_currencies`</b>
Required
include_market_cap
String
<b>true/false</b> to include market_cap, <b>default: false</b>
include_24hr_vol
String
<b>true/false</b> to include 24hr_vol, <b>default: false</b>
include_24hr_change
String
<b>true/false</b> to include 24hr_change, <b>default: false</b>
include_last_updated_at
String
<b>true/false</b> to include last_updated_at of price, <b>default: false</b>

Responses

Status: 200 - price(s) of cryptocurrency


StatusUpdatesBeta

statusUpdatesGet

List all status_updates with data (description, category, created_at, user, user_title and pin)

List all status_updates with data (description, category, created_at, user, user_title and pin)


/status_updates

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/coingecko/api/v3/status_updates?category=&project_type=&per_page=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StatusUpdatesBetaApi;

import java.io.File;
import java.util.*;

public class StatusUpdatesBetaApiExample {

    public static void main(String[] args) {
        
        StatusUpdatesBetaApi apiInstance = new StatusUpdatesBetaApi();
        String category = category_example; // String | Filtered by category (eg. general, milestone, partnership, exchange_listing, software_release, fund_movement, new_listings, event)
        String projectType = projectType_example; // String | Filtered by Project Type (eg. coin, market). If left empty returns both status from coins and markets.
        Integer perPage = 56; // Integer | Total results per page
        Integer page = 56; // Integer | Page through results
        try {
            apiInstance.statusUpdatesGet(category, projectType, perPage, page);
        } catch (ApiException e) {
            System.err.println("Exception when calling StatusUpdatesBetaApi#statusUpdatesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StatusUpdatesBetaApi;

public class StatusUpdatesBetaApiExample {

    public static void main(String[] args) {
        StatusUpdatesBetaApi apiInstance = new StatusUpdatesBetaApi();
        String category = category_example; // String | Filtered by category (eg. general, milestone, partnership, exchange_listing, software_release, fund_movement, new_listings, event)
        String projectType = projectType_example; // String | Filtered by Project Type (eg. coin, market). If left empty returns both status from coins and markets.
        Integer perPage = 56; // Integer | Total results per page
        Integer page = 56; // Integer | Page through results
        try {
            apiInstance.statusUpdatesGet(category, projectType, perPage, page);
        } catch (ApiException e) {
            System.err.println("Exception when calling StatusUpdatesBetaApi#statusUpdatesGet");
            e.printStackTrace();
        }
    }
}
String *category = category_example; // Filtered by category (eg. general, milestone, partnership, exchange_listing, software_release, fund_movement, new_listings, event) (optional)
String *projectType = projectType_example; // Filtered by Project Type (eg. coin, market). If left empty returns both status from coins and markets. (optional)
Integer *perPage = 56; // Total results per page (optional)
Integer *page = 56; // Page through results (optional)

StatusUpdatesBetaApi *apiInstance = [[StatusUpdatesBetaApi alloc] init];

// List all status_updates with data (description, category, created_at, user, user_title and pin)
[apiInstance statusUpdatesGetWith:category
    projectType:projectType
    perPage:perPage
    page:page
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CoinGeckoApiV3 = require('coin_gecko_api_v3');

var api = new CoinGeckoApiV3.StatusUpdatesBetaApi()

var opts = { 
  'category': category_example, // {String} Filtered by category (eg. general, milestone, partnership, exchange_listing, software_release, fund_movement, new_listings, event)
  'projectType': projectType_example, // {String} Filtered by Project Type (eg. coin, market). If left empty returns both status from coins and markets.
  'perPage': 56, // {Integer} Total results per page
  'page': 56 // {Integer} Page through results
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.statusUpdatesGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class statusUpdatesGetExample
    {
        public void main()
        {
            
            var apiInstance = new StatusUpdatesBetaApi();
            var category = category_example;  // String | Filtered by category (eg. general, milestone, partnership, exchange_listing, software_release, fund_movement, new_listings, event) (optional) 
            var projectType = projectType_example;  // String | Filtered by Project Type (eg. coin, market). If left empty returns both status from coins and markets. (optional) 
            var perPage = 56;  // Integer | Total results per page (optional) 
            var page = 56;  // Integer | Page through results (optional) 

            try
            {
                // List all status_updates with data (description, category, created_at, user, user_title and pin)
                apiInstance.statusUpdatesGet(category, projectType, perPage, page);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StatusUpdatesBetaApi.statusUpdatesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\StatusUpdatesBetaApi();
$category = category_example; // String | Filtered by category (eg. general, milestone, partnership, exchange_listing, software_release, fund_movement, new_listings, event)
$projectType = projectType_example; // String | Filtered by Project Type (eg. coin, market). If left empty returns both status from coins and markets.
$perPage = 56; // Integer | Total results per page
$page = 56; // Integer | Page through results

try {
    $api_instance->statusUpdatesGet($category, $projectType, $perPage, $page);
} catch (Exception $e) {
    echo 'Exception when calling StatusUpdatesBetaApi->statusUpdatesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StatusUpdatesBetaApi;

my $api_instance = WWW::SwaggerClient::StatusUpdatesBetaApi->new();
my $category = category_example; # String | Filtered by category (eg. general, milestone, partnership, exchange_listing, software_release, fund_movement, new_listings, event)
my $projectType = projectType_example; # String | Filtered by Project Type (eg. coin, market). If left empty returns both status from coins and markets.
my $perPage = 56; # Integer | Total results per page
my $page = 56; # Integer | Page through results

eval { 
    $api_instance->statusUpdatesGet(category => $category, projectType => $projectType, perPage => $perPage, page => $page);
};
if ($@) {
    warn "Exception when calling StatusUpdatesBetaApi->statusUpdatesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.StatusUpdatesBetaApi()
category = category_example # String | Filtered by category (eg. general, milestone, partnership, exchange_listing, software_release, fund_movement, new_listings, event) (optional)
projectType = projectType_example # String | Filtered by Project Type (eg. coin, market). If left empty returns both status from coins and markets. (optional)
perPage = 56 # Integer | Total results per page (optional)
page = 56 # Integer | Page through results (optional)

try: 
    # List all status_updates with data (description, category, created_at, user, user_title and pin)
    api_instance.status_updates_get(category=category, projectType=projectType, perPage=perPage, page=page)
except ApiException as e:
    print("Exception when calling StatusUpdatesBetaApi->statusUpdatesGet: %s\n" % e)

Parameters

Query parameters
Name Description
category
String
Filtered by category (eg. general, milestone, partnership, exchange_listing, software_release, fund_movement, new_listings, event)
project_type
String
Filtered by Project Type (eg. coin, market). If left empty returns both status from coins and markets.
per_page
Integer
Total results per page
page
Integer
Page through results

Responses

Status: 200 - List all status_updates with data