---
title: "This document, as JSON"
method: GET
path: "/openapi.json"
tags: ["service"]
---

# This document, as JSON

`GET /openapi.json`

## Request

- Base URL: `https://api.cars-data.com/v1`
- URL: `https://api.cars-data.com/v1/openapi.json`
- Auth: none required

Public and CORS-open (`Access-Control-Allow-Origin: *`). Documentation
behind an API key only opens for people who already got in.

Generated from `openapi.yaml`; a test fails the build if the two drift,
and a second test fails if either drifts from the routes the Worker
actually mounts.

## Response `200`

OK

- object: An OpenAPI 3.1 document.

---

[API](https://skmtc.dev/cars-data/apis/cars-data-com-api.md) · [All operations](https://skmtc.dev/cars-data/apis/cars-data-com-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cars-data/apis/cars-data-com-api/revisions/4aeb6b2b5c5f?raw)
