Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/servera-lt:servera-lt-networks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Servera Developers Networks API
description: 'A REST API for your Servera account - the same operations you have in the customer
area, available programmatically, plus an **MCP** endpoint so AI agents can use
them as tools. Every request is authenticated with a scoped API key and rate-limited. ### What you can do
Everything from your customer area, grouped by area (each needs the matching scope):
- **VPS / VDS** - list servers; live status + CPU/RAM/disk/network metrics; power
on/off/reboot; snapshots (create, roll back, delete); backups (create, delete);
the per-VM firewall (view, enable/disable, rules add/update/delete/reorder - on
standalone and behind-Virtual-Router VMs); and OS reinstall. - **VPC Networks** - list your private networks and manage their firewall (rules,
options, VM↔VM isolation toggle). - **Virtual Routers** - overview, WireGuard peers, public-IP mappings, and
attach/detach VMs behind the router. - **Domains & DNS** - list domains (nameservers, lock, DNSSEC, expiry) and read or
edit DNS records (A, AAAA, CNAME, MX, TXT, SRV, CAA) on all DNS zones
hosted with us. - **WAF** - list protected domains, enable/disable protection, toggle threat
filtering, apply security presets, advanced rules, bot policy, IP/country
allow-block lists, and read traffic logs. - **Email - delivery & protection** - delivery trace, RBL/blocklist checks, the
RBL self-whitelist, trusted senders, and autoresponders. - **Billing** - list invoices, download their PDFs, and check your account balance. - **Orders** - list and inspect your orders. - **Support** - read tickets, open new ones, and post replies. - **IP protection** - check whether an IP is blocked on shared hosting, self-unblock
it, and view the history. - **Users** - list account users, invite new ones, and resend invitations. - **Contacts** - list and manage your account contacts. - **Tags & comments** - organise your services and domains with tags (a predefined
grouped catalog of international labels, or your own custom text) and a free-text
comment on each; find services/domains by tag. Scopes `tags:read`/`tags:write`. - **System emails** - the transactional emails we''ve sent to your account. - **Activity log** - your account''s audited actions. ## Base URL
```
https://developers.servera.lt
```
Every `servera.*` brand has its own host (e.g. `https://developers.servera.co.uk`);
they share this API. ## Quick start
```bash
# Public - no auth
curl https://developers.servera.lt/v1/status
# Authenticated - list your VPS/VDS
curl https://developers.servera.lt/v1/vps \
-H "Authorization: Bearer sk_live_…"
```
## Authentication
Create a scoped API key in your customer area (**Developers → API keys**), then
send it as a bearer token on every request:
```
Authorization: Bearer sk_live_…
```
Keys are shown **once** at creation (only a hashed form is stored) and can be
revoked anytime. Send keys over HTTPS only, in the header - never in a URL.'
version: 1.0.0
servers:
- url: https://developers.servera.lt
description: Production
tags:
- name: Networks
description: VPC networks and their firewall.
paths:
/v1/networks:
get:
tags:
- Networks
summary: List VPC networks
description: 'List your VPC networks.
Each network carries `addresses`: every private address in use (`kind` = `server`
for your own servers, `device` for an extra device such as a NAS on the same private
network), with `rate_mbps`, the speed cap of that private link (null = unknown).'
operationId: list_networks
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
example:
networks:
- id: 1
cidr: 10.80.6.0/24
gateway: 10.80.6.1/32
status: active
attached_vms: 6
created_at: '2026-05-30T01:41:00+00:00'
addresses:
- ip: 10.80.6.2
kind: server
name: web-1.example.com
service_id: 1234
rate_mbps: 10000
- ip: 10.80.6.10
kind: device
name: NAS
service_id: null
rate_mbps: 10000
security:
- ApiKey: []
/v1/networks/{vpc_id}/firewall:
get:
tags:
- Networks
summary: Get VPC firewall
description: The VPC's firewall state + rules.
operationId: get_vpc_firewall
security:
- ApiKey: []
parameters:
- name: vpc_id
in: path
required: true
schema:
type: integer
title: Vpc Id
description: VPC network id (from GET /networks).
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
example:
vpc:
id: 1
cidr: 10.80.6.0/24
gateway: 10.80.6.1/32
enabled: true
policy_forward: ACCEPT
internal_allowed: true
rules:
- pos: 0
type: forward
action: ACCEPT
enable: 1
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/networks/{vpc_id}/firewall/options:
put:
tags:
- Networks
summary: Set VPC firewall options
operationId: set_vpc_firewall_options
security:
- ApiKey: []
parameters:
- name: vpc_id
in: path
required: true
schema:
type: integer
title: Vpc Id
description: VPC network id (from GET /networks).
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/VpcFwOptions'
example:
enable: 1
policy_forward: ACCEPT
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
example:
success: true
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Set a VPC firewall's options — enable it and its FORWARD policy (ACCEPT/DROP).
/v1/networks/{vpc_id}/firewall/rules:
post:
tags:
- Networks
summary: Add VPC firewall rule
operationId: add_vpc_rule
security:
- ApiKey: []
parameters:
- name: vpc_id
in: path
required: true
schema:
type: integer
title: Vpc Id
description: VPC network id (from GET /networks).
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/VpcRule'
example:
type: forward
action: ACCEPT
proto: tcp
dport: '443'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
example:
success: true
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Add a rule to a VPC network's firewall. `type` is `in`, `out` or `forward`.
/v1/networks/{vpc_id}/firewall/rules/{pos}:
put:
tags:
- Networks
summary: Update VPC firewall rule
operationId: update_vpc_rule
security:
- ApiKey: []
parameters:
- name: vpc_id
in: path
required: true
schema:
type: integer
title: Vpc Id
description: VPC network id (from GET /networks).
- name: pos
in: path
required: true
schema:
type: integer
title: Pos
description: Firewall-rule position, 0-based (as returned by the firewall read).
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/VpcRule'
example:
type: forward
action: DROP
source: 10.80.6.0/24
dest: 10.80.6.0/24
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
example:
success: true
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Replace the VPC firewall rule at position `pos`.
delete:
tags:
- Networks
summary: Delete VPC firewall rule
operationId: delete_vpc_rule
security:
- ApiKey: []
parameters:
- name: vpc_id
in: path
required: true
schema:
type: integer
title: Vpc Id
description: VPC network id (from GET /networks).
- name: pos
in: path
required: true
schema:
type: integer
title: Pos
description: Firewall-rule position, 0-based (as returned by the firewall read).
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
example:
success: true
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Delete the VPC firewall rule at position `pos`.
/v1/networks/{vpc_id}/firewall/internal-traffic:
put:
tags:
- Networks
summary: Allow/block VM↔VM traffic
description: Allow or block east-west (VM↔VM) traffic without breaking behind-router north-south.
operationId: set_internal_traffic
security:
- ApiKey: []
parameters:
- name: vpc_id
in: path
required: true
schema:
type: integer
title: Vpc Id
description: VPC network id (from GET /networks).
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InternalTraffic'
example:
allow: false
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
example:
success: true
internal_allowed: false
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/networks/{vpc_id}/firewall/rules/{pos}/move:
post:
tags:
- Networks
summary: Reorder VPC firewall rule
operationId: move_vpc_rule
security:
- ApiKey: []
parameters:
- name: vpc_id
in: path
required: true
schema:
type: integer
title: Vpc Id
description: VPC network id (from GET /networks).
- name: pos
in: path
required: true
schema:
type: integer
title: Pos
description: Firewall-rule position, 0-based (as returned by the firewall read).
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RuleMoveTo'
example:
to: 0
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
example:
success: true
from: 2
to: 0
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Move a VPC firewall rule to a new position (`to`, 0-based).
components:
schemas:
VpcRule:
properties:
type:
type: string
title: Type
action:
anyOf:
- type: string
- type: 'null'
title: Action
enable:
anyOf:
- type: integer
- type: 'null'
title: Enable
default: 1
source:
anyOf:
- type: string
- type: 'null'
title: Source
dest:
anyOf:
- type: string
- type: 'null'
title: Dest
proto:
anyOf:
- type: string
- type: 'null'
title: Proto
dport:
anyOf:
- type: string
- type: 'null'
title: Dport
sport:
anyOf:
- type: string
- type: 'null'
title: Sport
comment:
anyOf:
- type: string
- type: 'null'
title: Comment
iface:
anyOf:
- type: string
- type: 'null'
title: Iface
macro:
anyOf:
- type: string
- type: 'null'
title: Macro
log:
anyOf:
- type: string
- type: 'null'
title: Log
type: object
required:
- type
title: VpcRule
VpcFwOptions:
properties:
enable:
anyOf:
- type: integer
- type: 'null'
title: Enable
policy_forward:
anyOf:
- type: string
- type: 'null'
title: Policy Forward
log_level_forward:
anyOf:
- type: string
- type: 'null'
title: Log Level Forward
type: object
title: VpcFwOptions
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
InternalTraffic:
properties:
allow:
type: boolean
title: Allow
type: object
required:
- allow
title: InternalTraffic
RuleMoveTo:
properties:
to:
type: integer
title: To
type: object
required:
- to
title: RuleMoveTo
securitySchemes:
ApiKey:
type: http
description: 'Your `sk_live_…` API key, sent as `Authorization: Bearer <key>`.'
scheme: bearer