16 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
5 star 12
4 star 1
3 star 1
2 star 2
1 star 0
Compatible with
  • iOS
  • Android


John Sheehan

A simple REST client for consuming HTTP APIs.

RestSharp makes it easy to consume the wide array of services on the web over HTTP, like: Amazon, Facebook, or even Twitter...


  • Automatic XML and JSON deserialization
  • Supports custom serialization and deserialization via ISerializer and IDeserializer
  • Fuzzy element name matching ('product_id' in XML/JSON will match C# property named 'ProductId')
  • Automatic detection of type of content returned
  • Other non-standard HTTP methods also supported
  • oAuth 1, oAuth 2, Basic, NTLM and Parameter-based Authenticators included
  • Supports custom authentication schemes via IAuthenticator
  • Multi-part form/file uploads
  • T4 Helper to generate C# classes from an XML document


using RestSharp;
// ...

var client = new RestClient ("http://rxnav.nlm.nih.gov/REST/RxTerms/rxcui/");

var request = new RestRequest (String.Format ("{0}/allinfo", "198440"));
client.ExecuteAsync (request, response => {
    Console.WriteLine (response.Content);

Release Notes


  • Support for Xamarin.iOS 8.6
  • Updated the SimpleJson package to the latest version
  • Converted the BaseUrl to be a URI rather than a string
  • Added support for the DeserializeAs attribute on XML
  • Bug Fixes


  • Support for Unified API
  • Support for 64-bit iOS
  • Support for iOS 8

Version 104.4.0

  • Many new features
  • Many bug fixes
Write a Review

1 review

Targus Signity

Hi I am using your component for API and suddenly I am getting an error related to your component. an error is following:

Error MT2002: Failed to resolve assembly: 'RestSharp.MonoDroid, Version=, Culture=neutral, PublicKeyToken=null' (MT2002)

Can you please help me to get rid of this?


Posted on: May 27, 2014 / Version: 104.1.0