Digital Ocean Load Balancers API

[DigitalOcean Load Balancers](https://docs.digitalocean.com/products/networking/load-balancers/) provide a way to distribute traffic across multiple Droplets. By sending requests to the `/v2/load_balancers` endpoint, you can list, create, or delete load balancers as well as add or remove Droplets, forwarding rules, and other configuration details.

Business capability
IT Infrastructure Management BC-600.50

Operations 9

POST /v2/load_balancers Create a New Load Balancer #
GET /v2/load_balancers List All Load Balancers #
GET /v2/load_balancers/{lb_id} Retrieve an Existing Load Balancer #
PUT /v2/load_balancers/{lb_id} Update a Load Balancer #
DELETE /v2/load_balancers/{lb_id} Delete a Load Balancer #
POST /v2/load_balancers/{lb_id}/droplets Add Droplets to a Load Balancer #
DELETE /v2/load_balancers/{lb_id}/droplets Remove Droplets from a Load Balancer #
POST /v2/load_balancers/{lb_id}/forwarding_rules Add Forwarding Rules to a Load Balancer #
DELETE /v2/load_balancers/{lb_id}/forwarding_rules Remove Forwarding Rules from a Load Balancer #

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/digital-ocean-load-balancers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

digital-ocean-load-balancers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DigitalOcean Load Balancers API
  version: '2.0'
  description: '# Introduction


    The DigitalOcean API allows you to manage Droplets and resources within the

    DigitalOcean cloud in a simple, programmatic way using conventional HTTP requests.'
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  contact:
    name: DigitalOcean API Team
    email: api-engineering@digitalocean.com
  termsOfService: https://www.digitalocean.com/legal/terms-of-service-agreement/
servers:
- url: https://api.digitalocean.com
  description: production
security:
- bearer_auth: []
tags:


# --- truncated at 32 KB (81 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/digital-ocean/refs/heads/main/openapi/digital-ocean-load-balancers-api-openapi.yml