RapidAPI SDKs

What SDKs are Available?

RapidAPI has many different SDKs that allow you to use any of the APIs on the Hub in your applications. Regardless of what your favorite programming language is, we've got an SDK to allow you to easily use RapidAPI in your application. We have SDKs available in the following languages:

If there are any programming languages that aren't yet supported, shoot us an email at [email protected] and provide us that feedback!

What are the Advantages of Using RapidAPI SDKs?

By using these SDKs, you get access to all of the APIs that are on the RapidAPI Hub all in one package. This lets you use any of the APIs on the Hub, all with one standard form of calling an API and receiving the data back.

You are also able to call as many APIs as you want with a single SDK. Gone are the days of importing a different SDK for each API that you use. Now you can just import the RapidAPI SDK and use it for all of the API calls that you make throughout your application.

Code Snippets Available in the Hub

There is a code snippet and SDK installation guide on each API listing. These are provided for you to get started easily. Connecting to an API is as simple as installing the SDK and then copying the provided snippet into your application.

2868

What If the Programming Language I'm Using Isn't Available?

If the programming language you're using isn't available β€”Β or you prefer to use another request library β€” have no fear! All of the APIs available on RapidAPI are exposed through a REST API endpoint. All you'll need to do is take the information provided on the documentation. Here's an example of what that would look like using the 'request' npm module

var options = {
  method: 'POST',
  url: API_URL,
  headers: { 
    'cache-control': 'no-cache',
    'Content-Type': 'application/json',
    'X-RapidAPI-Key': API_KEY,
    'header1': 'header-value-1'
  },
  qs: { 
    parameter1: 'parameter-value-1' 
  }
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);
  console.log(body);
});