> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.aventure.vc/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.aventure.vc/_mcp/server.

# Search news articles with a JSON filter body

POST https://api.aventure.vc/v1/news
Content-Type: application/json

List news articles from a JSON filter body; pagination and sort stay in query parameters.

Reference: https://docs.aventure.vc/api-reference/a-venture-api/news/list-news-post

## Authentication

- `X-Client-Secret` header (required) — Client secret for read-only service-to-service access (no writes)

## Request

### Query parameters

- `page` (integer, optional, default: 0) — Zero-based page index (0..N)
- `size` (integer, optional, default: 25) — The size of the page to be returned
- `sort` (list of string, optional) — Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
- `mode` (enum, optional) — Search strategy. News supports `auto` and `keyword`; other canonical modes are rejected.
  - Allowed values: `auto`, `exact`, `keyword`, `semantic`, `natural`

### Body (application/json)

- `authorInitial` (string, optional, nullable) — Author initial filter.
- `category` (string, optional, nullable) — News category slug to include or exclude.
- `cursor` (string, optional, nullable) — Cursor token returned by the previous thin page.
- `excludeId` (integer, optional, nullable) — Exclude one news article by id.
- `owner` (object, optional, nullable) — Entity or person owner filter.
  - `entityId` (string, optional, nullable) — Canonical entity UUID
  - `personId` (string, optional, nullable) — Canonical person UUID
- `publishedAfter` (date, optional, nullable) — Earliest publication date, inclusive.
- `publishedBefore` (date, optional, nullable) — Latest publication date, inclusive.
- `search` (string, optional, nullable) — Full-text news search term.

## Response

### 200

OK

- `content` (list of object, optional)
  - `id` (integer, required) — Type-safe identifier for news articles
  - `title` (string, required) — Article headline; the headline field is title
  - `author` (string, optional, nullable)
  - `category` (string, optional, nullable)
  - `createdAt` (datetime, optional, nullable)
  - `excerpt` (string, optional, nullable) — Article summary from the source publication feed; null means the feed supplied no description (expected absence, not an error) — full text is NewsDetail.content
  - `externalNewsArticle` (boolean, optional, nullable)
  - `newsImageThumbnail` (string, optional, nullable)
  - `newsUrlOriginal` (string, optional, nullable)
  - `pendingApproval` (integer, optional, nullable)
  - `publication` (string, optional, nullable)
  - `publishedAt` (datetime, optional, nullable)
  - `slug` (string, optional, nullable) — Canonical lowercase URL slug for the resource
  - `updatedAt` (datetime, optional, nullable)
- `empty` (boolean, optional)
- `first` (boolean, optional)
- `last` (boolean, optional)
- `number` (integer, optional)
- `numberOfElements` (integer, optional)
- `pageable` (object, optional)
  - `offset` (long, optional)
  - `pageNumber` (integer, optional)
  - `pageSize` (integer, optional)
  - `paged` (boolean, optional)
  - `sort` (object, optional)
    - `empty` (boolean, optional)
    - `sorted` (boolean, optional)
    - `unsorted` (boolean, optional)
  - `unpaged` (boolean, optional)
- `size` (integer, optional)
- `sort` (object, optional)
  - `empty` (boolean, optional)
  - `sorted` (boolean, optional)
  - `unsorted` (boolean, optional)
- `totalElements` (long, optional)
- `totalPages` (integer, optional)

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "content": [
    {
      "id": 1,
      "title": "string",
      "author": "string",
      "category": "string",
      "createdAt": "2024-01-15T09:30:00Z",
      "excerpt": "string",
      "externalNewsArticle": true,
      "newsImageThumbnail": "string",
      "newsUrlOriginal": "string",
      "pendingApproval": 1,
      "publication": "string",
      "publishedAt": "2024-01-15T09:30:00Z",
      "slug": "aventure-vc",
      "updatedAt": "2024-01-15T09:30:00Z"
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 1,
  "numberOfElements": 1,
  "pageable": {
    "offset": 1,
    "pageNumber": 1,
    "pageSize": 1,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 1,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 1,
  "totalPages": 1
}
```

**SDK Code**

```python
import requests

url = "https://api.aventure.vc/v1/news"

payload = {}
headers = {
    "X-Client-Secret": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.aventure.vc/v1/news';
const options = {
  method: 'POST',
  headers: {'X-Client-Secret': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.aventure.vc/v1/news"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("X-Client-Secret", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.aventure.vc/v1/news")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-Client-Secret"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.aventure.vc/v1/news")
  .header("X-Client-Secret", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.aventure.vc/v1/news', [
  'body' => '{}',
  'headers' => [
    'Content-Type' => 'application/json',
    'X-Client-Secret' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.aventure.vc/v1/news");
var request = new RestRequest(Method.POST);
request.AddHeader("X-Client-Secret", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-Client-Secret": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.aventure.vc/v1/news")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```