Embedding vector similarity
Compare one query embedding with up to 5,000 candidate embeddings (plain arrays or {id, vector} objects, any model, same dimensions) and get them ranked by cosine similarity (default), dot product or euclidean distance, with top_k and an optional min_score cut-off. Also reports the query norm and whether vectors are unit-normalized. Use it for semantic search, RAG re-ranking, dedupe or clustering without running a vector database. Pure function.
Part of agents.204-168-199-108.sslip.io · 286 endpoints · See the whole service
The wallet the 402 directs payment to. Its full payment record is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service; most of the catalog is unregistered.
Recent payments · which agents last used it
Every indexed settlement paid to this service’s wallet, newest first. The index does not record which endpoint a payment was for, so if this wallet serves more than one endpoint, the rows include payments for the others. Paged up to the newest 5,000; the full history is on the merchant page.
Accepts
The payment requirements as published to the catalog. Read the live 402 before paying: a price here is a claim, not a quote.
Pay 0.001 USDC on Base to 0x0418…b2ee6. The signed payment is good for 2 minutes.
- Paid to
- 0x0418…b2ee6
- USD Coin contract
- 0x8335…02913
- Payment window
- 2 minutes
- As published
- 1000 smallest units
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 0x0418…b2ee6
- Token contract
- 0x3c49…c3359
- Payment window
- 2 minutes
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- BYkPYx…vUEAN
- Token contract
- EPjFWd…TDt1v
- Payment window
- 2 minutes
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- urn:x4…quote
- Token contract
- iso4217:USD
- Payment window
- 5 minutes
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x041844775d4411aa971da034b30ff15db9fb2ee6",
"amount": "1000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 120
},
{
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x041844775d4411aa971da034b30ff15db9fb2ee6",
"amount": "1000",
"scheme": "exact",
"network": "eip155:137",
"maxTimeoutSeconds": 120
},
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"feePayer": "BENrLoUbndxoNMUS5JXApGMtNykLjFXXixMtpDwDR9SP",
"transactionVersions": [
0,
1
]
},
"payTo": "BYkPYxzibHMQuvJcAMrKFe1FwnkuKcZr4tN8s4dvUEAN",
"amount": "1000",
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"maxTimeoutSeconds": 120
},
{
"asset": "iso4217:USD",
"extra": {
"reference": "/v1/util/vector-similarity",
"dimensions": {
"calls": 1
},
"quoteToken": "eyJhbGciOiJFUzM4NCIsImtpZCI6ImFkaC1lNjA0MDA0YzM0ZGIiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FnZW50cy4yMDQtMTY4LTE5OS0xMDguc3NsaXAuaW8iLCJhdWQiOiJhd3M6bWFya2V0cGxhY2UiLCJpYXQiOjE3OTYwODM4MzIsImV4cCI6MTc5NjA4NDEzMiwianRpIjoiM2E1OTlmM2UtM2RiNy00YmM1LWEzMmItMzJjN2Q5ODA4NmEyIiwicHJpY2UiOnsiYW1vdW50IjoiMC4wMDEiLCJjdXJyZW5jeSI6IlVTRCJ9LCJzY2hlbWUiOiJleGFjdCIsIm5ldHdvcmsiOiJhd3M6YmFzZSIsInBheVRvIjoicHJvZC1hc2Nrb3R6cGlldG42IiwicmVmZXJlbmNlIjoiL3YxL3V0aWwvdmVjdG9yLXNpbWlsYXJpdHkiLCJzZXR0bGVtZW50Ijp7InByb2R1Y3RfaWQiOiJwcm9kLWFzY2tvdHpwaWV0bjYifSwiZGVzY3JpcHRpb24iOiJFbWJlZGRpbmcgc2ltaWxhcml0eTogY29zaW5lIC8gZG90IC8gZXVjbGlkZWFuLCB0b3AtayBuZWFyZXN0IHZlY3RvcnMiLCJkaW1lbnNpb25zIjp7ImNhbGxzIjoxfX0._FOsTbcHcB8xqgkTK_mD6EDhrC570L3NqM2XZ3An4nEDQEn98-2oAG5lB45Cs_TroPnm2MhbNl9VuPi7KmnsqpguYraGLmjRaNSlT61cQ7-l1FN8UCfd3d9xaGiC-MO4",
"description": "Embedding similarity: cosine / dot / euclidean, top-k nearest vectors"
},
"payTo": "urn:x402:agentic-commerce:see-quote",
"amount": "0.001",
"scheme": "exact",
"network": "aws:base",
"maxTimeoutSeconds": 300
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"query": "[0.1,0.3,0.5,0.1]",
"top_k": "2",
"candidates": "[{\"id\":\"refund-policy\",\"vector\":[0.09,0.31,0.48,0.12]},{\"id\":\"shipping\",\"vector\":[0.5,0.1,0.05,0.4]},{\"id\":\"pricing\",\"vector\":[0.2,0.25,0.4,0.3]}]"
}
},
"output": {
"type": "json",
"example": {
"note": "Cosine 1 = same direction, 0 = unrelated, -1 = opposite.",
"metric": "cosine",
"results": [
{
"id": "refund-policy",
"rank": 1,
"score": 0.99871
},
{
"id": "pricing",
"rank": 2,
"score": 0.912331
}
],
"returned": 2,
"candidates": 3,
"dimensions": 4,
"query_norm": 0.6,
"query_is_normalized": false
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method"
],
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"type": "object",
"required": [
"query",
"candidates"
],
"properties": {
"query": {
"type": "string",
"description": "Query vector as a JSON array of numbers"
},
"top_k": {
"type": "string",
"description": "How many results (default 10)"
},
"metric": {
"type": "string",
"description": "cosine (default), dot or euclidean"
},
"min_score": {
"type": "string",
"description": "Optional score threshold (max distance for euclidean)"
},
"candidates": {
"type": "string",
"description": "JSON array of vectors or {id, vector} objects (max 5,000)"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-12-01 00:10Z
- Last indexed by Roundhouse
- 2026-12-02 21:40Z
- Last enriched (probe, favicon, geo)
- –
- x402 version
- 2
- Max timeout
- 120s
- Liveness probe
- Not probed
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent: it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
No per-endpoint history for this service yet, so this is payments indexed to its PROVIDER's wallet over 30 days. Verified volume counts only settlements relayed by a known x402 facilitator.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service Embedding vector similarity and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Embedding%20vector%20similarity' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://agents.204-168-199-108.sslip.io/v1/util/vector-similarity, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.