---
name: top-stories
description: "Top Stories API skill. Use when working with Top Stories for {section}.{format}. Covers 1 endpoint."
version: 1.0.0
generator: lapsh
---

# Top Stories
API version: 2.0.0

## Auth
ApiKey api-key in query

## Base URL
http://api.nytimes.com/svc/topstories/v2

## Setup
1. Set your API key in the appropriate header
2. GET /{section}.{format} -- verify access

## Endpoints

1 endpoints across 1 groups. See references/api-spec.lap for full details.

### {section}.{format}
| Method | Path | Description |
|--------|------|-------------|
| GET | /{section}.{format} | Top Stories |

## Common Questions

Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "How to authenticate?" -> See Auth section

## Response Tips
- Check response schemas in references/api-spec.lap for field details

## CLI

```bash
# Update this spec to the latest version
npx @lap-platform/lapsh get top-stories -o references/api-spec.lap

# Search for related APIs
npx @lap-platform/lapsh search top-stories
```

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
