Adding Base URLs
This is a legacy documentation page for the previous interface.
For the latest page, see Hub Listing - General Tab.
All API endpoints are relative to a base URL, which is added as a "prefix" to all API endpoints. This approach avoids the need to always define absolute URLs for endpoints, and increases API portability by simply changing the base URL. This base URL is where RapidAPI will route requests.
To enter a base URL:
- Navigate to the Provider Dashboard (My APIs).
- In the sidebar, click the Definition tab for your API.
- Click the API Specs tab.
- Click the Settings tab.
- Under Base URL, click Configure.
- In the Edit Base URL dialog, enter a base URL (such as https:// example.com) and click Save.
You can update your base URL from this page at any time. If you are interested in setting up multi-base URLs, check out our guide here .
Updated 9 months ago