---
title: "One site's tools as an OpenAPI spec"
method: GET
path: "/api/v1/sites/{host}/openapi.json"
tags: ["Sites"]
---

# One site's tools as an OpenAPI spec

`GET /api/v1/sites/{host}/openapi.json`

## Request

- Base URL: `https://unbrowse.ai`
- URL: `https://unbrowse.ai/api/v1/sites/{host}/openapi.json`
- Auth: none required

## Path parameters

- `host` string, required

## Response `200`

OpenAPI 3.1 for the site

- Object

## Other responses

- `400`: An error
- `401`: Missing or invalid credentials. The WWW-Authenticate header names the protected-resource metadata.
- `402`: An error
- `404`: An error
- `429`: An error

---

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