# Siliq ECDH-PSI Simple Intersect

> Siliq ECDH-PSI Simple Intersect is a paid API for AI agents from compute.siliq.io, paid per call via x402, $0.02/call, status down (last checked 2026-09-15).

Computes the intersection of two sets using ECDH-based Private Set Intersection (PSI), revealing only common elements without exposing the full contents of either set.

## Facts

- Endpoint: POST https://compute.siliq.io/psi/intersect/simple
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/compute-siliq-io-f5759e39
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KTB_0LWBnVuiKC58ju7dA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability compute-siliq-io-f5759e39 -d '<json body>'
```

Example prompt: I have two lists of customer email hashes — mine and a partner's — and I need to find which ones appear in both lists without either of us seeing the other's full list. Can you run a private set intersection using ECDH-PSI on these two sets?

## When to prefer this

Use this endpoint when two parties need to find common elements in their respective datasets without revealing non-matching items to each other — ideal for privacy-preserving record linkage, secure data matching, or any scenario requiring set overlap computation under confidentiality constraints. Prefer over plaintext set comparison whenever data sensitivity or contractual privacy obligations are involved.

## Known failure modes

- Mismatched element encoding between the two sets resulting in empty intersection
- Malformed or non-hashed inputs causing a 400 error
- Sets too large causing timeout or resource limits
- Invalid or missing set parameters returning a 422 validation error
- Network or payment (x402) authorization failure

## Output

Returns the set of elements that appear in both input sets (the intersection), computed via ECDH-based PSI protocol. Only matching elements are revealed; non-matching elements from either party remain private.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/compute-siliq-io-f5759e39/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from compute.siliq.io](https://www.zero.xyz/host/compute.siliq.io/llms.txt)
