We are excited to share the most recent updates we have made to RapidAPI. This month’s highlights include the launch of RapidQL, API Key rotation support, and the ability for API providers to set specific endpoints for each pricing plan. As always, please let us know if you have any questions about the changes.
Updates for Developers
1. API Key Rotation
RapidAPI now supports API Key Rotation for security purposes. Key Rotation can also be used to reset a compromised or inadvertently exposed API Key without losing the application’s analytics. You can create a new API Key and delete a compromised one in a few simple steps from the Developer Dashboard.
- Select the application with the compromised key and navigate to the Security tab.
- Click “Add New Key” and edit the API Key name if desired.
- Test the API Key by going to the API’s Endpoints tab on the Marketplace listing. Select the new API Key from the X-RapidAPI-Key dropdown. Click the “Test Endpoint to ensure the new API Key is working.
- Update your project files with the new API Key.
- Return to the applications Security page and delete the compromised key.
2. Support for Native GraphQL APIs
RapidAPI now supports GraphQL APIs! Our first wave of GraphQL based APIs includes GitHub, Yelp, Huddlio and more! You can test and connect to GraphQL APIs the same way you test and connect to REST APIs on the RapidAPI Marketplace.
Moving forward, we are hoping to add more GraphQL APIs to the Marketplace. Learn more about GraphQL and why you might want to use GraphQL APIs in our previous blog post.
3. RapidQL Launch
Our open-source project RapidQL is officially live! RapidQL allows developers to fetch, combine, and aggregate data from multiple APIs and databases — all in one call.
The inspiration for this project is to make it easier for developers to connect any API or data source, especially when they need to call multiple APIs at once. Our API explorer already provides RapidQL code snippets that you can use to quickly try out and stitch together multiple APIs.
RapidQL itself is a JSON-like query language implemented in JavaScript. Just `npm install rapidql` to initialize it, then check out the documentation to see how to run your first query. You can also check out the official RapidQL announcement post or our video tutorial to get started.
4. Expanded Search and Filtering on the Marketplace
To make it easier to find APIs, we added the ability to refine and filter search results based on several different attributes. Once you make a search on the Marketplace, you can click More Options to expand the filter menu.
You will now also see various collections when you make a search, which can help you discover new APIs.
Updates for API Providers
1. Custom Endpoints per Pricing Plan
You can make specified endpoints available only through certain subscription plans and unavailable on other plans. This will prevent developers from using the endpoint unless they are subscribed to the specific plan that allows access to it. This is a great way to allow developers to access a limited free version of your API to test. They can then subscribe to a paid plan for full access to all of the endpoints. You can specify endpoints for different pricing plans by navigating to the Plans and Pricing tab of your API on the Provider Dashboard.
- Select the Features tab and click the +Add New Feature button
- Name the feature and select the associated endpoints from the drop-down. You can select one or multiple endpoints from the dropdown
The endpoint will now be available only to developers who subscribe to the plan.
2. Multibase URL Support
You can now configure each plan in an API to override the default base URL and point to a separate instance of the API. This will allow you to configure each plan in an API to point to a separate environment. To set up Multi-Base URLs navigate to your Provider Dashboard and select the Definition page for the API you want to edit.
- Navigate to the Plans and Pricing tab in the top navigation bar.
- Edit the desired pricing plan.
- Add a new base URL in the plan
- Ensure the new URL you entered is selected, and scroll down to save your changes.
3. Docusign Integration
Embedding a contract will require the developers to e-sign it when subscribing to the plan. Contracts are now supported through DocuSign. This option is useful for APIs that might provide sensitive data or have special usage requirements.
To embed a contract, you need a DocuSign account. You will want to create a template in DocuSign for the contract you would like to embed in your pricing plan.
Edit the pricing plan you would like to embed the contact in. If you have multiple plans, you will have to add the DocuSign template to each plan. Click the Login With Docusign button, and select your desired template.
Save the plan once you have completed these steps.
Feedback
We would love to hear your thoughts on these new updates, or what you think we should work on next! Let us know via email or Twitter.
Leave a Reply