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

# Assert whether a stored logo or photo depicts the target's own brand

POST https://api.aventure.vc/v1/media/logo-accuracy

Read-only assertion for an ENTITY square logo or a PERSON photo, selected by mediaType + id. Normalizes the stored mark and the target's own reference marks (an entity uses its website favicon, manifest icon, OpenGraph, and LinkedIn og:image; a person uses the LinkedIn profile og:image), perceptual-hashes them, and escalates only an inconclusive hash to a reference-anchored local vision comparison that decides same-target purely from visible features. Returns match, mismatch, or insufficient with the visible evidence; performs no writes.

Reference: https://docs.aventure.vc/api-reference/a-venture-api/media/assert-logo-accuracy

## Authentication

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

## Request

### Query parameters

- `mediaType` (enum, required) — Media target type.
  - Allowed values: `ENTITY`, `PERSON`, `NEWS`, `BLOG`
- `id` (string, optional) — Target UUID for entity/person or integer id for news.
- `slug` (string, optional) — Target slug.
- `logoType` (enum, optional) — Entity logo variant.
  - Allowed values: `SQUARE`, `STANDARD`

## Response

### 200

OK

- `confidence` (enum, required) — Confidence in the outcome
  - Allowed values: `HIGH`, `MEDIUM`, `LOW`
- `method` (enum, required) — How the outcome was reached
  - Allowed values: `PERCEPTUAL_HASH`, `VISION`, `OPERATOR_REVIEW`, `REFERENCE_UNAVAILABLE`
- `outcome` (enum, required) — Whether the candidate mark matches the target's own brand
  - Allowed values: `MATCH`, `MISMATCH`, `INSUFFICIENT`
- `reference` (list of object, required) — Reference marks fetched from the target's own surfaces, each with its perceptual-hash distance to the candidate. The deciding deterministic distance is the smallest entry
  - `hammingDistance` (integer, required) — Perceptual-hash distance between the candidate and this reference
  - `url` (string, required) — Direct URL of the reference mark fetched from the target's surface
- `approval` (object, optional, nullable) — Confirmed media-slot provenance that made this a match without a model/reference comparison; null for deterministic hash, vision, and insufficient outcomes
  - `changedAt` (datetime, optional, nullable)
  - `dataSourceUpdatedAt` (datetime, optional, nullable)
  - `detail` (string, optional, nullable)
  - `kind` (string, optional, nullable)
  - `pendingApproval` (integer, optional, nullable)
  - `sourceId` (string, optional, nullable)
  - `status` (string, optional, nullable)
- `candidateObserved` (string, optional, nullable) — Literal visible description of the candidate mark, when assessed by vision
- `referenceObserved` (string, optional, nullable) — Literal visible description of the reference mark, when assessed by vision
- `sharedFeature` (string, optional, nullable) — The specific visible feature shared by candidate and reference that supports a match (shared name text, symbol, or distinctive palette); null when not a match

## Examples

**Response**

```json
{
  "confidence": "HIGH",
  "method": "PERCEPTUAL_HASH",
  "outcome": "MATCH",
  "reference": [
    {
      "hammingDistance": 1,
      "url": "string"
    }
  ],
  "approval": {
    "changedAt": "2024-01-15T09:30:00Z",
    "dataSourceUpdatedAt": "2024-01-15T09:30:00Z",
    "detail": "string",
    "kind": "string",
    "pendingApproval": 1,
    "sourceId": "string",
    "status": "string"
  },
  "candidateObserved": "string",
  "referenceObserved": "string",
  "sharedFeature": "string"
}
```

**SDK Code**

```python
import requests

url = "https://api.aventure.vc/v1/media/logo-accuracy"

querystring = {"mediaType":"ENTITY"}

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

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

print(response.json())
```

```javascript
const url = 'https://api.aventure.vc/v1/media/logo-accuracy?mediaType=ENTITY';
const options = {method: 'POST', 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/media/logo-accuracy?mediaType=ENTITY"

	req, _ := http.NewRequest("POST", 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/media/logo-accuracy?mediaType=ENTITY")

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

request = Net::HTTP::Post.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.post("https://api.aventure.vc/v1/media/logo-accuracy?mediaType=ENTITY")
  .header("X-Client-Secret", "<apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.aventure.vc/v1/media/logo-accuracy?mediaType=ENTITY', [
  'headers' => [
    'X-Client-Secret' => '<apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.aventure.vc/v1/media/logo-accuracy?mediaType=ENTITY");
var request = new RestRequest(Method.POST);
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/media/logo-accuracy?mediaType=ENTITY")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
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()
```