NGINX · Example Payload

Plus Http Api Nginx Http Upstream Example

API GatewayCachingCloud-NativeLoad BalancerOpen-SourceReverse ProxyWeb Server

Plus Http Api Nginx Http Upstream Example is an example object payload from NGINX, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

peerskeepalivezombieszonequeue

Example Payload

Raw ↑
{
  "peers": [
    {
      "id": 0,
      "server": "backend1.example.com:8080",
      "service": "http",
      "name": "backend1.example.com:8080",
      "backup": false,
      "weight": 5,
      "state": "up",
      "active": 3,
      "ssl": {
        "handshakes": 12450,
        "handshakes_failed": 8,
        "session_reuses": 9832,
        "no_common_protocol": 0,
        "handshake_timeout": 0,
        "peer_rejected_cert": 0,
        "verify_failures": {
          "expired_cert": 0,
          "revoked_cert": 0,
          "hostname_mismatch": 0,
          "other": 0
        }
      },
      "max_conns": 250,
      "requests": 4521987,
      "responses": {
        "1xx": 0,
        "2xx": 4498210,
        "3xx": 12540,
        "4xx": 8901,
        "5xx": 42,
        "codes": {
          "200": 4485100,
          "301": 12540,
          "404": 8850,
          "502": 42
        },
        "total": 4519693
      },
      "sent": 1284567890,
      "received": 9876543210,
      "fails": 3,
      "unavail": 0,
      "health_checks": {
        "checks": 84520,
        "fails": 2,
        "unhealthy": 0,
        "last_passed": true
      },
      "downtime": 0,
      "downstart": "2026-04-21T10:30:00.000Z",
      "selected": "2026-04-21T12:44:58.120Z",
      "header_time": 12,
      "response_time": 45
    },
    {
      "id": 1,
      "server": "backend2.example.com:8080",
      "service": "http",
      "name": "backend2.example.com:8080",
      "backup": false,
      "weight": 3,
      "state": "up",
      "active": 1,
      "ssl": {
        "handshakes": 12450,
        "handshakes_failed": 8,
        "session_reuses": 9832,
        "no_common_protocol": 0,
        "handshake_timeout": 0,
        "peer_rejected_cert": 0,
        "verify_failures": {
          "expired_cert": 0,
          "revoked_cert": 0,
          "hostname_mismatch": 0,
          "other": 0
        }
      },
      "max_conns": 250,
      "requests": 2987654,
      "responses": {
        "1xx": 0,
        "2xx": 4498210,
        "3xx": 12540,
        "4xx": 8901,
        "5xx": 42,
        "codes": {
          "200": 4485100,
          "301": 12540,
          "404": 8850,
          "502": 42
        },
        "total": 4519693
      },
      "sent": 1284567890,
      "received": 9876543210,
      "fails": 3,
      "unavail": 0,
      "health_checks": {
        "checks": 84520,
        "fails": 2,
        "unhealthy": 0,
        "last_passed": true
      },
      "downtime": 0,
      "downstart": "2026-04-21T10:30:00.000Z",
      "selected": "2026-04-21T12:44:57.890Z",
      "header_time": 12,
      "response_time": 45
    }
  ],
  "keepalive": 4,
  "zombies": 0,
  "zone": "backend_zone",
  "queue": {
    "size": 0,
    "max_size": 100,
    "overflows": 0
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • 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 example
curl "https://apis.io/api/v1/examples/plus-http-api-nginx-http-upstream-example"
All examples
curl "https://apis.io/api/v1/examples?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.