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

# Compare observed provider footprints

GET http://127.0.0.1:8787/api/v1/technologies/compare

Requires an authenticated workspace. API keys require read scope and pro entitlement.

Reference: https://mediacontext.dev/docs/developers/api-reference/technologies/compare-provider-footprints-v-1

## Authentication

- `X-Api-Key` header (required) — mck_ key; explicit key takes precedence over session. Read/export scopes, no writes.
- `Authorization` header (bearer token, required) — Clerk session with an active mapped organization and current membership

## Request

### Query parameters

- `category` (string, optional, default: sales_house)
- `provider` (list of string, required)

## Response

### 200

Success

- `data` (PublicProviderComparisonData, required)
- `meta` (PublicProviderComparisonMeta, required)

## Errors

### 400 Bad Request Error

Invalid request

- `error` (HttpErrorError, required)
- `issues` (any, optional)

### 401 Unauthorized Error

Missing or invalid authentication

- `error` (HttpErrorError, required)
- `issues` (any, optional)

### 403 Forbidden Error

Insufficient scope, membership or entitlement

- `error` (HttpErrorError, required)
- `issues` (any, optional)

### 404 Not Found Error

Resource not found in accessible scope

- `error` (HttpErrorError, required)
- `issues` (any, optional)

### 409 Conflict Error

Revision conflict; reload the resource before retrying

- `error` (HttpErrorError, required)
- `issues` (any, optional)

### 429 Too Many Requests Error

Rate or quota limit exceeded

- `error` (HttpErrorError, required)
- `issues` (any, optional)

### 500 Internal Server Error

Internal server error

- `error` (HttpErrorError, required)
- `issues` (any, optional)

### 503 Service Unavailable Error

Required source or service unavailable

- `error` (HttpErrorError, required)
- `issues` (any, optional)

## Types

### PublicProviderComparisonData

- `category` (string, required)
- `universe` (integer, required)
- `measured` (integer, required)
- `providers` (list of PublicProviderComparisonDataProvidersItems, required)
- `overlap` (PublicProviderComparisonDataOverlap, required, nullable)

### PublicProviderComparisonMeta

- `datasetId` (string, required, nullable)
- `observedAt` (datetime, required, nullable)
- `freshness` ("unknown", required) — Freshness is not certified for this response; timestamps are evidence, not a freshness guarantee
- `warnings` (list of string, required)

### HttpErrorError

- string
- HttpErrorError1

### PublicProviderComparisonDataProvidersItems

- `name` (string, required)
- `publisherCount` (integer, required)
- `domains` (list of string, required)
- `truncated` (boolean, required)

### PublicProviderComparisonDataOverlap

- `shared` (integer, required)
- `firstOnly` (integer, required)
- `secondOnly` (integer, required)
- `domains` (list of string, required)
- `truncated` (boolean, required)

### HttpErrorError1

- `code` (string, required)
- `message` (string, required)
- `details` (any, optional)
- `requestId` (string, optional)

## Examples

**Response**

```json
{
  "data": {
    "category": "string",
    "universe": 1,
    "measured": 1,
    "providers": [
      {
        "name": "string",
        "publisherCount": 1,
        "domains": [
          "string"
        ],
        "truncated": true
      }
    ],
    "overlap": {
      "shared": 1,
      "firstOnly": 1,
      "secondOnly": 1,
      "domains": [
        "string"
      ],
      "truncated": true
    }
  },
  "meta": {
    "datasetId": "string",
    "observedAt": "2024-01-15T09:30:00Z",
    "freshness": "string",
    "warnings": [
      "string"
    ]
  }
}
```

**SDK Code**

```python
import requests

url = "http://127.0.0.1:8787/api/v1/technologies/compare"

querystring = {"provider":"[\"string\"]"}

headers = {"X-Api-Key": "<apiKey>"}

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

print(response.json())
```

```javascript
const url = 'http://127.0.0.1:8787/api/v1/technologies/compare?provider=%5B%22string%22%5D';
const options = {method: 'GET', headers: {'X-Api-Key': '<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 := "http://127.0.0.1:8787/api/v1/technologies/compare?provider=%5B%22string%22%5D"

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

	req.Header.Add("X-Api-Key", "<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("http://127.0.0.1:8787/api/v1/technologies/compare?provider=%5B%22string%22%5D")

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

request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<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("http://127.0.0.1:8787/api/v1/technologies/compare?provider=%5B%22string%22%5D")
  .header("X-Api-Key", "<apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'http://127.0.0.1:8787/api/v1/technologies/compare?provider=%5B%22string%22%5D', [
  'headers' => [
    'X-Api-Key' => '<apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("http://127.0.0.1:8787/api/v1/technologies/compare?provider=%5B%22string%22%5D");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Api-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-Api-Key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "http://127.0.0.1:8787/api/v1/technologies/compare?provider=%5B%22string%22%5D")! 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()
```