---
title: "Geopolitical event analysis with location filtering"
description: "Analyze geopolitical events across multiple locations with category and time filtering"
source: https://apitube.io/cookbook/geopolitical-event-analysis-with-location-filtering
---

#### Input parameters

| Parameter            | Description                                    | Type    | Default | Required |
|:---------------------|:-----------------------------------------------|:--------|:--------|:---------|
| location.name        | Multiple locations (comma-separated).          | string  |         | Yes      |
| category.id          | Category filter.                               | string  |         | Yes      |
| published_at.start   | Start date filter.                              | string  |         | Yes      |
| sort.by              | Sort by publication date.                       | string  |         | Yes      |
| sort.order           | Ascending order for timeline.                   | string  |         | Yes      |
| source.rank.opr.min  | Minimum source quality.                         | string  |         | Yes      |
| api_key              | Your API key.                                  | string  |         | Yes      |
| per_page             | Maximum number of articles to retrieve.       | integer | 40      | No       |

#### Workflow examples

##### Request for geopolitical event analysis:

```shell
curl -X GET "https://api.apitube.io/v1/news/everything?location.name=France,Italy&category.id=medtop:11000000&published_at.start=2022-02-01&sort.by=published_at&sort.order=asc&api_key=YOUR_API_KEY"
```

##### Request for natural disaster coverage analysis:

```shell
curl -X GET "https://api.apitube.io/v1/news/everything?location.name=Florida,Louisiana&title=hurricane&published_at.start=2022-06-01&published_at.end=2022-11-30&sort.by=published_at&sort.order=asc&api_key=YOUR_API_KEY"
```

##### Request for tourism sentiment analysis by location:

```shell
curl -X GET "https://api.apitube.io/v1/news/everything?location.name=Bali,Phuket,Maldives&sentiment.overall.polarity=positive&published_at.start=2023-01-01&sort.by=published_at&api_key=YOUR_API_KEY"
```

##### Request for regional language news comparison:

```shell
curl -X GET "https://api.apitube.io/v1/news/everything?language.code=ar,he&category.id=medtop:11000000&published_at.start=2023-01-01&sort.by=sentiment.overall.score&api_key=YOUR_API_KEY"
```

---

#### Related Examples

- [Cross-reference person with organizations](/cookbook/cross-reference-person-with-organizations-and-locations)
- [Geopolitical event analysis](/cookbook/geopolitical-event-analysis-with-location-filtering)
- [Fetch political news in multiple languages](/cookbook/fetch-political-news-in-multiple-languages)
- [Get news from multiple countries](/cookbook/get-latest-news-articles-from-countries)
- [Get news in specific languages](/cookbook/get-news-articles-in-multiple-languages)

