---
title: "POST /up"
method: POST
path: "/up"
tags: ["up"]
---

# POST /up

`POST /up`

Check if a site is up or down

## Request body

- SiteStatusDto
  - `url` string, required — Target URL
  - `proxyCountry` string — Proxy country code to route the request
  - `followRedirect` boolean — Whether to follow redirects when checking site status

## Response `200`

Site status retrieved successfully

- SiteStatusResponseDto
  - `timestamp` number, required — Timestamp of the request in milliseconds
  - `apiStatus` 'success' | 'failure', required — API status message
  - `apiCode` number, required — API status code
  - `message` string, required — Indicates the current status of the site. It can either be "Site is up" or "Unable to reach the URL."
  - `meta` SiteStatusMetaDto, required
    - `url` string, required — The target URL checked
    - `followRedirect` boolean, required — Whether redirects were followed
    - `redirectedURL` object — Final redirected URL (if applicable)
    - `proxyCountry` string, required — Proxy country used (if any)
    - `test` TestMetaDto, required
      - `id` string, required — Unique test identifier
  - `data` object, required — HTTP status information from the site check.

## Other responses

- `400` — Bad request (invalid parameters)
- `500` — Internal server error

---

[API](https://skmtc.net/geekflare/apis/geekflare-api.md) · [All operations](https://skmtc.net/geekflare/apis/geekflare-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geekflare/geekflare-api/versions/936993afc936/schema)
