{
  "x402Version": 2,
  "id": 35920,
  "slug": "35920",
  "resource": "https://tanod.dev/v1/similarity",
  "description": "mlpeek (Tanod) semantic similarity of text pairs (cosine of embeddings). USD 0.0005 per pair, at least USD 0.001 per call (1-50 pairs per call: USD 0.001-0.025). This call: 1 pair.",
  "type": "http",
  "serviceName": "Tanod mlpeek",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "max_tokens_per_text": {
            "type": "integer"
          },
          "metric": {
            "type": "string"
          },
          "model": {
            "properties": {
              "alias": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "license": {
                "type": "string"
              },
              "revision": {
                "type": "string"
              },
              "source": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "source",
              "license"
            ],
            "type": "object"
          },
          "results": {
            "items": {
              "properties": {
                "index": {
                  "type": "integer"
                },
                "similarity": {
                  "type": "number"
                },
                "tokens": {
                  "items": {
                    "type": "integer"
                  },
                  "type": "array"
                },
                "truncated": {
                  "type": "boolean"
                }
              },
              "required": [
                "index",
                "similarity"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "similarity": {
            "type": "number"
          },
          "usage": {
            "type": "object"
          }
        },
        "required": [
          "model",
          "results"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "a": "How do I reset my password?",
            "b": "I forgot my password, how can I change it?"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "max_tokens_per_text": 512,
            "metric": "cosine",
            "model": {
              "alias": "small-en",
              "id": "bge-small-en-v1.5",
              "license": "MIT",
              "revision": "5c38ec7c405ec4b44b94cc5a9bb96e735b38267a",
              "source": "BAAI/bge-small-en-v1.5"
            },
            "results": [
              {
                "index": 0,
                "similarity": 0.913619,
                "tokens": [
                  9,
                  13
                ],
                "truncated": false
              }
            ],
            "similarity": 0.913619,
            "usage": {
              "pairs": 1,
              "tokens": 22,
              "truncated": 0
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "a": {
                    "anyOf": [
                      {
                        "maxLength": 4000,
                        "minLength": 1,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "First text of a single pair (at most 4,000 characters)."
                  },
                  "b": {
                    "anyOf": [
                      {
                        "maxLength": 4000,
                        "minLength": 1,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Second text of a single pair."
                  },
                  "model": {
                    "default": "small-en",
                    "description": "small-en (English) or multilingual.",
                    "enum": [
                      "small-en",
                      "multilingual"
                    ],
                    "type": "string"
                  },
                  "pairs": {
                    "anyOf": [
                      {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "a": {
                              "maxLength": 4000,
                              "minLength": 1,
                              "type": "string"
                            },
                            "b": {
                              "maxLength": 4000,
                              "minLength": 1,
                              "type": "string"
                            }
                          },
                          "required": [
                            "a",
                            "b"
                          ],
                          "type": "object"
                        },
                        "maxItems": 50,
                        "minItems": 1,
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Alternative to a / b: 1-50 {a, b} pairs. Priced per pair, minimum USD 0.001 per call."
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "max_tokens_per_text": {
                    "type": "integer"
                  },
                  "metric": {
                    "type": "string"
                  },
                  "model": {
                    "properties": {
                      "alias": {
                        "type": "string"
                      },
                      "id": {
                        "type": "string"
                      },
                      "license": {
                        "type": "string"
                      },
                      "revision": {
                        "type": "string"
                      },
                      "source": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "source",
                      "license"
                    ],
                    "type": "object"
                  },
                  "results": {
                    "items": {
                      "properties": {
                        "index": {
                          "type": "integer"
                        },
                        "similarity": {
                          "type": "number"
                        },
                        "tokens": {
                          "items": {
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        "truncated": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "index",
                        "similarity"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "similarity": {
                    "type": "number"
                  },
                  "usage": {
                    "type": "object"
                  }
                },
                "required": [
                  "model",
                  "results"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_h7pxv14u"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "mlpeek",
    "embeddings",
    "rerank",
    "ner",
    "zero-shot",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "tanod.dev",
  "lastUpdated": "2026-10-08T22:46:02.993Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T22:46:02.561Z"
  },
  "metadata": {
    "serviceName": "Tanod mlpeek",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "a": "How do I reset my password?",
              "b": "I forgot my password, how can I change it?"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "max_tokens_per_text": 512,
              "metric": "cosine",
              "model": {
                "alias": "small-en",
                "id": "bge-small-en-v1.5",
                "license": "MIT",
                "revision": "5c38ec7c405ec4b44b94cc5a9bb96e735b38267a",
                "source": "BAAI/bge-small-en-v1.5"
              },
              "results": [
                {
                  "index": 0,
                  "similarity": 0.913619,
                  "tokens": [
                    9,
                    13
                  ],
                  "truncated": false
                }
              ],
              "similarity": 0.913619,
              "usage": {
                "pairs": 1,
                "tokens": 22,
                "truncated": 0
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "a": {
                      "anyOf": [
                        {
                          "maxLength": 4000,
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "First text of a single pair (at most 4,000 characters)."
                    },
                    "b": {
                      "anyOf": [
                        {
                          "maxLength": 4000,
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Second text of a single pair."
                    },
                    "model": {
                      "default": "small-en",
                      "description": "small-en (English) or multilingual.",
                      "enum": [
                        "small-en",
                        "multilingual"
                      ],
                      "type": "string"
                    },
                    "pairs": {
                      "anyOf": [
                        {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "a": {
                                "maxLength": 4000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "b": {
                                "maxLength": 4000,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "a",
                              "b"
                            ],
                            "type": "object"
                          },
                          "maxItems": 50,
                          "minItems": 1,
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Alternative to a / b: 1-50 {a, b} pairs. Priced per pair, minimum USD 0.001 per call."
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "max_tokens_per_text": {
                      "type": "integer"
                    },
                    "metric": {
                      "type": "string"
                    },
                    "model": {
                      "properties": {
                        "alias": {
                          "type": "string"
                        },
                        "id": {
                          "type": "string"
                        },
                        "license": {
                          "type": "string"
                        },
                        "revision": {
                          "type": "string"
                        },
                        "source": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "source",
                        "license"
                      ],
                      "type": "object"
                    },
                    "results": {
                      "items": {
                        "properties": {
                          "index": {
                            "type": "integer"
                          },
                          "similarity": {
                            "type": "number"
                          },
                          "tokens": {
                            "items": {
                              "type": "integer"
                            },
                            "type": "array"
                          },
                          "truncated": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "index",
                          "similarity"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "similarity": {
                      "type": "number"
                    },
                    "usage": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "model",
                    "results"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_h7pxv14u"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "tanod.dev",
    "manifest_name": "tanod.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "max_tokens_per_text": 0,
      "metric": "string",
      "model": {
        "alias": "string",
        "id": "string",
        "license": "string",
        "revision": "string",
        "source": "string"
      },
      "results": [
        {
          "index": 0,
          "similarity": 0,
          "tokens": [
            0
          ],
          "truncated": true
        }
      ],
      "similarity": 0,
      "usage": {}
    },
    "type": "string"
  }
}