Skip to main content

API Reference

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

API Paths

Hosted web apps access the API through virtual paths — no CORS configuration needed:

/api/{collection}
/api/{collection}/{id}

Examples:

/api/products
/api/products/f38fa478-842e-4599-8cbc-918a34b3b789

External Clients

External clients use the full region-specific URL:

https://<region>.restapi.com/<api-name>/{collection}
RegionPrefixLocation
EUeuAmsterdam
NorwaynoNorway

Additional Virtual Paths

PathDescription
/apiRegion-free, CORS-free
/<region>-apiRegion-specific, CORS-free (slightly lower latency)
/loginHosted authentication page

Sections