Health check

Liveness. With deep=1 also checks the accounts DB, the sites DB and the isx archive (5 s timeout).

GEThttps://apis.newssearchapi.com/healthPublic · no key

Parameters

  • deepstringquery

    Run dependency checks (case-insensitive).

    One of
    10truefalse

Response 200 · application/json

Healthy. `checks` is present only with `deep=1`.

  • statusstringalways

    One of okerror

  • codestring

    Present only on 503.

  • messagestring

    Present only on 503.

  • checksobject

    Present only with deep=1.

  • requestIdstring

    Present only on 503.

Errors

Every error uses the same envelope with a stable code. See error handling for which ones to retry.

  • 400Invalid parameter (`parameterInvalid`) — unknown/repeated parameter, bad format or out-of-range value.
  • 405Only GET, HEAD and OPTIONS are supported (`methodNotAllowed`).
  • 503A dependency check failed (deep only).
Stuck or found a mistake?Email developer support

Esc to close · ↑↓ Tab to move through results