Skip to content

Releases: fcsapi/rest-api-csharp

4.0.0

25 Dec 12:45

Choose a tag to compare

FCS REST API C# v4.0.0

First Release - C# REST API client for Forex, Cryptocurrency, and Stock market data from FCS API.

What's New

Initial release with complete REST API implementation:

  • Forex API - 4,000+ currency pairs, commodities, real-time rates, historical data
  • Crypto API - 50,000+ coins, market cap data, top exchanges (Binance, Coinbase, etc.)
  • Stock API - 125,000+ global stocks, earnings, dividends, financial statements
  • 4 Authentication Methods - API key, config file, IP whitelist, token-based
  • Multi-Target Support - .NET 6.0, .NET 8.0, and .NET 10.0
  • Technical Analysis - Moving averages, RSI, MACD, pivot points
  • Easy Integration - Simple method calls for all API endpoints

Installation

Clone Repository:

git clone https://github.com/fcsapi/rest-api-csharp

Or download ZIP from GitHub and extract to your project.

Quick Start

using FcsApi;

var fcsapi = new FcsApi.FcsApi("YOUR_API_KEY");

// Get EUR/USD price
var forex = fcsapi.Forex.GetLatestPrice("EURUSD");

// Get Bitcoin price
var crypto = fcsapi.Crypto.GetLatestPrice("BINANCE:BTCUSDT");

// Get Apple stock
var stock = fcsapi.Stock.GetLatestPrice("NASDAQ:AAPL");

// Check response
if (fcsapi.IsSuccess())
{
    Console.WriteLine(forex["response"]);
}

Examples Included

  • ForexExample/ - Forex prices, conversion, historical data
  • CryptoExample/ - Bitcoin, top 100 coins, market cap
  • StockExample/ - Stock prices, earnings, indices
  • AuthExample/ - All 4 authentication methods

Requirements

  • .NET 6.0, .NET 8.0, or .NET 10.0
  • HttpClient support

Documentation

Get API Key

Sign up for free at https://fcsapi.com