A vector embedding of the text you send
embed.gedx402.com/v1/embed/:model
A vector embedding of the text you send. POST one text string; billed by input volume. Identical POSTs within 300s may return cached JSON (X-GED-Cache: hit).
POST
https://embed.gedx402.com/v1/embed/:modelUptime100% 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://embed.gedx402.com/v1/embed/:model", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"text":"GEDX402 embeddings for RAG and semantic search."}),
});
console.log(await res.json());Example input
{
"text": "GEDX402 embeddings for RAG and semantic search."
}More from GEDX402 KnowledgeProvider status
- embed.gedx402.com/v1/embedA vector embedding of the text you send. POST one text string; billed by input volume. Identical POSTs within 300s may return cached JSON (X-GED-Cache: hit).0.0073
- embed.gedx402.com/v1/rerankRelevance scores for your candidate passages against a query. POST { query, contexts: [{ text }], top_k? } on embed.gedx402.com. Returns response[] of { index, score } sorted by relevance for search and RAG. Example: { query: "vector search", contexts: [{ text: "Embeddings store meaning." }], top_k: 2 } → [{ index: 0, score: 0.92 }].0.0027
- embed.gedx402.com/v1/sentimentClassify sentiment (positive/negative) with DistilBERT. POST text; returns label and confidence score. Fixed low per-request price.0.0075
- embed.gedx402.com/v1/summarizeA short summary of the text you send. POST input text; returns a concise summary. Price scales with input and output length.0.004
- embed.gedx402.com/v1/translateM2M100 machine translation — one x402 payment on embed.gedx402.com. POST { text, source_lang, target_lang } → { translated_text }; wire settlement USDC per request (see npm run pricing:report) worst-case. Hero: GET /heroes/translate. Competitive discovery alongside embed ping; not in the five-step AOV ladder.0.004
- embed.gedx402.com/v1/translate/indicTranslated text for the string you send. POST source text and target language; returns translated_text with dynamic token pricing.0.0058
