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

# Bulk validation of multiple serialized Supply Chain Object strings.

POST https://api.pixalate.com/api/v2/sco/bulk/v
Content-Type: application/json

Checks that many serialized supply chain objects are well formed, without verifying the entities they declare. Send a JSON array in which each element carries a serialized SCO string as `sco`. The response contains a `results` array holding one outcome per submitted item, each with the same `status` and `reasons` fields the single-item endpoint returns.

Reference: https://docs.pixalate.com/api-reference/sco/validate-bulk

## Authentication

- `x-api-key` header (required) — Authentication and authorization is achieved by supplying your Pixalate provided API key in the header of the request. An API key may be obtained by signing up for an account on the [Pixalate developer website](https://developer.pixalate.com).

## Request

### Body (application/json)

This endpoint expects a list of ScoBulkVPostRequestBodyContentApplicationJsonSchemaItems.

- `list of ScoBulkVPostRequestBodyContentApplicationJsonSchemaItems`

## Response

### 200

Array of Validation Results.

- `results` (list of list of ValidateResponseItems, optional)

## Errors

### 400 Bad Request Error

Bad Request - Invalid parameters in request.

- `any`

### 401 Unauthorized Error

Unauthorized - Invalid API Key.

- `any`

## Types

### ScoBulkVPostRequestBodyContentApplicationJsonSchemaItems

- `sco` (string, required) — Serialized SCO string to be validated.

### ValidateResponseItems

- `status` (enum, optional) — Validation Status: - `valid`: The SCO is valid. - `invalid`: The SCO is invalid. - `error`: There was an error.
  - Allowed values: `valid`, `invalid`, `error`
- `reasons` (list of enum, optional)
  - Allowed values: `101`, `102`

## Examples

**Request**

```json
[
  {
    "sco": "1.0,1!ssp.example.com,1234,1,bid-request-id-1,ExampleSSP,ssp.example.com"
  }
]
```

**Response**

```json
{
  "results": [
    [
      {
        "status": "valid",
        "reasons": [
          101
        ]
      }
    ]
  ]
}
```

**SDK Code**

```python
import requests

url = "https://api.pixalate.com/api/v2/sco/bulk/v"

payload = [{ "sco": "1.0,1!ssp.example.com,1234,1,bid-request-id-1,ExampleSSP,ssp.example.com" }]
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript
const url = 'https://api.pixalate.com/api/v2/sco/bulk/v';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '[{"sco":"1.0,1!ssp.example.com,1234,1,bid-request-id-1,ExampleSSP,ssp.example.com"}]'
};

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.pixalate.com/api/v2/sco/bulk/v"

	payload := strings.NewReader("[\n  {\n    \"sco\": \"1.0,1!ssp.example.com,1234,1,bid-request-id-1,ExampleSSP,ssp.example.com\"\n  }\n]")

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

	req.Header.Add("x-api-key", "<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.pixalate.com/api/v2/sco/bulk/v")

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

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "[\n  {\n    \"sco\": \"1.0,1!ssp.example.com,1234,1,bid-request-id-1,ExampleSSP,ssp.example.com\"\n  }\n]"

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.pixalate.com/api/v2/sco/bulk/v")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("[\n  {\n    \"sco\": \"1.0,1!ssp.example.com,1234,1,bid-request-id-1,ExampleSSP,ssp.example.com\"\n  }\n]")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.pixalate.com/api/v2/sco/bulk/v', [
  'body' => '[
  {
    "sco": "1.0,1!ssp.example.com,1234,1,bid-request-id-1,ExampleSSP,ssp.example.com"
  }
]',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.pixalate.com/api/v2/sco/bulk/v");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "[\n  {\n    \"sco\": \"1.0,1!ssp.example.com,1234,1,bid-request-id-1,ExampleSSP,ssp.example.com\"\n  }\n]", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [["sco": "1.0,1!ssp.example.com,1234,1,bid-request-id-1,ExampleSSP,ssp.example.com"]] as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.pixalate.com/api/v2/sco/bulk/v")! 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()
```