The first step in consuming APIs via RapidAPI is creating an app. The app is where you'll collect all your API calls, view analytics around API calls and store API keys. Upon signing up to RapidAPI you'll be prompted to create your first app. Give it any name you want, as long as it's unique.
Fig 1. Create your first app
After your app is created, you'll be prompted with instructions to install the RapidAPI SDK. RapidAPI has SDKs for multiple languages, as well as multiple community contributed SDKs. For more information on specific languages, see other references in the 'Consuming APIs' section.
Fig 2. Install SDK
Having installed the SDK, you can now go ahead and connect to the first API. You can see all the available APIs and search through them on the RapidAPI homepage. Once you've found the API you wish to connect to, select it and switch to the Functions tab. In that tab you'll see all the different functions the API offers. In this tab, you can try out the different functions, passing them arguments and seeing what data is being received.
Fig 3. Testing API functions
If you want to connect your app to this API, simply switch to the code tab in where the API response is, select your programing language and copy the code snippet into your app.
Fig 4. Copy code snippet
Users that want to subscribe to a monetized API are required to select a pricing plan. Prices are based on a recurring monthly subscription; plus, overage fees are applied to users that exceed a plan’s request allowance.
Some paid APIs have a Basic free plan. You can use that plan to test the API, within limits. It’s your responsibility to review and acknowledge the plan’s usage limitations.
PRO-TIP: All credit card details are kept safe in RapidAPI, using today’s best practices.
Once you’ve subscribed to a plan, you can return to the API's functions page and test the API. Just like free APIs, you might be required to authenticate requests by passing an API key or Token to identify with the end server. Once that’s completed and you’ve specified any other parameter required by the endpoint, you can consume the API through the browser or use the code snippets; which are available in your favorite development languages.