Gcore API Overview
Every Gcore product is backed by a public REST API — the same API used by the 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 the full operational lifecycle — not just read operations, but provisioning, configuration changes, and event-driven automation. Common use cases include:- 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:
| Service | Base URL | Reseller API |
|---|---|---|
| Identity & Access Management (IAM) | https://api.gcore.com/iam | IAM reseller |
| Content Delivery Network (CDN) | https://api.gcore.com/cdn | CDN reseller |
| Managed DNS | https://api.gcore.com/dns | — |
| Cloud, GPU Cloud & AI Inference | https://api.gcore.com/cloud | Cloud reseller |
| Object Storage | https://api.gcore.com/storage | — |
| FastEdge (Edge Functions) | https://api.gcore.com/fastedge | FastEdge reseller |
| Video Streaming | https://api.gcore.com/streaming | — |
| DDoS | https://api.gcore.com/security/iaas | — |
| WAAP | https://api.gcore.com/waap | WAAP reseller |
| Billing | — | Billing reseller |
Authentication
An API token is required — generate one in Customer Portal → API tokens, then 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.
SDKs and Terraform
Three official clients cover the most common languages and infrastructure workflows:| Tool | Install |
|---|---|
| Python SDK | pip install gcore — github.com/G-Core/gcore-python |
| Go SDK | go get github.com/G-Core/gcore-go — github.com/G-Core/gcore-go |
| Terraform Provider | required_providers { gcore = { source = "G-Core/gcore" } } — registry.terraform.io |