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

# List URL surface misclassification rules

GET https://api.aventure.vc/v1/entities/urls/surface-misclassifications

Returns URL shapes whose attempted write surface is deterministically wrong. Consumers route these before writing; news/press articles belong on News.newsUrlOriginal via news create, not EntityUrl.urlType=website.

Reference: https://docs.aventure.vc/api-reference/a-venture-api/url-links/url-surface-misclassifications

## Authentication

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

## Response

### 200

OK

- `assetExtension` (list of string, required) — Binary asset file extensions (no leading dot) — an asset is not a web page.
- `newsArticleHost` (list of string, required) — Pure news/press-wire hosts. An article path on these is a news record, never a URL link; the outlet's own root stays a valid website.
- `parkingHost` (list of string, required) — Domain-marketplace / for-sale / parking hosts — the domain is unowned, never a URL.
- `route` (list of object, required) — Deterministic URL path routes whose canonical surface is not the attempted write surface.
  - `apiEndpoint` (string, required) — Canonical API endpoint or discovery endpoint.
  - `attemptedSurface` (list of string, required) — Attempted write surfaces this route rejects.
  - `cliCommand` (string, required) — Canonical aventure-cli guidance.
  - `correctSurface` (string, required) — Canonical aVenture write surface.
  - `deterministicUrlShape` (string, required) — Human-readable deterministic URL shape.
  - `exactPath` (list of string, required) — Exact path segments, when the whole path must match.
  - `hostSuffix` (string, required) — Host suffix matched against the submitted URL host.
  - `id` (string, required) — Stable YAML key for this route.
  - `pathPrefix` (list of string, required) — Required leading path segments.
  - `pathTemplate` (list of string, required) — Exact external-social permalink template. Literals match exactly, * matches one nonblank segment, and @* matches one @handle segment.
  - `additionalGuidance` (string, optional, nullable) — Additional routing guidance for agents and API clients.
  - `externalSocialPostPlatform` (enum, optional, nullable) — Publishing platform for an external-social permalink route.
    - Allowed values: `linkedin`, `xTwitter`, `facebook`, `tiktok`, `instagram`, `threads`, `other`
  - `requiredLastSegment` (string, optional, nullable) — Required final path segment, when applicable.
  - `requiredSegment` (string, optional, nullable) — Required path segment at any position, for shapes whose discriminating segment follows a variable owner handle.

## Examples

**Response**

```json
{
  "assetExtension": [
    "string"
  ],
  "newsArticleHost": [
    "string"
  ],
  "parkingHost": [
    "string"
  ],
  "route": [
    {
      "apiEndpoint": "string",
      "attemptedSurface": [
        "string"
      ],
      "cliCommand": "string",
      "correctSurface": "string",
      "deterministicUrlShape": "string",
      "exactPath": [
        "string"
      ],
      "hostSuffix": "string",
      "id": "string",
      "pathPrefix": [
        "string"
      ],
      "pathTemplate": [
        "string"
      ],
      "additionalGuidance": "string",
      "externalSocialPostPlatform": "linkedin",
      "requiredLastSegment": "string",
      "requiredSegment": "string"
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://api.aventure.vc/v1/entities/urls/surface-misclassifications"

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

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

print(response.json())
```

```javascript
const url = 'https://api.aventure.vc/v1/entities/urls/surface-misclassifications';
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/entities/urls/surface-misclassifications"

	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/entities/urls/surface-misclassifications")

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/entities/urls/surface-misclassifications")
  .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/entities/urls/surface-misclassifications', [
  'headers' => [
    'X-Client-Secret' => '<apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.aventure.vc/v1/entities/urls/surface-misclassifications");
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/entities/urls/surface-misclassifications")! 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()
```