Gcore API overview
Every Gcore product is backed by a public REST API, the same API used by the Gcore Customer Portal and the official SDKs. All product APIs are available under the same base URL:https://api.gcore.com.
Use cases
Gcore’s API covers provisioning, configuration changes, and event-driven automation, as well as read operations:- Automating CDN cache purges, DNS record updates, and VM provisioning.
- Integrating Gcore services into CI/CD pipelines, Terraform workflows, Kubernetes Operators, and custom back-office tools.
- Reacting to real-time metrics and keeping infrastructure in a desired state without manual intervention.
Base URLs by product
Each Gcore product has its own path prefix on the shared basehttps://api.gcore.com. Requests use HTTPS on TCP port 443, which means a firewall that allows outbound HTTPS already covers the API.
Authentication
An API token is required, so generate one in the Customer Portal and pass it as anAPIKey value in the Authorization header:
Authorization header is case-insensitive. The same API token works across all Gcore product APIs. Reseller accounts authenticate with a separate Admin Portal token.
Quick start
Verify the token by fetching account details:200 OK response confirms the token is valid.