# HAProxy Service Discovery API

**Canonical:** https://apis.io/apis/haproxy/haproxy-service-discovery-api/  
**Provider:** HAProxy — https://apis.io/providers/haproxy/  
**Base URL:** http://{haproxy-host}:5555/v3/services/haproxy/runtime  
**Documentation:** https://www.haproxy.com/documentation/haproxy-runtime-api/

HAProxy Service Discovery API is one of 68 APIs that [HAProxy](https://apis.io/providers/haproxy/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Service Discovery. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, a GitHub repository, and a changelog.

The Service Discovery API from HAProxy — 4 operation(s) for service discovery.

## Operations (10)

| Method | Path | Summary |
|---|---|---|
| GET | `/service_discovery/aws` | Return an array of all configured AWS regions |
| POST | `/service_discovery/aws` | Add a new AWS region |
| DELETE | `/service_discovery/aws/{id}` | Delete an AWS region |
| GET | `/service_discovery/aws/{id}` | Return an AWS region |
| PUT | `/service_discovery/aws/{id}` | Replace an AWS region |
| GET | `/service_discovery/consul` | Return an array of all configured Consul servers |
| POST | `/service_discovery/consul` | Add a new Consul server |
| DELETE | `/service_discovery/consul/{id}` | Delete a Consul server |
| GET | `/service_discovery/consul/{id}` | Return one Consul server |
| PUT | `/service_discovery/consul/{id}` | Replace a Consul server |

## Machine-readable artifacts (8)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/haproxy/refs/heads/main/openapi/haproxy-service-discovery-api-openapi.yml
- **Documentation** — https://www.haproxy.com/documentation/haproxy-data-plane-api/
- **APIReference** — https://www.haproxy.com/documentation/haproxy-data-plane-api/reference/
- **GettingStarted** — https://www.haproxy.com/documentation/haproxy-data-plane-api/installation/
- **DataModel** — https://raw.githubusercontent.com/api-evangelist/haproxy/refs/heads/main/data-model/haproxy-data-model.yml
- **ErrorCatalog** — https://raw.githubusercontent.com/api-evangelist/haproxy/refs/heads/main/errors/haproxy-problem-types.yml
- **GitHubRepository** — https://github.com/haproxytech/dataplaneapi
- **ChangeLog** — https://github.com/haproxytech/dataplaneapi/releases

## Other HAProxy APIs (12)

- [HAProxy Runtime API](https://apis.io/apis/haproxy/haproxy-runtime-api/)
- [HAProxy Kubernetes Ingress Controller](https://apis.io/apis/haproxy/haproxy-kubernetes-ingress-controller/)
- [HAProxy ACL API](https://apis.io/apis/haproxy/haproxy-acl-api/)
- [HAProxy ACL Runtime API](https://apis.io/apis/haproxy/haproxy-acl-runtime-api/)
- [HAProxy Acme API](https://apis.io/apis/haproxy/haproxy-acme-api/)
- [HAProxy Acme Runtime API](https://apis.io/apis/haproxy/haproxy-acmeruntime-api/)
- [HAProxy Backend API](https://apis.io/apis/haproxy/haproxy-backend-api/)
- [HAProxy Backend Switching Rule API](https://apis.io/apis/haproxy/haproxy-backendswitchingrule-api/)
- [HAProxy Bind API](https://apis.io/apis/haproxy/haproxy-bind-api/)
- [HAProxy Cache API](https://apis.io/apis/haproxy/haproxy-cache-api/)
- [HAProxy Configuration API](https://apis.io/apis/haproxy/haproxy-configuration-api/)
- [HAProxy Crt Load API](https://apis.io/apis/haproxy/haproxy-crtload-api/)

## Tags

Service Discovery

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/haproxy/haproxy-service-discovery-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/haproxy/.
