> For the complete documentation index, see [llms.txt](https://pynytimes.michadenheijer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pynytimes.michadenheijer.com/metadata/article-metadata.md).

# Article Metadata

Get all metadata from an article.

## Usage

```python
NYTAPI.article_metadata(url)
```

### Parameters

| Variables | Description        | Data type | Required |
| --------- | ------------------ | --------- | -------- |
| `url`     | URL of the article | `str`     | True     |

## Example

```python
metadata = nyt.article_metadata(
    url = "https://www.nytimes.com/2019/10/20/world/middleeast/erdogan-turkey-nuclear-weapons-trump.html"
)
```
