Download OpenAPI specification:Download
Welcome to the 5centsCDN API Documentation!
The 5centsCDN API provides a versatile and powerful interface to manage your CDN services. This documentation is organized by feature sections, allowing you to quickly locate relevant resources based on your use case.
Each section includes detailed endpoints, parameters, and example requests and responses to help you build effectively.
The base URL for all 5centsCDN API requests:
https://api.5centscdn.com/v2
To authenticate your requests, include your API key in the X-API-KEY
header:
X-API-KEY: YOUR_API_KEY
Replace YOUR_API_KEY
with the API key provided by 5centsCDN.
The API uses standard HTTP status codes to indicate the success or failure of requests:
All API responses are returned in JSON format, including errors. Each response will include:
status
: Indicates success or error status.data
: Contains the requested information or result.error
: (If applicable) Provides error details, such as code
and
message
.In case of an error, the response will include:
status
: Error status code.error
: Object containing code
and message
fields to
describe the error.