Api Endpoint

Pocket Network

Text and embedding similarity scoring: cosine match and dedupe decisions at fixed model precision. POST /v1/semantic with {text_a, text_b} and get a similarity score as one JSON object. Deterministic. Pay per request in USDC; no account, no API key.

Open interactive test console

Offering

Provider
agent.pocket.network
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Data
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agent.pocket.network/v1/semantic-similarity
MIME type
application/json
First seen
2026-10-16T01:50:19.913Z
Last seen
Tags
AI, semantic-similarity, rest, sentence-similarity

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0xF732ea490c5766071785a2310523f7fA2CEbB829"
  }
]

Observed health

Status
Reachable
Latest latency
414 ms
Average latency
904 ms
HTTP status
405
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "description": "Two texts to compare.",
      "properties": {
        "text_a": {
          "type": "string",
          "description": "First text."
        },
        "text_b": {
          "type": "string",
          "description": "Second text."
        }
      },
      "required": [
        "text_a",
        "text_b"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "portal": {
          "type": "object",
          "properties": {
            "provenance": {
              "const": "third-party-supplier"
            },
            "serviceId": {
              "const": "semantic-similarity"
            },
            "schemaCheck": {
              "enum": [
                "passed",
                "undeclared",
                "unchecked"
              ]
            }
          },
          "required": [
            "provenance",
            "serviceId",
            "schemaCheck"
          ]
        },
        "data": {
          "type": "object",
          "description": "For POST /v1/semantic, a JSON object with a `similarity` score. The exact shape is the service's own and is not pinned here; errors return a JSON object with an `error` field, and the GET routes return their own small JSON documents."
        }
      },
      "required": [
        "portal",
        "data"
      ]
    }
  },
  "required": [
    "type"
  ]
}