Skip to main content

API Reference

Reference documentation for interacting with your RestAPI.com APIs via HTTP.

Base URL

Each API is hosted in a specific region. Use the region-specific hostname to access your API:

https://<region>.restapi.com/<api-name>

Available Regions

RegionPrefixLocation
EUeuAmsterdam
NorwaynoNorway

Example URLs

Collection endpoint:

https://eu.restapi.com/my-api/products

Item endpoint:

https://eu.restapi.com/my-api/products/f38fa478-842e-4599-8cbc-918a34b3b789

Virtual Paths (Hosted Web Apps)

If you're using RestAPI.com hosting, you can access your API through virtual paths without CORS configuration:

PathDescription
/<region>-apiRegion-specific, CORS-free
/apiRegion-free, CORS-free (slight latency trade-off)
/loginHosted authentication page

Example:

https://my-app.restapi.cloud/eu-api/my-api/products

Sections