---
title: "Check whether a slug is free"
method: GET
path: "/api/sites/slug-available"
tags: ["site-controller"]
---

# Check whether a slug is free

`GET /api/sites/slug-available`

## Request

- Base URL: `https://api.pagegoat.com`
- URL: `https://api.pagegoat.com/api/sites/slug-available`
- Auth: HTTP bearer

Requires a token: slugs are public URLs, but an open endpoint here would be a free "does this site exist?" oracle.

## Query parameters

- `slug` string, required
- `for` string

## Response `200`

OK

---

[API](https://skmtc.dev/pagegoat/apis/pagegoat-api.md) · [All operations](https://skmtc.dev/pagegoat/apis/pagegoat-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pagegoat/apis/pagegoat-api/revisions/3e87219680af?raw)
