---
title: "Export articles to Excel format"
description: "Export news articles to XLSX format for data analysis"
source: https://apitube.io/cookbook/export-articles-to-excel-format
---

#### Input parameters

| Parameter        | Description                                    | Type    | Default | Required |
|:-----------------|:-----------------------------------------------|:--------|:--------|:---------|
| export           | Export format (xlsx, csv, tsv, xml, json).     | string  |         | Yes      |
| category.id      | Category filter (optional).                    | string  |         | No       |
| published_at.start | Start date filter (optional).                  | string  |         | No       |
| published_at.end | End date filter (optional).                    | string  |         | No       |
| api_key          | Your API key.                                  | string  |         | Yes      |

#### Workflow examples

##### Request to export articles to Excel:

```shell
curl -X GET "https://api.apitube.io/v1/news/everything?category.id=medtop:04000000&per_page=20&export=xlsx&api_key=YOUR_API_KEY" -o financial_news.xlsx
```

##### Request to export to CSV:

```shell
curl -X GET "https://api.apitube.io/v1/news/everything?organization.name=Amazon,Microsoft,Google&published_at.start=2023-01-01&published_at.end=2023-12-31&sort.by=sentiment.overall.score&sort.order=desc&export=csv&api_key=YOUR_API_KEY" -o tech_sentiment_2023.csv
```

##### Request to export to XML:

```shell
curl -X GET "https://api.apitube.io/v1/news/everything?title=bitcoin&export=xml&api_key=YOUR_API_KEY" -o bitcoin_news.xml
```

---

#### Related Examples

- [Get news from Wired and export as XML](/cookbook/get-latest-news-from-wired-and-export-as-xml)
- [Select specific fields](/cookbook/select-specific-fields-to-reduce-payload-size)
- [Get articles with faceting for analytics](/cookbook/get-articles-with-faceting-for-analytics)
- [Get news in a specific time range](/cookbook/get-latest-news-articles-in-a-specific-time-range)
- [Get sorted news by date](/cookbook/get-sorted-news)

