ASCE Amplify Health Check API

The Health-check API from ASCE Amplify — 1 operation(s) for health-check.

Operations 1

GET /health-check Check that the API and its database are reachable #

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/asce-amplify:asce-amplify-health-check-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

asce-amplify-health-check-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ASCE Hazard Loads API documentation Health Check API
  description: 'This is the API documentation for the ASCE Hazard Loads API.


    ## Error responses


    A failed request returns a JSON body carrying the HTTP status in `code`, the

    reason in `message`, and — for failures raised after the request was

    accepted — a `requestId` to quote when reporting the problem:


    ```json

    { "code": 400, "message": "\"riskLevel\" is required", "requestId": "48231" }

    ```


    Treat `requestId` as optional: a rejected token, an unknown path, and any

    failure occurring before the request is accepted have no id to report.


    Not every failure carries that body either — a `405` returns an empty body, a

    rate-limit `429` returns plain text, and a failure in the hosting

    infrastructure may return HTML. Branch on the status code, not on the shape

    of the body.


    | Code | Status | Meaning |

    | ---- | ------ | ------- |

    | 400 | `BAD_REQUEST` | The request is malformed: a required query parameter is missing, or a value is the wrong type or outside the set this endpoint accepts — a non-numeric `lat`/`lon`, or a `standardsVersion` the hazard does not support. `message` names every parameter at fault. Correct the request; resending it unchanged returns the same error. |

    | 401 | `UNAUTHORIZED` | The `token` query parameter is missing, or the token is unrecognized, deactivated, or belongs to a deactivated account. Confirm the token is being sent and is still current. |

    | 404 | `NOT_FOUND` | No endpoint exists at that path — check the spelling and the `/v1` prefix. This never means "no data": a request for a location a hazard does not cover still returns `200`. |

    | 405 | `METHOD_NOT_ALLOWED` | The API is read-only. Endpoints accept `GET` and `HEAD` only; any other method is refused with an empty body and an `Allow` header. |

    | 429 | `TOO_MANY_REQUESTS` | One of two limits was hit. **Monthly allowance** — the account has used its full request quota for the calendar month, which resets on the 1st. Only successful requests count against it, and every success reports `currentMonthlyRequestNumber` as a `used/allowed` count, so the remaining allowance is visible before it runs out. **Request rate** — too many requests arrived in a short window; wait the number of seconds given in the `Retry-After` header, then retry. |

    | 500 | `INTERNAL_SERVER_ERROR` | The API failed unexpectedly. The request itself was accepted, so resending it is unlikely to help — quote `requestId` when reporting the problem. |

    | 502 | `BAD_GATEWAY` | The API, or a data service it depends on, could not be reached. Usually transient — retry with backoff. |

    | 503 | `SERVICE_UNAVAILABLE` | A data service the API depends on returned an error, so the requested values could not be produced. Usually transient — retry with backoff. |

    | 504 | `GATEWAY_TIMEOUT` | The API, or a data service it depends on, did not respond in time. Retry with backoff; if a specific location fails repeatedly, quote `requestId` when reporting it. |'
  version: 1.0.0
servers:
- url: https://api-hazard.asce.org/v1
- url: http://localhost:3000/v1
security:
- ApiKeyAuth: []
tags:
- name: Health-check
paths:
  /health-check:
    get:
      tags:
      - Health-check
      summary: Check that the API and its database are reachable
      description: 'Reports whether the API is up and can reach its database. Intended for

        uptime monitoring and load-balancer probes rather than for hazard

        clients.


        This is the one endpoint that needs no `token`, and it is not counted

        against the account''s monthly allowance.


        Its failure body is its own shape — the `code`/`message`/`requestId`

        body described above does not apply here.'
      security: []
      responses:
        '200':
          description: The API is up and the database responded.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                    - ok
                  db:
                    type: string
                    enum:
                    - connected
              example:
                status: ok
                db: connected
        '500':
          description: 'The API is up but the database did not respond. `error` carries the

            underlying database error.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                    - error
                  db:
                    type: string
                    enum:
                    - disconnected
                  error:
                    type: string
              example:
                status: error
                db: disconnected
                error: Can't reach database server
      operationId: getHealthCheck
      x-operation-id-source: derived
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: token
      in: query
x-provenance:
  method: harvested
  publisher: ASCE Amplify
  source: https://api-hazard.asce.org/docs/assets/openapi.yml
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)