> This page is optimized for agents. Use the linked Markdown pages and llms.txt indexes for related API content.

# This document

> The machine-readable API contract. Public; no API key is required.

- Product: Service
- Section: service
- Snapshot: Current
- Method: `GET`
- Path: `/openapi.json`
- Availability: generally-available

## Execute with curl

```bash
curl "https://api.golfapi.dev/openapi.json"
```

## Execute with JavaScript

```javascript
const response = await fetch(`https://api.golfapi.dev/openapi.json`);
const body = await response.json();
```

## Execute with Python

```python
import requests

response = requests.get(
    f"https://api.golfapi.dev/openapi.json",
    timeout=10,
)
response.raise_for_status()
body = response.json()
```

## Responses

### Response `200`

Category: success  

This OpenAPI document.

#### `application/json`

##### Generated example

```json
{}
```

##### Schema

###### object

Type: `object`  

## Related representations

- [Human documentation](/api/service/methods/openapi/)
- [curl Markdown](/api/service/curl/methods/openapi.md)
- [JavaScript Markdown](/api/service/javascript/methods/openapi.md)
- [Python Markdown](/api/service/python/methods/openapi.md)
- [product llms.txt](/api/service/llms.txt)
