> 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.

# Find similar news

GET https://api.aventure.vc/v1/news/similar

Returns news articles similar to the article specified by exactly one id or slug. When similarity stages return nothing, falls back to recent articles excluding the target. The similarity embedding model is pinned to qwen-4b-fp16; embeddingModel, when provided, must equal qwen-4b-fp16. Source: https://huggingface.co/Qwen/Qwen3-Embedding-4B-GGUF?show_file_info=Qwen3-Embedding-4B-f16.gguf.

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

## Authentication

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

## Request

### Query parameters

- `id` (integer, optional) — News article id — exactly one of `id` or `slug` is required.
- `slug` (string, optional) — News article slug — exactly one of `id` or `slug` is required.
- `embeddingModel` (enum, optional) — Pinned similarity embedding model
  - Allowed values: `qwen-4b-fp16`
- `page` (integer, optional, default: 0) — Zero-based page index (0..N)
- `size` (integer, optional, default: 4) — 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.

## 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

**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/similar"

querystring = {"embeddingModel":"qwen-4b-fp16"}

headers = {"X-Client-Secret": "<apiKey>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript
const url = 'https://api.aventure.vc/v1/news/similar?embeddingModel=qwen-4b-fp16';
const options = {method: 'GET', headers: {'X-Client-Secret': '<apiKey>'}};

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"
	"net/http"
	"io"
)

func main() {

	url := "https://api.aventure.vc/v1/news/similar?embeddingModel=qwen-4b-fp16"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Client-Secret", "<apiKey>")

	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/similar?embeddingModel=qwen-4b-fp16")

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

request = Net::HTTP::Get.new(url)
request["X-Client-Secret"] = '<apiKey>'

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.get("https://api.aventure.vc/v1/news/similar?embeddingModel=qwen-4b-fp16")
  .header("X-Client-Secret", "<apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.aventure.vc/v1/news/similar?embeddingModel=qwen-4b-fp16', [
  'headers' => [
    'X-Client-Secret' => '<apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.aventure.vc/v1/news/similar?embeddingModel=qwen-4b-fp16");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Client-Secret", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-Client-Secret": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.aventure.vc/v1/news/similar?embeddingModel=qwen-4b-fp16")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

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()
```