api.delx.ai/api/v1/x402/semantic-similarity-embed
Generate text embeddings (384-dimension BGE vectors) and a pairwise cosine similarity matrix for up to 8 English texts at $0.003 USDC via x402 on Base or Solana. Built for AI agents running semantic search, RAG retrieval, clustering, and deduplication locally without an external embedding key; bounded to 8 texts (2,048 chars / 256 tokens each, truncation reported), no subscription.
POST
https://api.delx.ai/api/v1/x402/semantic-similarity-embedUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.delx.ai/api/v1/x402/semantic-similarity-embed", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"texts":["A green apple is on the table."]}),
});
console.log(await res.json());Example input
{
"texts": [
"A green apple is on the table."
]
}