{
  "x402Version": 2,
  "id": 29577,
  "slug": "29577",
  "resource": "https://netintel.dev/semantic/rank",
  "description": "Semantic similarity ranking — send a query plus up to 100 candidate texts, get the candidates back ranked by semantic similarity with scores. No vectors, no cosine math, no embedding model to manage: one call, one price, ranked results. Flat $0.02 per call in USDC via x402, no API key. For RAG retrieval, FAQ matching, and search result ordering.",
  "type": "http",
  "serviceName": "NetIntel",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784214098/bazaar-icons/7d2bf437631b2e4e.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "dimensions": {
            "type": "number"
          },
          "method": {
            "description": "Always 'embedding_similarity'",
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "normalized": {
            "type": "boolean"
          },
          "provider": {
            "type": "string"
          },
          "results": {
            "description": "Ranked best-first: [{index (original position), score, text}]",
            "type": "array"
          },
          "usage": {
            "description": "prompt_tokens (input-only)",
            "type": "object"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "candidates": [
              "Use the Forgot Password link to recover your account.",
              "Refunds are accepted within 30 days.",
              "Our offices open at 9:00 AM."
            ],
            "query": "How do I reset my password?",
            "top_k": 2
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "dimensions": 1536,
            "method": "embedding_similarity",
            "model": "text-embedding-3-small",
            "normalized": true,
            "provider": "openai",
            "results": [
              {
                "index": 0,
                "score": 0.5361,
                "text": "Use the Forgot Password link to recover your account."
              },
              {
                "index": 1,
                "score": 0.1399,
                "text": "Refunds are accepted within 30 days."
              }
            ],
            "usage": {
              "prompt_tokens": 36
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "candidates": {
                    "description": "1-100 candidate strings to rank (64000 chars total on the default model).",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "min_score": {
                    "description": "Drop results scoring below this (-1 to 1). Optional.",
                    "type": "number"
                  },
                  "model": {
                    "description": "text-embedding-3-small (default) or text-embedding-3-large",
                    "type": "string"
                  },
                  "query": {
                    "description": "The text to rank candidates against.",
                    "type": "string"
                  },
                  "top_k": {
                    "description": "Return only the best N results. Optional.",
                    "type": "number"
                  }
                },
                "required": [
                  "query",
                  "candidates"
                ],
                "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": {
                  "dimensions": {
                    "type": "number"
                  },
                  "method": {
                    "description": "Always 'embedding_similarity'",
                    "type": "string"
                  },
                  "model": {
                    "type": "string"
                  },
                  "normalized": {
                    "type": "boolean"
                  },
                  "provider": {
                    "type": "string"
                  },
                  "results": {
                    "description": "Ranked best-first: [{index (original position), score, text}]",
                    "type": "array"
                  },
                  "usage": {
                    "description": "prompt_tokens (input-only)",
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "semantic search",
    "rank",
    "similarity",
    "rag",
    "no api key",
    "bazaar"
  ],
  "sourceHost": "netintel.dev",
  "lastUpdated": "2026-10-08T06:08:33.811Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:08:33.623Z"
  },
  "metadata": {
    "serviceName": "NetIntel",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784214098/bazaar-icons/7d2bf437631b2e4e.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "candidates": [
                "Use the Forgot Password link to recover your account.",
                "Refunds are accepted within 30 days.",
                "Our offices open at 9:00 AM."
              ],
              "query": "How do I reset my password?",
              "top_k": 2
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "dimensions": 1536,
              "method": "embedding_similarity",
              "model": "text-embedding-3-small",
              "normalized": true,
              "provider": "openai",
              "results": [
                {
                  "index": 0,
                  "score": 0.5361,
                  "text": "Use the Forgot Password link to recover your account."
                },
                {
                  "index": 1,
                  "score": 0.1399,
                  "text": "Refunds are accepted within 30 days."
                }
              ],
              "usage": {
                "prompt_tokens": 36
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "candidates": {
                      "description": "1-100 candidate strings to rank (64000 chars total on the default model).",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "min_score": {
                      "description": "Drop results scoring below this (-1 to 1). Optional.",
                      "type": "number"
                    },
                    "model": {
                      "description": "text-embedding-3-small (default) or text-embedding-3-large",
                      "type": "string"
                    },
                    "query": {
                      "description": "The text to rank candidates against.",
                      "type": "string"
                    },
                    "top_k": {
                      "description": "Return only the best N results. Optional.",
                      "type": "number"
                    }
                  },
                  "required": [
                    "query",
                    "candidates"
                  ],
                  "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": {
                    "dimensions": {
                      "type": "number"
                    },
                    "method": {
                      "description": "Always 'embedding_similarity'",
                      "type": "string"
                    },
                    "model": {
                      "type": "string"
                    },
                    "normalized": {
                      "type": "boolean"
                    },
                    "provider": {
                      "type": "string"
                    },
                    "results": {
                      "description": "Ranked best-first: [{index (original position), score, text}]",
                      "type": "array"
                    },
                    "usage": {
                      "description": "prompt_tokens (input-only)",
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "netintel.dev",
    "manifest_name": "netintel.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": {
    "dimensions": 1536,
    "method": "embedding_similarity",
    "model": "text-embedding-3-small",
    "normalized": true,
    "provider": "openai",
    "results": [
      {
        "index": 0,
        "score": 0.5361,
        "text": "Use the Forgot Password link to recover your account."
      },
      {
        "index": 1,
        "score": 0.1399,
        "text": "Refunds are accepted within 30 days."
      }
    ],
    "usage": {
      "prompt_tokens": 36
    }
  }
}